Image Processing Toolbox 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 (true-color) 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 ippl Next page

Learn more about the latest releases of MathWorks products:

 © 1994-2010 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS