# find perceptual similarity between two images

• September 13th, 2011, 11:03 AM
soheilz92
find perceptual similarity between two images
Hi guys

I'm looking for an algorithm that can find perceptual similarity between two images, actually i want to input one picture into system and it search whole my database which contain huge amount of picture and then retrieve the images which have more perceptual similarity with source image, could any body please help me ?

Thanks
• September 13th, 2011, 12:47 PM
KevinWorkman
Re: find perceptual similarity between two images
Can you define "perceptual similarity"? How would a person determine how similar two images were?

What you're talking about is not trivial- google something like "java image processing" for potential libraries you could use.
• September 13th, 2011, 02:05 PM
soheilz92
Re: find perceptual similarity between two images
I mean i want to find similar pic. i heard some algorithm can find similar pictures base on the source pic's shape, color and etc (pixel by pixel). i wanna have the system that i input the source image and system retrieve the similar images based on perceptual features like shape, color, size and etc.
• September 13th, 2011, 02:15 PM
copeg
Re: find perceptual similarity between two images
As Kevin said, this is NOT trivial. Putting this statement in perspective, you would think if this were an easy problem google would have implemented it. Best advice I'd have is to research very advanced hashing algorithms - in other words you might be able to turn an image into a hash (or multitude of hashes) based upon certain features - similar features have similar hashes which can then be queried relatively easily. You could go about this using some sort of dynamic programming, but again not easy and this would be extremely slow.

The best implementation I've seen is that provided by TinEye Reverse Image Search
• September 14th, 2011, 07:35 AM
Sean4u
Re: find perceptual similarity between two images
You mean like this? Not sure link will work for someone else...
• September 14th, 2011, 07:41 AM
KevinWorkman
Re: find perceptual similarity between two images
Quote:

Originally Posted by soheilz92
I mean i want to find similar pic.

Again, what is similar? If you input a picture of a red car, which picture is similar- a picture of a red ball, a picture of a blue car, or a picture of the same car from a different angle? How would you express that in terms of pixels?
• September 14th, 2011, 09:02 AM
copeg
Re: find perceptual similarity between two images
Quote:

Originally Posted by Sean4u
You mean like this? Not sure link will work for someone else...