how can i find t closest image in many images?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
heo jaemu
am 26 Jan. 2015
Kommentiert: Image Analyst
am 29 Jan. 2015
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.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 26 Jan. 2015
Other than RMS, there is also SSIM, PSNR, and MD or relative MD. There are functions for psnr() and ssim() in the Image Processing Toolbox.
2 Kommentare
Image Analyst
am 29 Jan. 2015
Well the images won't be equal if something is different, angle or view. But you can find parts of the image that may be similar or in different locations with functions in the Computer Vision System Toolbox: http://www.mathworks.com/products/computer-vision/features.html#object-detection-and-recognition
Weitere Antworten (1)
Thorsten
am 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.
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!