Skip to content

phash vs. phash_simple Hamming Distances #211

@Aliiiqbp

Description

@Aliiiqbp

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions