Opencv getGaborKernel parameters for filter bank

How are the parameters of the opengv getGaborKernel function related to the orientation and scale parameters?

I assume theta is oriented, but what about the scale?

//! returns the Gabor core with the specified parameters CV_EXPORTS_W Mat getGaborKernel (size ksize, double sigma, double theta, double lambd, double gamma, double psi = CV_PI * 0.5, int ktype = CV_64F);

Here is an example of 5 scales and 8 orientations:

enter image description here

UPDATE:

I also found this parameter explanation: http://matlabserver.cs.rug.nl/edgedetectionweb/web/edgedetection_params.html

+6
source share
1 answer

Here are the parameter values:

  • ksize size of the returned filter.
  • sigma Standard deviation of the Gaussian shell.
  • theta Orientation of the normal to parallel stripes of the Gabor function.
  • lambda The wavelength of the sinusoidal factor.
  • gamma Spatial aspect ratio.
  • psi phase shift.
  • ktype Type of filter coefficients. It can be CV_32F or CV_64F .

The orientation can be changed to theta , and the scale to lambda . Here you have a good tutorial about What do the Gabor filter options mean? .

I also attach the image from the site above:

I have also attach the image from the site

Copyright Jürgen Müller

+14
source

All Articles