How can i use gabor filter for face recognition

조회 수: 3 (최근 30일)
nadeem
nadeem 2011년 6월 28일
댓글: jeba shanthi 2016년 4월 20일
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???

채택된 답변

A
A 2011년 6월 28일
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
nadeem
nadeem 2011년 6월 30일
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 2016년 4월 20일
please explain breif...

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Peter Manley-Cooke
Peter Manley-Cooke 2011년 6월 28일
You will also have to convert your image to be recognised to the same feature space as your samples.
  댓글 수: 1
nadeem
nadeem 2011년 6월 30일
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 .........

댓글을 달려면 로그인하십시오.


jeba shanthi
jeba shanthi 2016년 4월 18일
can i give gabor filter out for recognition input? am i correct or not?

카테고리

Help CenterFile Exchange에서 Dimensionality Reduction and Feature Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by