IndexedImageToRGB:

Path: Imaging/ImageProcessing

% Converts an indexed image to RGB.

--------------------------------------------------------------------------
   Form:
   r = IndexedImageToRGB( x, cmap )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x              (m,n)       Indexed image
   cmap            (:,3)       Color map

   -------
   Outputs
   -------
   r              (m,n,3)     RGB

--------------------------------------------------------------------------

Children:

Imaging: ImageProcessing/Imager

Back to the Imaging Module page