how to compare the color image to another color image in directory?
1 view (last 30 days)
Spandan Tiwari on 7 Aug 2013
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.