invariant hashing (caclulation of the hamming or the levenshtein distance when the image is flipped, rotated or cropped)
Useful links