MATLAB File Help: cv.GaussianBlur | Index |
Smoothes an image using a Gaussian filter
dst = cv.GaussianBlur(src)
dst = cv.GaussianBlur(src, 'OptionName',optionValue, ...)
uint8
, uint16
,
int16
, single
or double
.src
.KSize(1)
and KSize(2)
can differ
but they both must be positive and odd. Or, they can be zeros and they
are computed from SigmaX
and SigmaY
. default [5,5]SigmaY
is zero, it is set to be equal to SigmaX
. If both sigmas are zeros,
they are computed from KSize(2)
and KSize(1)
, respectively (see
cv.getGaussianKernel for details). To fully control the result
regardless of possible future modifications of all this semantics, it
is recommended to specify all of KSize
, SigmaX
, and SigmaY
.
default 0The function convolves the source image with the specified Gaussian kernel.