gaussianblurcv
Blur the image, handle, by applying a Gaussian filter.
Syntax
R = gaussianblurcv(handle, ksize, sigmax...)
R = gaussianblurcv(handle, ksize, sigmax, sigmay, bordertype)
Inputs
- handle
 - Handle of an image.
 - ksize
 - Vector of two natural numbers specifying the Gaussian kernel size. Either the elements must both be positive and odd numbers or they must both be 0 and sigmax must be greater than 0.
 - sigmax
 - Non-negative scalar specifying the Gaussian kernel standard deviation along the x-axis. If sigmax is 0, the elements of ksize must be positive and odd.
 - sigmay
 - Optional non-negative scalar specifying the Gaussian kernel standard deviation along the y-axis. Default value is 0.0.
 - bordertype
 - Optional parameter specifying border type of R.
            Default value is 4. Valid values are:
            
- 0
 - Type cv::BORDER_CONSTANT.
 - 1
 - Type cv::BORDER_REPLICATE
 - 2
 - Type cv::BORDER_REFLECT
 - 3
 - Type cv::BORDER_WRAP
 - 4
 - Type cv::BORDER_REFLECT_101 - default
 - 16
 - Type cv::BORDER_ISOLATED
 
 
Outputs
- R
 - Handle of the blurred image.
 
Examples
handle = imreadcv('image1.jpg');
R = gaussianblurcv(handle, [5 5], 0.0);
handle = imreadcv('image1.jpg');
R = gaussianblurcv(handle, [0 0], 3);