<< imxprofile SIP - Scilab Image Processing Toolbox interferometry_gui >>

SIP - Scilab Image Processing Toolbox >> SIP - Scilab Image Processing Toolbox > ind2rgb

ind2rgb

Converts indexed images to true color

Calling Sequence

rgb = ind2rgb(ind, cmap)

Parameters

rgb
M x N x 3 true color image in the 0-1 range
ind
M x N indexed image, integer matrix
cmap
M x 3 color map

Description

ind2rgb converts an indexed image storage to RGB (direct) truecolor storage.

Examples

initial_dir = PWD;
chdir (SIPDIR + 'images');

[Img,map] = imread('indian.bmp');
clf
imshow(Img, map);
RGB = ind2rgb(Img, map);
imshow(RGB);

chdir(initial_dir);

Authors

Availability

The latest version of SIP can be found at

http://siptoolbox.sf.net

See Also


<< imxprofile SIP - Scilab Image Processing Toolbox interferometry_gui >>