Operator Library: Accumulator
This operator returns the minimum pixel value found for each image column. The operator replaces each pixel value by the minimum value found in the very same column so far. If a current pixel is a new minimum, the output link IsMinO is set to 1, otherwise it is 0.
It is possible to clear the current minimum manually by setting the ClrI link to 1. When a manual clear is not required, a constant 0 must be applied to ClrI.
With every new input frame, the detection of the minimum value restarts for each column.
Often, this operator is used in conjunction with the RemoveLine operator to remove all but the last line of a frame. This last line of a frame contains the results of the ColMin operator.
以下示例展示了输入值与输出值的关系:

图像限制:
-
图像大小
输入图像的所有行必须具有相同的长度。 不允许行长度可变的图像。
-
空图像
Empty Images, i.e., images with no pixels, are allowed. The operator will output an empty image.
-
图像协议
仅支持 VALT_IMAGE2D 和 VALT_LINE1D 图像协议。
| Property | 值 |
|---|---|
| Operator Type | O |
| 输入链路 | I, Image Input ClrI, Clear Input |
| Output Links | O, Data Output IsMinO, Binary output to indicate a new minimum |
| Link Parameter | Input Link I | 输入链路 ClrI | Output Link O | Output Link IsMinO |
|---|---|---|---|---|
| Bit Width | [1, 64] 无符号,[2, 64] 有符号 | 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} | 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 |
The use of operator ColMin is shown in the following examples:
-
示例 - 展示如何拆分和合并图像流。向图像附加尾部。

上一页

