MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today
Asked by diva dave anthony on 12 Apr 2013

Actually i have find out eucledian distance of the query image and the images in the databases..Now my question is that how to find out the accuracy in the images using matlab..please help me.Thank you..

Answer by Image Analyst on 12 Apr 2013

Accepted answer

Assuming you found the best five images correctly, change the last few lines to this (untested):

figure; % Enlarge figure to full screen. set(gcf, 'units','normalized','outerposition',[0 0 1 1]); for k = 1:length(bestFiveImages) subplot(2, 3, k); fullFileName = fullfile(pwd, fileNames{bestFiveImages(k)}); if exist(fullFileName , 'file') imshow(imread(fullFileName)); title(fullFileName, 'FontSize', 20); else warningMessage = sprintf('Warning: file not found:\n%s', fullFileName); uiwait(warndlg(warningMessage)); end end

## 3 Comments

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/71758#comment_142824

Actually i have find out eucledian distance of the query image and the images in the databases..Now my question is that how to find out the accuracy in the images using matlab..Please help me.Thank you.

i have done the program given below..please help me to find the accuracy in all the images..thank you.

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/71758#comment_143042

Editing away your question is very very much despised and will lead to people not answering your questions in the future.

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/71758#comment_145682

I have restored the original text of this question.

diva dave anthony: this question has a clear subject and an accepted answer, so it may be valuable to someone else in the future. If you have a good reason why it should be removed from MATLAB Answers, please flag the question, explain why it should be deleted, and an administrator or high-reputation contributor will consider deleting the question. Please

do notsimply edit your question away.