I've already implemented this algorithm and it works pretty well!
For now i can compare one image against many to find similar images. I need now to think on a way to compare a group of images against each other to find the duplicates...
@hideki
Sort the images into 100 lists by pixel value, compare images by checking how close they are to one another across all the sorted lists?
Or use Levenshtein distance on the resultant image when interpreted as a string. You could probably alter the algo, to favor low bits above high ones.
I think image searchers use a specialized hash to compare.
@NickolasGir thanks, will research about the Levenshtein distance. Yeah i've heard some calculate signatures and then compare distance between signatures too, need to see how that is done.
The algorithm works, and this makes SO MUCH EASIER to seek and destroy repeated images without having to export them and using another software.