CvInvokeGaussianBlur Method |
http://www.emgu.com
Blurs an image using a Gaussian filter.
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax public static void GaussianBlur(
IInputArray src,
IOutputArray dst,
Size ksize,
double sigmaX,
double sigmaY = 0,
BorderType borderType = BorderType.Reflect101
)
Public Shared Sub GaussianBlur (
src As IInputArray,
dst As IOutputArray,
ksize As Size,
sigmaX As Double,
Optional sigmaY As Double = 0,
Optional borderType As BorderType = BorderType.Reflect101
)
public:
static void GaussianBlur(
IInputArray^ src,
IOutputArray^ dst,
Size ksize,
double sigmaX,
double sigmaY = 0,
BorderType borderType = BorderType::Reflect101
)
static member GaussianBlur :
src : IInputArray *
dst : IOutputArray *
ksize : Size *
sigmaX : float *
?sigmaY : float *
?borderType : BorderType
(* Defaults:
let _sigmaY = defaultArg sigmaY 0
let _borderType = defaultArg borderType BorderType.Reflect101
*)
-> unit
Parameters
- src
- Type: Emgu.CVIInputArray
input image; the image can have any number of channels, which are processed independently, but the depth should be CV_8U, CV_16U, CV_16S, CV_32F or CV_64F. - dst
- Type: Emgu.CVIOutputArray
output image of the same size and type as src. - ksize
- Type: System.DrawingSize
Gaussian kernel size. ksize.width and ksize.height can differ but they both must be positive and odd. Or, they can be zero’s and then they are computed from sigma* . - sigmaX
- Type: SystemDouble
Gaussian kernel standard deviation in X direction. - sigmaY (Optional)
- Type: SystemDouble
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 ksize.width and ksize.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 ksize, sigmaX, and sigmaY. - borderType (Optional)
- Type: Emgu.CV.CvEnumBorderType
Pixel extrapolation method
See Also