Click or drag to resize

Cv2GetGaborKernel Method

Returns Gabor filter coefficients.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static Mat GetGaborKernel(
	Size ksize,
	double sigma,
	double theta,
	double lambd,
	double gamma,
	double psi,
	int ktype
)

Parameters

ksize
Type: OpenCvSharpSize
Size of the filter returned.
sigma
Type: SystemDouble
Standard deviation of the gaussian envelope.
theta
Type: SystemDouble
Orientation of the normal to the parallel stripes of a Gabor function.
lambd
Type: SystemDouble
Wavelength of the sinusoidal factor.
gamma
Type: SystemDouble
Spatial aspect ratio.
psi
Type: SystemDouble
Phase offset.
ktype
Type: SystemInt32
Type of filter coefficients. It can be CV_32F or CV_64F.

Return Value

Type: Mat

[Missing <returns> documentation for "M:OpenCvSharp.Cv2.GetGaborKernel(OpenCvSharp.Size,System.Double,System.Double,System.Double,System.Double,System.Double,System.Int32)"]

Remarks
For more details about gabor filter equations and parameters, see: https://en.wikipedia.org/wiki/Gabor_filter
See Also