-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
phash vs. phash_simple Hamming Distances #211
Comments
dctlowfreq is also different |
and dct |
Thank you for your response. I plotted the Hamming distance distribution for a subset of the DIV2K dataset, and there are no odd distances between any pair of images, which does not make sense while this is not the case in phash_simple or other methods like aHash or dHash. |
See also #13 #17 #97 I am also not sure the hash size and the hamming distance are related such that even distances imply that the hash size can be reduced. I am also hesitant to break backwards compatibility regarding the way the hash size is stored. |
I am curious about why the Hamming distance between hash values computed from arbitrary images using the "phash" method is always an even number, while this is not the case with the "phash_simple" function.
The only difference between these methods is that phash uses the "median", while phash_simple uses the "mean".
The text was updated successfully, but these errors were encountered: