uintlut - Compute new values of A based on lookup table (LUT)
Syntax
B = uintlut(A,LUT)
Note
uintlut is an obsolete version of intlut and may be removed in a future
version of the toolbox. |
Class Support
A must be uint8 or uint16.
If A is uint8, then LUT must
be a uint8 vector with 256 elements. If A is uint16,
then LUT must be a uint16 vector
with 65536 elements. B has the same size and class
as A.
Examples
A = uint8([1 2 3 4; 5 6 7 8;9 10 11 12]);
LUT = repmat(uint8([0 150 200 255]),1,64);
B = uintlut(A,LUT);
imshow(A), figure, imshow(B);
See Also
impixel, improfile
 | truesize | | warp |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit