meta data for this page
Invert
Inverts or flips over the pixel values. For integers, the output is calculated by subtracting the pixel value from the the maximum value. For 8-bit images, the output is 255-value. For 16-bit images, the output is 65535-value. For 32-bit integers, the output is 4294967295L-value.
For example in an 8-bit image, with the values in the range of 0-255 the value “35” for dark gray will become “220” which corresponds to light gray. Likewise the value for black “0” will become white “255” or vice versa.
For floating point values, the output is -value. For example if the pixel has a value of 0.5678 it will be inverted to -0.5678
The default is to invert all available bands. If “some” is selected, then the bands to be inverted can be specified. The band numbers are specified individually, separated by spaces or semicolons (;).
For example in a regular 8 bit RGB color image with 3 color channels (or bands) you would need to invert the blue (0) and the red (2) channel and keep the green (1) channel original. Then you would specify the channels (bands) as follows (0;2). The pixels in the specified channels will be inverted according to the description above.
For example in a floating point PCA cube with 19 bands you need to invert bands 1, 3 , 6 and 8. You would specify the bands as follows (1;3;6;8). The whole 19 band cube will be passed on and only the pixels in the specified bands will be flipped.
input image: Byte, Integer, or Float output image: same as input