IND2RGB

NAME
SYNOPSIS
PARAMETERS
DESCRIPTION
EXAMPLE
AUTHORS
AVAILABILITY
SEE ALSO

NAME

ind2rgb - convert indexed images to truecolor storage

SYNOPSIS

RGB = ind2rgb(Index, map)

PARAMETERS

index and map
M x N indexed image and its M x 3 colormap.
RGB
M x N x 3 truecolor image in the 0-1 range.

DESCRIPTION

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

EXAMPLE

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

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

chdir(initial_dir);

AUTHORS

Ricardo Fabbri <rfabbri@if.sc.usp.br>

AVAILABILITY

The latest version of the Scilab Image Processing toolbox can be found at
http://siptoolbox.sourceforge.net

SEE ALSO

im2gray, im2bw