Home > freetb4matlab > image > image.m

image

PURPOSE ^

% Display a matrix as a color image. The elements of @var{x} are indices

SYNOPSIS ^

function retval = image (varargin)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} image (@var{img})
% @deftypefnx {Function File} {} image (@var{x}, @var{y}, @var{img})
% Display a matrix as a color image.  The elements of @var{x} are indices
% into the current colormap, and the colormap will be scaled so that the
% extremes of @var{x} are mapped to the extremes of the colormap.
%
% It first tries to use @code{gnuplot}, then @code{display} from 
% @code{ImageMagick}, then @code{xv}, and then @code{xloadimage}.
% The actual program used can be changed using the @code{image_viewer}
% function.
%
% The axis values corresponding to the matrix elements are specified in
% @var{x} and @var{y}.  If you're not using gnuplot 4.2 or later, these
% variables are ignored.
% @seealso{imshow, imagesc, colormap, image_viewer}
% @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