i am new to matlab . i found this code online for face recognition however i am not able to understand the syntax . can someone help please

2 次查看(过去 30 天)
%%Load Image Information from ATT Face Database Directory
faceDatabase = imageSet('FaceDatabaseATT','recursive');
%%display query image and database side by side
[filename, pathname]=uigetfile({'*.pgm'},'File Selector');
image=strcat(pathname,filename);
figure;
for i=1:size(faceDatabase,2)
imageList(i) = faceDatabase(i).ImageLocation(5);
end
subplot(1,2,1);
imshow(image);
subplot(1,2,2);
montage(imageList);
diff = zeros(1,9);

回答(1 个)

Image Analyst
Image Analyst 2015-4-5

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by