piecewise image stretching using lookup tables

2 views (last 30 days)
Good evening I need a little guidance on how to utilize LUT's (lookup tables) to create a function that can perform piece-wise stretching of an image.

Accepted Answer

Walter Roberson
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

More Answers (0)


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!