20.5.2.11 Invert

The imgInvert function inverts the color of each pixel. For example, if we invert a pixel with the original color of (r, g, b), its color will become ( 2^{bit}-1-r , 2^{bit}-1-g , 2^{bit}-1-b ), where bits is the number of bits per pixel. To use this function,

select Image: Adjustment: Invert from the Origin menu.

For more specific information on this function, see documentation provided for the X-Function imgInvert in the Origin X-Function reference file. This can be accessed from the Command Window by typing

help imginvert