KilianB / JImageHash

Perceptual image hashing library used to match similar images
MIT License
401 stars 81 forks source link

dHash tripple precision padding issue? #2

Closed KilianB closed 5 years ago

KilianB commented 6 years ago

The example image suggests that the hash of the diagonal dHash always represents a 0 at the last right and bottom buckets. Take a look at it and see if indices are messed up.

KilianB commented 5 years ago

low priority for now. If true, we are loosing 1 bit precision both in width and height which is a waste of space. Changing the output of an existing hashing function would be a breaking change.