Home > freetb4matlab > image > imcomplement.m

imcomplement

PURPOSE ^

% Computes the complement image. Intuitively this corresponds to the intensity

SYNOPSIS ^

function B = imcomplement(A)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} @var{B} = imcomplement(@var{A})
% Computes the complement image. Intuitively this corresponds to the intensity
% of bright and dark regions being reversed.
%
% For binary images, the complement is computed as @code{~@var{A}}, for floating
% point images it is computed as @code{1 - @var{A}}, and for integer images as
% @code{intmax(class(@var{A})) - @var{A}}.
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003