Operator RowMin

Operator Library: Accumulator

This operator returns the minimum pixel value found inside each image row. The operator replaces each pixel value by the minimum value found in the very same row so far. If a current pixel is a new minimum the output Link IsMinO, otherwise it is 0.

[Note] Resource Consumption

The operator's FGPA resource consumption strongly increases with the parallelism. We recommend to use low parallelism at this operator.

In many use cases of this operator, the parallelism can be reduced selecting the min parallel component prior to this operator. Use SplitParallel, MergeKernel and MIN for this operation.

With every new row the minimum detection starts again. Additionally it is possible to clear the current row minimum manually when the ClrI link is set to 1. When a manual clear is not required, you must ensure a constant 0 at ClrI.

Often, this operator is used in conjunction with operator RemovePixel to use only the last column containing the results of the full frame. Note that the operator will require additional resources with increased parallelism. If only the minimum of each row without intermediate results is required, it is possible to determine the minimum of the parallel words first.

The following example shows the relation of input values to output values.

Image Restrictions

  • Image Size

    Varying line lengths and empty lines are allowed in non-empty images.

  • Empty Images

    Empty images, i.e., images with no pixels, are allowed. The operator will output an empty image.

I/O Properties

Property Value
Operator Type O
Input Links I, Image Input
ClrI, Clear Input
Output Links O, Data Output
IsMinO, Binary output to indicate a new maximum

Supported Link Format

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



Examples of Use

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