Code covered by the BSD License  

Highlights from
Improved 2D Gabor Filter

4.66667

4.7 | 3 ratings Rate this file 77 Downloads (last 30 days) File Size: 72.07 KB File ID: #13776
image thumbnail

Improved 2D Gabor Filter

by Stiven Schwanz Dias

 

26 Jan 2007 (Updated 02 Jun 2008)

Bi-dimensional Gabor filter with DC component compensation.

| Watch this File

File Information
Description

This version of the 2D Gabor filter [1] is basically a bi-dimensional Gaussian function centered at origin (0,0) with variance S modulated by a complex sinusoid with polar frequency (F,W) and phase P described by the following equation:

G(x,y,S,F,W,P)=k*Gaussian(x,y,S)*(Sinusoid(x,y,F,W,P)-DC(F,S,P)),
where:
       Gaussian(x,y,S)=exp(-pi*S^2*(x^2+y^2))
Sinusoid(x,y,F,W,P)=exp(j*(2*pi*F*(x*cos(W)+y*sin(W))+P)))
DC(F,S,P)=exp(-pi*(F/S)^2+j*P)

The following reference will be helpful to understand how setting the Gabor parameters:
[1] Movellan, J. R. - Tutorial on Gabor Filters. Tech. rep., 2002.

MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
04 Feb 2008 archna kamthe

can use for research work.

28 Apr 2008 Heba Gamal

hi thank you for providing gabor filter for the research i think this will be so usefull
but would you please tell what do these variable mean(I,S,F,W,P)
i think I is the input image but what are the rest of variable stand for
thank you

14 Oct 2008 Samuel Rivera

This will save me time in my research! Thanks.
Some help about parameters:

S: related to variance for Gaussian envelope.
(F, W): polar frequency (frequency, angle) for sinusoid.
P: phase of sinusoid.

from documentation in function as well as Movellan, J. R. section 2.1 and 2.2

15 Oct 2008 A Mahesh

usage of gabor filter

09 Sep 2010 Dave Welch  
Please login to add a comment or rating.
Updates
02 Jun 2008

New demo file.

Tag Activity for this File
Tag Applied By Date/Time
filtering Stiven Schwanz Dias 22 Oct 2008 08:58:26
gabor filter Stiven Schwanz Dias 22 Oct 2008 08:58:26
bidimensional Stiven Schwanz Dias 22 Oct 2008 08:58:26
im Stiven Schwanz Dias 22 Oct 2008 08:58:26
dc component compensation Stiven Schwanz Dias 22 Oct 2008 08:58:26
gabor filter Costas Tsaousidis 05 Mar 2009 17:40:27
bidimensional Costas Tsaousidis 14 Mar 2009 05:11:27

Contact us at files@mathworks.com