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

Provide a more efficient process for float upsampling ratio #26

Open
savmickael opened this issue Aug 8, 2018 · 1 comment
Open

Provide a more efficient process for float upsampling ratio #26

savmickael opened this issue Aug 8, 2018 · 1 comment

Comments

@savmickael
Copy link
Contributor

No description provided.

@dumasl dumasl changed the title Update the resampling_ratio strategy to support real value Provide a more efficient process for floatting upsampling ratio Aug 9, 2018
@dumasl dumasl changed the title Provide a more efficient process for floatting upsampling ratio Provide a more efficient process for float upsampling ratio Aug 9, 2018
@dumasl
Copy link
Contributor

dumasl commented Aug 9, 2018

So far the upsampling strategy when ratio is p/q real value is decomposed in two steps:

  • zoom by a factor q
  • decimate by a factor p

We could manage to zoom by a factor p/q in one single step but we need to be careful with block decomposition so that what we compute lies correctly on the output grid. Keep in mind that the first output computed pixel is linked to the first input pixel.

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

No branches or pull requests

2 participants