MATLAB: What is the procedure of finding out the accuracy of the images in matlab

cbirimage processingWavelet Toolbox

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..

Best 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