2

Possible Duplicate:
How can I measure the similarity between two images?

how to check if two images are similar, not the same, but similar?

Like color counting or bytes or something equals?

In C#.

I need make a tool that recognize duplicate photos on pc.

thanks.

Community
  • 1
  • 1
elp
  • 8,021
  • 7
  • 61
  • 120
  • 10
    people dedicate careers to this. I dont think this can be answered in SO question. Perhaps there is a library you could use to do this. Maybe rephrase the question. – Mike Ohlsen Jun 20 '11 at 19:23
  • Hehe, Google added this functionality just yesterday! – elp Jun 22 '11 at 13:30

1 Answers1

2

I agree 100% with @MikeOhlsen's comment.

That aside, if you really want to get picky, you can load them in to a Bitmap then use GetPixel() and maybe keep track of the % of matches pixels (>= 95% matches are "similar images", e.g.).

Also, similar post: Compare images in C# .NET

Community
  • 1
  • 1
Brad Christie
  • 100,477
  • 16
  • 156
  • 200