IndexedImageToRGB:

Path: Imaging/ImageProcessing

% Converts an indexed image to RGB.

   Since version 8.
--------------------------------------------------------------------------
   Form:
   r = IndexedImageToRGB( x, map )
--------------------------------------------------------------------------

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

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

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

Back to the Imaging Module page