NEG - Negate - invert contrast of image

(09/25/06)

PURPOSE

Performs arithmetic negation or contrast inversion of an image by multiplying each pixel value by -1.0 to create an output image. Then adds the original image's maximum pixel value (FMAX) to each pixel so that new image's minimum pixel value is now zero.   Example.

SEE ALSO

AR [Arithmetic operation]
NEG A [Negate - invert contrast of image & preserve average]

USAGE

.OPERATION: NEG

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

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

SUBROUTINES

NEGATE

CALLER

UTIL4

© Copyright Notice /       Enquiries: spider@wadsworth.org