Human Face Recognition

Matlab Program 3 for edge detection

Matlab Program 3 for edge detection


%edge detection of 2 same images & their correlation

I = imread('cara1.jpg');

J= imread('cara1.jpg');

%J = imnoise(I,'salt & pepper',0.02);

BW3 = edge(I,'canny');

BW4 = edge(J,'canny');





%p=BW1 * BW2;






Z = fspecial('gaussian');

 figure, freqz2(Z,[64 64]), axis([-1 1 -1 1 0 .8])




Figure 1

Figure  2







Figure 3




                    This problem is used for edge detection purpose then correlation is done the ultimate result is stored in variable p.         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

Video ???

Contact for more learning: webmaster@freehost7com







The contents of this webpage are copyrighted  2008
 All Rights Reserved.