Home > freetb4matlab > image > isgray.m

isgray

PURPOSE ^

% Returns true for an gray-scale intensity image. An variable is a gray scale image

SYNOPSIS ^

function bool = isgray (I)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} @var{bool}= isgray (@var{I})
% Returns true for an gray-scale intensity image. An variable is a gray scale image
% if it is 2-dimensional matrix, and
% @itemize @bullet
% @item is of class double and all values are in the range [0, 1], or
% @item is of class uint8 or uint16.
% @end itemize
% @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