how can i find t closest image in many images?
Show older comments
when i have a original image, which function can help me to find closest image in database?
i want to find the most similar one.
Accepted Answer
More Answers (1)
Thorsten
on 26 Jan 2015
Well, there is lots of research devoted to this question. One simple way would be to compute the RMS (root mean squared) difference between the images:
D = sqrt(mean((im2double(I1(:)) - im2double(I2(:))).^2));
This works only if the images have the same size.
Categories
Find more on Image Quality in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!