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!
|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 RemoveImage is shown in the following examples:
Synchronization Rules - Using an M-type Operator with Synchronous Inputs
Remove 9 out of 10 images.
Example - Histogram thresholding
Examples - Calculates the differences between two successive images. The differences are thresholded and output via DMA channel.