JohannesBuchner/imagehash

hash with z-transform

hazenne7 opened this issue · 2 comments

NOT AN ISSUE, just wondering what z-transform does to the image so it can change its hash value.

code is here: https://github.com/JohannesBuchner/imagehash/blob/master/examples/hashimages.py#L41-L43

Maybe it is not necessary. I thought it would enhance contrast. For example, if you have bright and dark parts in an image, the hash by default would distinguish the two parts but not see patterns within. A z-transform brings the contrast closer together.

Noted! Thanks for your reply, really appreciate it!