Code covered by the BSD License  

Highlights from
Gabor filtering on an image

3.4
3.4 | 5 ratings Rate this file 73 Downloads (last 30 days) File Size: 6.51 KB File ID: #28751
image thumbnail

Gabor filtering on an image

by

 

18 Sep 2010 (Updated )

Application of gabor filter on image

| Watch this File

File Information
Description

Application of gabor filter on image

Required Products Communications System Toolbox
Image Acquisition Toolbox
Image Processing Toolbox
Signal Processing Toolbox
MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (19)
24 Mar 2015 Manjesh Gupta

sir i want to extract feature from videos and hence i need a filter bake at its input. can u suggest me,how should i start?

Comment only
31 Aug 2014 Qamar Samejo

how to apply gabor filter on chest x-rays image

Comment only
28 Mar 2014 Deepak Kumar Rout

Vatsala Singh
Download the files /gab/katrina.jpg
/gab/gabor_fn.m
/gab/gabor_program.m

and run "gabor_program.m" in MATLAB

Comment only
27 Mar 2014 Vatsala Singh

How to watch this file?

Comment only
08 Dec 2013 anum eman  
30 Nov 2013 Arslan Ahmad  
26 Nov 2013 Deepak Kumar Rout

Its a discrete gabor filter. any thing you implement in matlab will be always discrete

Comment only
25 Nov 2013 Arslan Ahmad

is this a discrete gabor transform or continuous ?

Comment only
08 Nov 2013 vidya

vidya (view profile)

sir!! hello sir i am very new to matlab..i am working on gabor filter .could you please tell me what does the below 2 line perform
img_out_disp = sum(abs(img_out).^2, 3).^0.5;

%default superposition method, L2-norm
img_out_disp=img_out_disp./max(img_out_disp(:));
%normalize

Comment only
30 Oct 2011 Nishikanta Paik

i tried it in MAtlab2009a and it works,
But some how i failed to got the out puts.
Could you tell me what should be the parameters. I may be wrong in giving the parameters value.

29 Oct 2011 Deepak Kumar Rout

Mr Nishikanta Paik may be you are not keeing the main program and the function file in same directory or your download is some how corrupt

Comment only
29 Oct 2011 Deepak Kumar Rout

Mr Emrullah Acar to clarify you doubt please go through some papers on gabor filter for feature extraction

Comment only
29 Oct 2011 Nishikanta Paik

hello sir , i have studied your gabor filter m-file and i have doubts:
when i run it in matlab 2010a,then it shows
"
Mex file entry point is missing. Please check the (case-sensitive)
spelling of mexFunction (for C MEX-files), or the (case-insensitive)
spelling of MEXFUNCTION (for FORTRAN MEX-files).
??? Invalid MEX-file 'C:\Windows\system32\input.dll': C:\Windows\system32\ver.dll is not a valid Win32 application.

.

Error in ==> gabor_program at 16
sigma=input('Enter the value of sigma ');
"
could you help me in this step, please

Comment only
12 Oct 2011 Emrullah Acar

For example when I choose wavelenghts=[1,2] and orientation[0 30 60 90].That means 2*4=8 gabor filters for each image.I set M=16 and N=16.Finally I found 16*16 GT matrix for each Gabor Filter.Then,I calculated 3 statistical values such as mean,standart deviation and entropy for each filtered matrix.Since there was 8 gabor filters,totally 8*3 feature matrix were extracted from an image.Do you think it is a correct way?I mean,how can I evaluate feature vector from the image?

Comment only
11 Oct 2011 Deepak Kumar Rout

The results obtained in the program can classified by taking different values of a particular parameter. For example we can categorize images after filtering them with different values of theta. A group will consist only images filtered with theta equal to 30 another with theta 60.

Comment only
06 Oct 2011 Emrullah Acar

Hello,
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 your 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?

Regards,

Comment only
15 Jan 2011 sandhya salve  
21 Dec 2010 Deepak Kumar Rout

the values of lambda, sigma etc are shown on the preview image associated with this download for more details on these parameters you can go through any ieee paper where gabor image filtering has been used

Comment only
07 Dec 2010 PUST rahman

Please show an example of typical value.
please mention the name of the variables like lamda, gamma etc. It is hard to understand when variables are used only instead of name.

Updates
09 Sep 2013

changed the tags

Contact us