Introduction - If you have any usage issues, please Google them yourself
MATLAB image format most commonly treated as an index image (Indexed Images) display images of this type has the following syntax: image (X) colormap (map) where X is the image data matrix, map matrix for the color palette. The size of the matrix palette K3, each row consists of three elements, namely R (red), G (green), B (blue), and each element in the range of 0 ~ 1 X value is 1 ~ K, that is, when X (i, j) has a value of p, the pixel (i, j) of the color map (p, :) determined by the value of the column.