# what is the gabor filter, and what are its main uses

I'm doing a research on Gabor filter, but when I Googled it, I had very long and complicated articles. Can anyone help me to find a simple explanation about it, or recommend a website or article to read? I want to understand this filter in order to use it in Matlab.

-
I just wanted to know how certain parameters like aspect ratio, bandwidth etc effect the outcome of applying a gabor filter to any image for segmentation – vini Apr 29 '12 at 14:28
I did my masters project in Gabor filters what do you want exactly? Do you want to concentrate on equations followed in Gabor or half peak magnitude contour of Gabor .i am doing research on this.add me I will help you. – user3827 Feb 20 '13 at 19:57
Can I add u? @user3827 – freak_warrior Dec 9 '13 at 15:22

Gabor filters are orientation-sensitive filters, used for texture analysis.

The typically travel in packs, one for each direction. A gabor filter set with a given direction gives a strong response for locations of the target images that have structures in this given direction. For instance, if your target image is made of a periodic grating in a diagonal direction, a gabor filter set will give you a strong response only if its direction matches the one of the grating.

I know it is used a lot in character recognition and fingerprint enhancement. I (try to) use it in bio-medical imaging to characterizes the main orientation in fibril structures.

Here is a very good tutorial by Javier Movellan, pdf

And if you can read french, here is pdf on the creation of filter banks by Adrien Marion

-
I just saw this, and cant help but think it might be applicable to this problem ? For that problem I can look at the spectrogram as an image - how would you say this 'orientation sensitive' filter would be applicable? – Mohammad Mar 2 '12 at 17:56
@Mohammad: I honestly don't know. For the pb you are mentioning, working in the F x T domain as you did, and maybe segment spots and count how many you have. – Jean-Yves Mar 2 '12 at 19:02
remark: Gabor filters don't have to be orientation-sensitive. there are degenerate cases that are not. – thang Feb 22 '13 at 14:08
they are also used in your retina, apparently. – endolith May 6 '13 at 13:39

It is an edge detector. It just applies the Gabor Transform. The Gabor filter is basically a Gaussian (with variances sx and sy along x and y-axes respectively) modulated by a complex sinusoid (with centre frequencies U and V along x and y-axes respectively). See an example here.

-
This is interesting... I am surprised I have not heard of gabor transform before - how is it different or more advantageous than the hilbert transformer however? You say edge-detector, so if I have a sudden sharp increase in energy, this filter can be used to beat down noise but simultaneously preserve the edge?... – Mohammad Mar 2 '12 at 17:57
remark: this is also not strictly true. you've limited your set to only separable Gabor filters. in fact, the Gaussian envelop does not have to have variance along x and y-axes. the major and minor axes can be tilted. – thang Feb 22 '13 at 14:14

A Gabor filter is some parametrization of the idea of edges. This combines two somewhat contradictory ideas: an abrupt transition AND some fuzzy idea of where it is localized.

It is mathematically a clever idea as it translates well in the Fourier domain: the Fourier transform of a Gabor is a Gaussian in Fourier space, and a Gaussian blob is the most neutral guess of something blurry you can make (think of throwing darts and looking at the patterns of hits).

As a consequence, when you use a Gabor, there is no 'right' formula: it all depends on what you want to detect/filter. In visual neuroscience, a popular choice is to chose a Gabor that corresponds in Fourier space to a blob on the logarithm of frequencies (as from the Weber law, we are sensitive to relative differences of frequencies). These are log-Gabor filters.

To understand Gabor filters, check first what filter parameterization would be best for your particular application.

-

## protected by Community♦May 6 '13 at 11:20

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?