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.
|Input Links||I, data input
Rem, control input
|Output Link||O, data output|
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.
The use of operator RemoveLine is shown in the following examples:
Bandwidth Bottlenecks - Reducing the parallelism after the removal of pixels.
Examples - A high speed and robust laser line detection algorithm. The algorithm determines center of gravity coordinates to obtain sub-pixel resolution results.
Examples - Downsampling by factor 3x3 without the use of operator SampleDn.
Examples - Shows how to split an merge image streams. Appends a trailer to the image.