Home > freetb4matlab > image > gray2ind.m

gray2ind

PURPOSE ^

% Convert a gray scale intensity image to an Octave indexed image.

SYNOPSIS ^

function [X, map] = gray2ind (I, n = 64)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {[@var{img}, @var{map}] =} gray2ind (@var{I}, @var{n})
% Convert a gray scale intensity image to an Octave indexed image.
% The indexed image will consist of @var{n} different intensity values.  If not
% given @var{n} will default to 64.
% @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