Grayscale Lookup Table
Maps pixels in the input image to new values in output image according to a lookup table.
- Input image of any type.
- An N-by-1 or 1-by-N vector where N must be large enough to cover the whole dynamic range of the input image. If the look-up table is empty, image will be passed to the image output unaltered.
- Image of the same size as type as the input image, in which each pixel is obtained by using the input image's gray level as an array index to the lookup table. Gray levels with no assigned look-up table entry will be set to zero.