The current LUT function supports 3 interpolation modes:
Could you please add the option for "Monotone Cubic Interpolation"?
Most curve must maintain the Monotonoic property to make sense and avoid artifacts.
Moreover, if you could implement something like MATLAB's `interp1` with all its interpolation methods it would be great.
I actually uses LUT for interpolation of 1D signals as the Intel IPP has no solution for that.
I'd be happy to have a Spline based tool which one of its options would be Monotone Cubic Interpolation.
The usage in the context of LUT for images is easy.
Imagine one create a Tone Curve to apply on an image by setting few points.
The proper interpolation between those points would be Monotonic.
Otherwise, it wouldn't make sense (For instance, he set one of the points to be the maximum, there is no logic interpolated point would exceed that).