NEG A - Negate - invert contrast of image & preserve average

(07/07/99)

PURPOSE

Performs arithmetic negation or contrast inversion around the average pixel value (AV) by subtracting the average, multiplying the image by -1, and adding the original average.   Example.

SEE ALSO

AR [Arithmetic operation]
NEG [Negate - invert contrast of image]

USAGE

.OPERATION: NEG A

.INPUT FILE: PIC001
[Enter the name of the input image.]

.OUTPUT FILE: PIC002
[Enter the name of the output image.]

SUBROUTINES

NEGATI

CALLER

UTIL4

© Copyright Notice /       Enquiries: spider@wadsworth.org