# Pixel Map

Apply a pixel map to the input image. For greyscale input images, each pixel in the input image is replaced by a pixel with the value from the pixel map at the index that is equal to the input image pixel value. For images of type Image24PlanarColor, you can specify the individual pixel maps for Plane 0 (red), Plane 1 (green), and Plane 2 (blue). For example, if a greyscale input image pixel has a value of 73, it would be replaced by the value of the 73rd element of the pixel map. The following figure shows the effect of applying an inverted pixel map, where the pixel map contains values from 255 to 0:

Common applications for a pixel map include constructing mask images and performing customized image equalization.