<< cv_frame ComputerVision cv_gradient >>

ComputerVision >> ComputerVision > cv_gaussianfilter

cv_gaussianfilter

To provide Gaussian Filter

Calling Sequence

img_ret=cv_gaussianfilter(image,kernel_type,kernel_size,sigmaX,sigmaY)

Arguments

image

It is the input Image can be rgb or grayscale

kernel_type

It accepts Integer/Float as Input 1->MORPH_RECT 2-> MORPH_ELLIPSE 3-> MORPH_CROSS

kernel_size

It accepts a list as input specifying the size of Kernel needed example (5,5)

sigmaX

Gaussian kernel standard deviation in X direction.must be an integer

sigmaY

Gaussian kernel standard deviation in Y direction; if sigmaY is zero, it is set to be equal to sigmaX, if both sigmas are zeros, they are computed from kernel_size.width and kernel_size.height , respectively (see getGaussianKernel() for details); to fully control the result regardless of possible future modifications of all this semantics, it is recommended to specify all of kernel_size, sigmaX, and sigmaY

img_ret

returned Image after gaussian filter

Description

Gaussian Filter

In this function, instead of a box filter consisting of equal filter coefficients, a Gaussian kernel is used. It is done with the function,

Examples

img_ret=cv_gaussianfilter(input_image,1,[5,5],0,0);

See Also


Report an issue
<< cv_frame ComputerVision cv_gradient >>