[mmIslesseq] [Up] [mmToggle] Operations

mmNeg
Negate an image.

Synopsis

Image mmNeg ( const Image& f );

Input

f Image [ Unsigned gray-scale (uint8 or uint16), signed (int32) or binary image ]

Output

y Image [ Unsigned gray-scale (uint8 or uint16), signed (int32) or binary image ]

Description

mmNeg returns an image y that is the negation (i.e., inverse or involution) of the image f. In the binary case, y is the complement of f.

Equation

See also

mmSubm Subtraction of two images, with saturation.
mmLimits Get the possible minimum and maximum of an image.
[mmIslesseq] [Up] [mmToggle]