Click or drag to resize

Cv2GetGaussianKernel Method

Returns Gaussian filter coefficients.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static Mat GetGaussianKernel(
	int ksize,
	double sigma,
	Nullable<MatType> ktype = null
)

Parameters

ksize
Type: SystemInt32
Aperture size. It should be odd and positive.
sigma
Type: SystemDouble
Gaussian standard deviation. If it is non-positive, it is computed from ksize as `sigma = 0.3*((ksize-1)*0.5 - 1) + 0.8`.
ktype (Optional)
Type: SystemNullableMatType
Type of filter coefficients. It can be CV_32F or CV_64F.

Return Value

Type: Mat

[Missing <returns> documentation for "M:OpenCvSharp.Cv2.GetGaussianKernel(System.Int32,System.Double,System.Nullable{OpenCvSharp.MatType})"]

See Also