Human Face Recognition
|Matlab Program 2--for face recognition|
Matlab program 2
I = imread('cara_11.jpg');
d = fft2(BW1.*BW2);
%S = P*BW2;
%Q = fft2(S,3,3);
d = fspecial('gaussian');
figure, freqz2(d,[64 64]), axis([-1 1 -1 1 0.8])
Figure 1 Figure2
First of all cara_11.jpg a same colour picture are read into I & J twice. Then fast fourier transformp of I & J are stored in BW1 & BW2 respectively.These two pictures are shown in figure1 & figure2.Then the multiplication of BW1 & complex conjugate of BW2 are fast fourier transformed and stored in d. If this peak is sharp then the two pictures are almost same but if the peak is not so sharp then we can conclude that there is difference in between those two pictures. As in the above case peak is sharp, so we can conclude that the two faces are of two same human being.
Want To Know more with
Contact for more learning: webmaster@freehost7com
The contents of this webpage are copyrighted © 2008 www.freehost7.com
All Rights Reserved.