how can i find t closest image in many images?

조회 수: 4 (최근 30일)
heo jaemu
heo jaemu 2015년 1월 26일
댓글: Image Analyst 2015년 1월 29일
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.

채택된 답변

Image Analyst
Image Analyst 2015년 1월 26일
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
heo jaemu
heo jaemu 2015년 1월 29일
if 2 images have different angle(but, similar angle and view), I want to find features that prove 2 images are equal. ex) distinct corners
Image Analyst
Image Analyst 2015년 1월 29일
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

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Thorsten
Thorsten 2015년 1월 26일
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.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by