MATLAB: How to find similar or identical images into two directories

cbircompare imagesComputer Vision Toolboxsift

Friends, I need to compare files of two directories to find similar or identical images between them. They may have color, shape or be contained within one another. Could someone help? You can generate it? Thank you very much.

Best Answer

If you are looking for identical images, then you can simply read each pair of images and check for element-wise equality. Otherwise, it depends on how you define "similar". Here is one example, which shows how to find similar images based on color histograms.
Related Question