<< imwrite SIVP - Scilab Image and Video Processing Toolbox mat2gray >>

SIVP - Scilab Image and Video Processing Toolbox >> SIVP - Scilab Image and Video Processing Toolbox > ind2rgb

ind2rgb

convert indexed image to true color image

Calling Sequence

rgb = ind2rgb(ind,cmap)

Parameters

rgb
MxNx3 true color image in the 0-1 range
ind
MxN indexed image, integer matrix
cmap
color map

Description

ind2rgb utility function converts an indexed image to true color image for pseudo color visualization.

Examples

a=[1:0.05:16];
b=int32(a'*a);
cmap=jetcolormap(256);
c=ind2rgb(b,cmap);
imshow(c);

Authors

Availability

The latest version of SIVP can be found at

http://sivp.sf.net

See Also

<< imwrite SIVP - Scilab Image and Video Processing Toolbox mat2gray >>