Method GetGaborKernel
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
GetGaborKernel(Size, double, double, double, double, double, int)
Returns Gabor filter coefficients.
public static Mat GetGaborKernel(Size ksize, double sigma, double theta, double lambd, double gamma, double psi, int ktype)
Parameters
ksizeSizeSize of the filter returned.
sigmadoubleStandard deviation of the gaussian envelope.
thetadoubleOrientation of the normal to the parallel stripes of a Gabor function.
lambddoubleWavelength of the sinusoidal factor.
gammadoubleSpatial aspect ratio.
psidoublePhase offset.
ktypeintType of filter coefficients. It can be CV_32F or CV_64F.
Returns
Remarks
For more details about gabor filter equations and parameters, see: https://en.wikipedia.org/wiki/Gabor_filter