[pHash-support] Interpretation of hamming distance results

Ricky Huang rhuang.work at gmail.com
Wed Apr 24 18:58:53 PDT 2013


Hello pHash team,

I am wondering how does one read the return value of the hamming distance function.  While I understand that the smaller the value, the more similar the two hashes (consequently, the images), is there a rule of thumb on the interpretation of the actual value.  E.g., "if hamming distance > 0.50, do not bother with the image".

Also on the same topic, what does the ph_hammingdistance2() value actually mean?  E.g., "hamming distance of 0.4 means the hashes are 40% dissimilar", etc.


Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phash.org/pipermail/phash-support-phash.org/attachments/20130424/fb860d83/attachment.htm>


More information about the pHash-support mailing list