Operator RemoveImage

Operator Library: Synchronization

The operator RemoveImage is used to completely remove images. The control whether an image is removed is made using the binary input link Rem. If the very first pixel of Rem is value 1, the image is removed. If the pixel is 0, the image is forwarded to the output.

Both inputs have to be synchronous, i.e. they have to be sourced by the same M-type operator through an arbitrary network of O-type operators.

Moreover, empty images or images with an empty first line will always be removed!

I/O Properties

Property Value
Operator Type P
Input Links I, data input
Rem, control input
Output Link O, data output

Supported Link Format

Link Parameter Input Link I Input Link Rem Output Link O
Bit Width [1, 64]1 1 as I
Arithmetic {unsigned, signed} unsigned as I
Parallelism any as I as I
Kernel Columns any 1 as I
Kernel Rows any 1 as I
Img Protocol VALT_IMAGE2D VALT_IMAGE2D as I
Color Format any VAF_GRAY as I
Color Flavor any FL_NONE as I
Max. Img Width any any as I
Max. Img Height any any as I

1

The range of the input bit width is [1, 64] for unsigned inputs. For signed inputs, the range is [2, 64]. For unsigned color inputs, the range is [3, 63] and for signed color, the range is [6, 63].

Synchronous and Asynchronous Inputs

  • All inputs are synchronous to each other i.e. they have to be sourced by the same M-type operator through an arbitrary network of O-type operators.

Parameters

None

Examples of Use

The use of operator RemoveImage is shown in the following examples: