intlut() - Image Processing
B = intlut(A, LUT) converts
values in array A based on lookup table LUT and
returns these new values in array B. For example,
if A is a vector whose kth
element is equal to alpha, then B(k) is equal to
the LUT value corresponding to alpha, i.e., LUT(alpha+1). Code Generationsupport:
Yes.MATLAB Function Block support:
Yes.
Syntax
B = intlut(A, LUT)
Example
A = uint8([1 2 3 4; 5 6 7 8; 9 10 11 12])
LUT = repmat(uint8([0 150 200 255]),1,64);
B = intlut(A, LUT)
Output / Return Value
Limitations
Alternatives / See Also
Reference