How to find similar or identical images into two directories?

3 views (last 30 days)
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.

Accepted Answer

Dima Lisin
Dima Lisin on 25 Jun 2015
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.
  1 Comment
André Faria
André Faria on 25 Jun 2015
Thank Dima Lisin, I think adopting the similarity, I automatically find the identical, right? How do i find similarity comparing black and white images with color images? The SIFT is a good choice?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!