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

Pad in metamer generation, correction to pooling region size calculation #44

Merged
merged 5 commits into from Jul 30, 2022

Conversation

drwalton
Copy link
Contributor

Corrected an error in the maths to calculate the size of pooling regions, which meant they were too large. Changed default values of "alpha" foveation parameter so foveation effect at default settings is similar.
This shouldn't affect use of the perceptual losses, but will mean functions in foveation.py will produce correct output if used on their own.

@drwalton
Copy link
Contributor Author

Also corrected padding for the gen_metamer() function.

@drwalton drwalton changed the title Correction to pooling region size calculation Pad in metamer generation, correction to pooling region size calculation Jul 29, 2022
@kaanaksit kaanaksit merged commit 7de1766 into kaanaksit:master Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants