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

Slightly incorrect image size during zooming? #25

Open
cgilhuly opened this issue Mar 12, 2020 · 0 comments
Open

Slightly incorrect image size during zooming? #25

cgilhuly opened this issue Mar 12, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@cgilhuly
Copy link
Collaborator

nx=int((nx -1) * f + 1), ny=int((ny - 1)* f + 1))

Using (n_x/y - 1) * f + 1 to rescale image results in final zoomed image being f - 1 pixels too small in each dimension (at least for integer values of f). Is this intentional?

@AstroJacobLi AstroJacobLi added the bug Something isn't working label Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants