


% -*- 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