Connecting Tech Pros Worldwide Forums | Help | Site Map

Need help with image comparison.

Newbie
 
Join Date: Oct 2009
Posts: 2
#1: 4 Weeks Ago
I am looking to build a program that takes an image and compares it to a folder of images and finds a smiliar comparison. Something like this....

blackandwhiteimage.jpg Compare To \images\directory of color images

Result:

blackandwhiteimage.jpg result suggetions Perfect.jpg
Pretty Good.jpg
Might be.jpg

but displaying the the images.

Just need a good start on this.

Thanks!

tlhintoq's Avatar
Moderator
 
Join Date: Mar 2008
Location: Arizona, USA
Posts: 1,783
#2: 4 Weeks Ago

re: Need help with image comparison.


http://www.codeproject.com/KB/GDI-pl...ingimages.aspx
Newbie
 
Join Date: Oct 2009
Posts: 2
#3: 4 Weeks Ago

re: Need help with image comparison.


That wasn't quite what I was looking for.

I have a lot of black and white photos that need to be compared to a lot of color photos and have suggestions for matches spit out.
tlhintoq's Avatar
Moderator
 
Join Date: Mar 2008
Location: Arizona, USA
Posts: 1,783
#4: 4 Weeks Ago

re: Need help with image comparison.


Quote:
Just need a good start on this.
Seems like project I pointed you to which is all about comparing two images would have been a pretty good start.
You came back with "not quite what I was looking for" in less than 10 minutes from when I posted that. There is no way you scrubbed through the project code to see if there was anything useful in it.

It seems to me that if the project mentioned already does a color to color comparrison then it should be a good base for your bw to color comparrison need. Just load an image, make a bw version in memory, then use this same technique to compare them. [repeat]
Member
 
Join Date: Jan 2008
Posts: 38
#5: 4 Weeks Ago

re: Need help with image comparison.


Something like this? http://www.aforgenet.com/framework/d...66c7824669.htm
I can't speak to the quality of the algorithm for your situation, as you might have to convert grayscale (I assume you mean this and not pure black and white) to faux colors to get a good comparison. I'm betting that under the hood it's not too much different than the one tlhintoq recommended, however.
Reply