How can i use gabor filter for face recognition

3 visualizaciones (últimos 30 días)
nadeem
nadeem el 28 de Jun. de 2011
Comentada: jeba shanthi el 20 de Abr. de 2016
Hi I am writing a matlab code to recognize the face using Gabor filter. I have created a Gabor filter bank using central frequency of 0.7 and Theta = 0, pi/3,2*pi/3 and pi. These gabor filters are then convolued on the image database ,After this PCA was used on filter image using matlab command of princomp, the eigen vectors so obtained are than used to project the images into the subspace to generate the feature vectors . Once the feautre vector is obtained than the simillarity input image with the training images is calulted is done using the Euclidian distance ,However i found that it did not give me correct result i.e the images were not correctly recognized. My question is should i also used the input image (i.e. one which need to be recognized from the training set of images) by first filter it throung the same bank of gabor filter which i used to create the feature space. any suggestion???

Respuesta aceptada

A
A el 28 de Jun. de 2011
approach is right but not optimum. you may try for more gabor filter by making set of different frequencies and theta, lets 5X8. then make a combined vector and pCA and euclidean distance. I suggest you to have gabor filter coding accurate as it is core part of your recognition work.
  2 comentarios
nadeem
nadeem el 30 de Jun. de 2011
Thnx, but I have observed as increasing the gabor frequency actually produced filter image with mor edges and that actually form a very blur and deform the images very much. Btw what would be ur suggestion for the range of frequency to be used. In my Programe i am actually using the Lambada the formula I am using is :
gb=exp(-0.5*(x_theta.^2/sigma_x^2+y_theta.^2/sigma_y^2)).*cos(2*pi/lambda*x_theta+psi);
where
x_theta=x*cos(theta)+y*sin(theta);
y_theta=-x*sin(theta)+y*cos(theta);
Any comments on it.
jeba shanthi
jeba shanthi el 20 de Abr. de 2016
please explain breif...

Iniciar sesión para comentar.

Más respuestas (2)

Peter Manley-Cooke
Peter Manley-Cooke el 28 de Jun. de 2011
You will also have to convert your image to be recognised to the same feature space as your samples.
  1 comentario
nadeem
nadeem el 30 de Jun. de 2011
thnx Peter, Following ur approach do u mean that i actually should apply the whole bank of Gabr filters that i used during training to the test image as well. If Yes than this mean i would have another feature space of the test image say for example 5X8 and than I should find the Euclian distance .........

Iniciar sesión para comentar.


jeba shanthi
jeba shanthi el 18 de Abr. de 2016
can i give gabor filter out for recognition input? am i correct or not?

Categorías

Más información sobre Dimensionality Reduction and Feature Extraction en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by