Operator RemoveLine

Operator Library: Synchronization

The operator RemoveLine is used to completely remove image lines. The control whether a line is removed is made using the binary input link Rem. If the very first pixel of each line at input link Rem is value 1, the line will be removed. If the pixel value is 0, the line 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.

Empty lines cannot transport the information whether they have to be removed or not as they have no data pixel. In this case, the lines will always be removed. If all lines of an image are removed, the operator will output an empty image at its output.

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_IMAGE1D} as I 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 RemoveLine is shown in the following examples:

  • 'Bandwidth Bottlenecks'

    Bandwidth Bottlenecks - Reducing the parallelism after the removal of pixels.

  • 'Laser Triangulation'

    Examples - A high speed and robust laser line detection algorithm. The algorithm determines center of gravity coordinates to obtain sub-pixel resolution results.

  • 'Downsampling 3x3'

    Examples - Downsampling by factor 3x3 without the use of operator SampleDn.

  • 'ImageSplitAndMerge'

    Examples - Shows how to split an merge image streams. Appends a trailer to the image.