Invert

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.

    Invert

Library

ComputerVision/Images/Operations

Parameters

Invert_0

NameLabelDescriptionData TypeValid Values

externalActivation

External activation

This parameter defines if the block receives or inherits an external activation. When External Activation is used, an additional activation port is added to the block. Default is OFF.

Number

0
1

Ports

NameTypeDescriptionIO TypeNumber

src

explicit

input

1

image

explicit

output

1

Port 3

activation

input

externalActivation