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

interpolation schemes #57

Open
kunyuan opened this issue Nov 13, 2022 · 0 comments
Open

interpolation schemes #57

kunyuan opened this issue Nov 13, 2022 · 0 comments

Comments

@kunyuan
Copy link
Member

kunyuan commented Nov 13, 2022

We may want to support three levels of interpolation:

  1. Nearest interpolation
  2. Bilinear/trilinear interpolation (based on the neighbors)
  3. Bicubic/tricubic interpolation ( See Numerical Recipes in C, section 3.6, page 125). It guarantees smoothness. It requires the derivatives: d/dx, d/dy and d^2/dx/dy. (The derivatives don't need to be exact to get a smooth interpolation!).

See https://en.wikipedia.org/wiki/Bicubic_interpolation
and https://en.wikipedia.org/wiki/Tricubic_interpolation

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

1 participant