File Exchange

image thumbnail

2D Gabor Wavelets

version 1.0 (982 Bytes) by

Create and show 2D Gabor Wavelets



No License

Function in GaborWavelet.m create a Gabor Wavelet kernel.

GaborExample.m show the Gabor wabeletskernel at five different scales and eight different oritations.

Comments and Ratings (15)


Wafaa (view profile)

Vafa Andalibi

How can I calculate the spatial frequency (Pixels/Cycle) in your code?
Thank you



Nam Vo Hoang

I found the answer of my previous question:

"The second term compensates for the dc-value of the kernel, to avoid unwanted dependence of the filter response on the absolute intensity of the image."
From "Distortion Invariant Object Recognition in the Dynamic Link Architecture"

Thanks for this submission.

I have a question about the equation used: why did you subtract 'exp ( -0.5 * Delt2 )' to the modulation component? I have never seen it before.


I have a problem about commenting gabor results.I want to classify the images into 4 groups.Firstly,I used GLCM method for extraction image texture.And then I gave it ANN,k-NN and SVM.Instead of GLCM,I want to use Gabor Wavelet results.When I applied the code an image I found 64*64 GT matrice for each image.So,could you let me know how I can give these result into classifier input?


rbg Gupta

i used on some images it's running end lessly please help me

Thien Tran

thank so much. It is very helpful to me!

PUST rahman

Very nice ! It works fine.
I have a question:
If I want to apply for Uh=.4, Ul=.04 for 64 by 64 mask size, then how can I modify the code? Moreover which paper/journal has been followed when implementing this, please mention also.

Thanks in advance.

It's simple, and it works.

liu xiaofeng

i think it is very good!

John D'Errico

Replicates now removed

MATLAB Release
MATLAB 7.4 (R2007a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video