Compute image complement or negative.
Intuitively this corresponds to the intensity of bright and dark regions being reversed. The exact operation performed is dependent on the class of the image.
Since floating point images are meant to have values in the range [0 1],
this is equivalent A -1
. This leads to values within the range
to be inverted while others to stay equally distant from the limits.
Equivalent to ! A
Inverts the values within the range of the data type. This is
equivalent to bitcmp (A)
.
See also: imadd, imdivide, imlincomb, immultiply, imsubtract.
Package: image