Image Processing Toolbox User's Guide Previous page   Next Page
ind2rgb

Convert an indexed image to an RGB image

Syntax

Description

RGB = ind2rgb(X,map) converts the matrix X and corresponding colormap map to RGB (truecolor) format.

Class Support

X can be of class uint8, uint16, or double. RGB is an m-by-n-by-3 array of class double.

See Also

ind2gray, rgb2ind


Previous page  ind2gray intlut Next page

© 1994-2005 The MathWorks, Inc.