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

Is it intended to use edgediff instead of ssim_map when scale is 0? #5

Closed
futur63 opened this issue Oct 31, 2018 · 2 comments
Closed
Assignees
Labels

Comments

@futur63
Copy link

futur63 commented Oct 31, 2018

if (scale == 0) {
...
for(int twice=0; twice < 2; twice++) {
if (twice) { ssim_map = edgediff; }
...
}
}

// worst ssim in a particular 4x4 block (larger blocks are considered too because of multi-scale)
resize(ssim_map, ssim_map, Size(), 0.25, 0.25, INTER_AREA);

@jonsneyers
Copy link
Collaborator

You're right. This wasn't the intention.

@dng-dev
Copy link

dng-dev commented Feb 1, 2019

Is there any suggestion how to fix this?

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

4 participants