image-rs / imageproc

Image processing operations
MIT License
735 stars 145 forks source link

make interpolate_* public #546

Open Lishen1 opened 6 months ago

Lishen1 commented 6 months ago

make it public. It's usefull functions interpolate_nearest(image, x, y, default); interpolate_bilinear(image, x, y, default); interpolate_bicubic(image, x, y, default);

nan-mu commented 6 months ago

Hello, I'm in the process of tidying up some functions to be made public on #544. I've looked into the three interpolation functions you mentioned, but it seems they expect to be called through warp_into and wrap_into_with. Is there another purpose for them?

Lishen1 commented 6 months ago

Just to access pixel value with real coordinates