Gabor-Filter

C++ code to generate gabor kernel and convolve it with an image.

Main file: MAIN.cpp

Libaries used:

  • OpenCV

execute.sh: The shell script shows the command which I used to compile MAIN.cpp

MAIN.cpp takes an image as input argument.

MAIN.cpp call generate_Gabor_Kernel function, which takes in following parameters:

  • imSize: Size of the gabor kernel
  • theta: orientation of the kernel
  • F: Amplitute of the carrier signal
  • sigX: Spread of the gaussian in x direction
  • sigY: Spread of the gaussian in y direction

Any suggestions or corrections are welcome.

Contact: saba_rish91@hotmail.com