Talk About Network

Google





Graphics > Image processing > implementing ga...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 4950 of 4998
Post > Topic >>

implementing gabor filters as shown in BURCU KEPENEKCI's paper

by thelinuxmaniac <thelinuxmaniac@[EMAIL PROTECTED] > Dec 1, 2008 at 07:34 PM

Hi,
I am trying to create Gabor filters as discussed in "FACE RECOGNITION
USING GABOR WAVELET TRANSFORM" (http://www.eee.metu.edu.tr/~alatan/
PAPER/MSburcu.pdf).

I am able to successfully create gabor filters as shown in paper (Pg.
68). But when I convolve a test face image with those gabor filters
the response is not same as that shown in the paper (Pg. 69).

I suspect that I am not setting some parameters
(sigma_x,sigma_y,theta,lambda,psi,gamma) correctly. Can anyone tell me
what the parameters are to generate same Gabor filters as that
discussed in the paper.

My Matlab code to generate gabor filters is (taken from wikipedia)

function gb = GaborFunc(sigma_x,sigma_y,theta,lambda,psi,gamma)

    sz_x=fix(6*sigma_x);
    if mod(sz_x,2)==0, sz_x=sz_x+1;end


    sz_y=fix(6*sigma_y);
    if mod(sz_y,2)==0, sz_y=sz_y+1;end

    [x y]=meshgrid(-fix(sz_x/2):fix(sz_x/2),fix(-sz_y/2):fix(sz_y/2));

    % Rotation
    x_theta=x*cos(theta)+y*sin(theta);
    y_theta=-x*sin(theta)+y*cos(theta);

    gb = exp(-0.5*(x_theta.^2/sigma_x^2+gamma^2*y_theta.^2/
sigma_y^2)).*cos((2*pi/lambda)*x_theta+psi);
end


bye
 




 1 Posts in Topic:
implementing gabor filters as shown in BURCU KEPENEKCI's paper
thelinuxmaniac <thelin  2008-12-01 19:34:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 20:12:55 PST 2009.