Skip to content
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

Incorrect DCT hashes calculation #6

Closed
poslegm opened this issue Oct 16, 2018 · 1 comment
Closed

Incorrect DCT hashes calculation #6

poslegm opened this issue Oct 16, 2018 · 1 comment
Labels

Comments

@poslegm
Copy link
Owner

poslegm commented Oct 16, 2018

Current algorithm calculates zero DCT distance for attached images. It is not correct.

Answer of original pHash is 29.

@poslegm poslegm added the bug label Oct 16, 2018
@poslegm
Copy link
Owner Author

poslegm commented Oct 26, 2018

There are two problems:

  1. (easy) image resizing: need to use NEAREST_NEIGHBOR interpolation
  2. (hard) image convolution: algorithm is broken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant