cv.LUT - MATLAB File Help
cv.LUT

Performs a look-up table transform of an array

dst = cv.LUT(src, lut)

Input

Output

The function cv.LUT fills the output array with values from the look-up table. Indices of the entries are taken from the input array. That is, the function processes each element of src as follows:

dst(I) = lut(src(I) + d)

where:

d = { 0   if src has uint8 depth
    { 128 if src has  int8 depth
See also