Can you add nearest interpolation?
Karol-G opened this issue · comments
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
I assume the repo is no longer under active development then :/
@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