piecewise image stretching using lookup tables
2 views (last 30 days)
Walter Roberson on 26 Feb 2018
One way is to use interp1, with either the default linear interpolation or the 'previous' method.
Another way instead of interp1 with previous is to use quantization. If you do not have the signal processing toolbox then you can quantize by using histcounts or the older histc