Invert

Block Category: Operations

Input Image Format

Input Image Requirements: None

Description: The Invert block computes the complement of the image by subtracting each pixel value from the maximum pixel value supported (255) and uses the difference as the pixel value in the output image.

Example

In this example, an RGB image of a phone is inverted.

InvertExample