MATLAB Function Reference
  Go to function:
    Search    Help Desk 
ind2rgb    See Also

Convert an indexed image to an RGB image

Syntax

Description

RGB = ind2rgb(X,map) converts thematrix 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-3 array of class double.

See Also

image



[ Previous | Help Desk | Next ]