SIVP Toolbox
Last update : August, 2007

ind2rgb - convert indexed image to true color image

Calling Sequence

rgb = ind2rgb(ind,cmap)

Parameters

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

Roger Liu
Isaac Zhi

Availability

The latest version of SIVP can be found at

http://sivp.sourceforge.net

See Also

None ,