


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