資源簡(jiǎn)介
非常經(jīng)典的MATLAB人臉識(shí)別程序(可顯示相似度)

代碼片段和文件信息
I=imread(‘C:\1302101001.bmp‘);
subplot(231)imshow(I)
title(‘(a)輸入圖象‘);
subplot(232)imhist(I)
title(‘(b)輸入圖象的直方圖‘)
axis([0?255?0?1000])
h=imhist(I);
h1=h(1:10:256);
x=0:10:255;
subplot(233)bar(xh1‘b‘)
title(‘(c)直方圖的條形圖‘)
axis([0?255?0?1000])
subplot(234)stem(xh1‘.‘)
title(‘(d)直方圖的桿狀圖‘)
axis([0?255?0?1000])
subplot(235)stem(xh1)
title(‘(e)直方圖由點(diǎn)連成的圖‘)
axis([0?255?0?1000])
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????文件????????291??2009-11-26?09:45??mymatlab\Image.asv
?????文件????????445??2009-11-26?10:27??mymatlab\Image.m
?????目錄??????????0??2009-11-26?09:45??mymatlab
-----------?---------??----------?-----??----
??????????????????736????????????????????3
評(píng)論
共有 條評(píng)論