File Exchange

## Gabor filtering on an image

version 1.1 (6.51 KB) by

Application of gabor filter on image

3.85714
7 Ratings

Updated

Application of gabor filter on image

mobin

Malee

Manjesh Gupta

### Manjesh Gupta (view profile)

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?

Qamar Samejo

### Qamar Samejo (view profile)

how to apply gabor filter on chest x-rays image

Deepak Kumar Rout

### Deepak Kumar Rout (view profile)

Vatsala Singh
/gab/gabor_fn.m
/gab/gabor_program.m

and run "gabor_program.m" in MATLAB

Vatsala Singh

### Vatsala Singh (view profile)

How to watch this file?

anum eman

### anum eman (view profile)

Deepak Kumar Rout

### Deepak Kumar Rout (view profile)

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

is this a discrete gabor transform or continuous ?

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

Nishikanta Paik

### Nishikanta Paik (view profile)

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.

Deepak Kumar Rout

### Deepak Kumar Rout (view profile)

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

Deepak Kumar Rout

### Deepak Kumar Rout (view profile)

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

Nishikanta Paik

### Nishikanta Paik (view profile)

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

Emrullah Acar

### Emrullah Acar (view profile)

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?

Deepak Kumar Rout

### Deepak Kumar Rout (view profile)

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.

Emrullah Acar

### Emrullah Acar (view profile)

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,

sandhya salve

### sandhya salve (view profile)

Deepak Kumar Rout

### Deepak Kumar Rout (view profile)

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

PUST rahman

### PUST rahman (view profile)

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.