how to compare the color image to another color image in directory?
显示 更早的评论
i have a directory of 2500 color images. i want to compare each image with others to know is there in directory similar image with this?
4 个评论
Walter Roberson
2013-8-7
How do you define "similar image" for this purpose?
preet
2013-8-7
preet
2013-8-7
preet
2013-8-7
回答(2 个)
Bjorn Gustavsson
2013-8-7
0 个投票
Well it seems someone's allready done the job for you: http://www.mathworks.se/matlabcentral/fileexchange/42008-content-based-image-retrieval
HTH
Spandan Tiwari
2013-8-7
0 个投票
One way to compare the images quickly would be compute a structural quality metric such as SSIM between the two images. It is a popular metric and a quick web search can get you all the necessary info.
It is easy to compute and does more than correlation. But you would need to resize one of the images to match the size of the other. You can use IMRESIZE from the Image Processing Toolbox for that. Although IMSHOWPAIR can be helpful if you want to visualize the mismatch between the two images, it won't give you a metric on the amount of mismatch.
类别
在 帮助中心 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!