Home > freetb4matlab > image > rgb2ind.m

rgb2ind

PURPOSE ^

% Convert an RGB image to an Octave indexed image.

SYNOPSIS ^

function [X, map] = rgb2ind (R, G, B)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn  {Function File} {[@var{x}, @var{map}] =} rgb2ind (@var{rgb})
% @deftypefnx {Function File} {[@var{x}, @var{map}] =} rgb2ind (@var{r}, @var{g}, @var{b})
% Convert an RGB image to an Octave indexed image.
% @seealso{ind2rgb, rgb2ntsc}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003