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

Can you add nearest interpolation? #17

Open
Karol-G opened this issue Jun 2, 2023 · 2 comments
Open

Can you add nearest interpolation? #17

Karol-G opened this issue Jun 2, 2023 · 2 comments

Comments

@Karol-G
Copy link

Karol-G commented Jun 2, 2023

Hey,

I see that a couple of interpolation modes are implemented, but not nearest interpolation. Nearest interpolation is important for resizing segmentations. It would be nice if you could add that.

Best,
Karol

@Karol-G
Copy link
Author

Karol-G commented Jul 5, 2023

I assume the repo is no longer under active development then :/

@arnaud-nt2i
Copy link

@Karol-G It seems that choosing box kernel is equivalent to nearest interpolation.
See original matlab : https://fr.mathworks.com/help/matlab/creating_plots/create-and-compare-resizing-interpolation-kernels.html
and https://stackoverflow.com/questions/51369489/what-is-matlabs-box-interpolation-kernel

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