SwisTrack/Components/ColorBlur

From Wikibooks, open books for an open world
< SwisTrack‎ | Components
Jump to: navigation, search

Description[edit]

This component blurs a color image. It's expensive but reduces noise.

Input[edit]

SwisTrack ColorImage.jpg

A grayscale or a color image.


Parameters[edit]

Mode[edit]

The type of blur. This is from the openCV documentation:

       * CV_BLUR_NO_SCALE (simple blur with no scaling) - summation over a pixel param1×param2 neighborhood. 
         If the neighborhood size is not fixed, one may use cvIntegral function.
       * CV_BLUR (simple blur) - summation over a pixel param1×param2 neighborhood with subsequent scaling by 1/(param1•param2).
       * CV_GAUSSIAN (gaussian blur) - convolving image with param1×param2 Gaussian.
       * CV_MEDIAN (median blur) - finding median of param1×param1 neighborhood (i.e. the neighborhood is square).
       * CV_BILATERAL (bilateral filter) - applying bilateral 3x3 filtering with color sigma=param1 and space sigma=param2.

Radius[edit]

The size of the square to average over.