20

In my project i have to compare two images, in any format(*.png, *.jpg, *.bmp etc.), and return the rate of similarity in percents.

Did anyone do this?

If yes, how?

user366312
  • 16,949
  • 65
  • 235
  • 452
croisharp
  • 1,926
  • 5
  • 25
  • 40
  • 7
    See http://stackoverflow.com/questions/843972/image-comparison-fast-algorithm/844113#844113 – borrible Jul 07 '11 at 09:15
  • u can also check [AForge.Imaging](http://www.aforgenet.com/projects/iplab/) decent library to work with images. in addition there's forum so u can try and ask there. – Nika G. Jul 07 '11 at 09:23
  • It might help if you defined "similarity" in this instance. Color, recognition, etc. all have different approaches when it comes to something being "similar". – JaCraig Jul 07 '11 at 16:29
  • Check out this question in related subject in Java: http://stackoverflow.com/questions/8644960/java-library-to-compare-image-similarity – İsmet Alkan May 29 '12 at 23:37

1 Answers1

2

If you are trying to compare an image (or part of it) with another images, I searched internet and found that leadtools has correlation functions that compare an image with all the areas of the same dimensions in another image. For more information, see this link: http://www.leadtools.com/help/leadtools/v175/dh/po/leadtools.imageprocessing.core~leadtools.imageprocessing.core.correlationcommand.html

George.Dar
  • 21
  • 2