I have written a matlab function that enables me to get the name of image from user and compare it with the existing images and display if it matches or not..
function matchin handles = guidata(gcbo); set(handles.h_text,'String','performing matching...'); [image1, pathname]= uigetfile('*.bmp','Open An Fingerprint image'); Directory = fullfile ('F:','matlab','bin'); D = dir(fullfile(Directory,'*.bmp')); set(handles.h_text,'String','matching complete....'); for i = 1:numel(D) if strcmp(image1,D(i).name) disp('matched'); else disp('not matched'); end end
the above code checks if the file name exists but i now want to compare the images itself instead of the file name. How can I do that?Please help..
Regards
Priya
Best Answer