Operator Library: Accumulator
该算子返回每行图像中找到的最小像素值。 该算子将每个像素值替换为到目前为止在同一行中找到的最小值。 如果当前像素是一个新的最小值,则输出链接 IsMinO 为 1,否则为 0。
![]() |
资源消耗 |
|---|---|
|
The operator's FGPA resource consumption strongly increases with the Parallelism. We recommend to use low Parallelism at this operator. 在此算子的许多用例中,可以通过在此算子之前选择最小并行组件来降低 Parallelism。对于此操作,请使用 SplitParallel、MergeKernel 和 MIN。 |
每处理新的一行,最小值检测便会重新开始。 此外,当 ClrI 链接设为 1 时,也可以手动清除当前行最小值。 如果不需要手动清除,则必须确保 ClrI 处持续保持 0。
通常,该算子与算子 RemovePixel 结合使用,以仅使用包含整帧结果的最后一列。 请注意,随着 Parallelism 的增加,算子将需要更多的资源。 如果只需要每行的最小值而不需要中间结果,则可以先确定并行字的最小值。
The following example shows the relation of input values to output values.

Image Restrictions
-
图像大小
Varying line lengths and empty images are allowed in non-empty images.
-
空图像
Empty images, i.e., images with no pixels, are allowed. The operator will output an empty image.
| Link Parameter | Input Link I | 输入链路 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 |
以下示例展示了 RowMin 算子的使用方法:
-
Examples- Geometric Transformation and Defect Detection
-
“Library Accumulator 和 Library Logic 特定算子的功能示例”
示例 - 算子使用方法演示

![[注意]](../common/images/admon/note.png)
上一页

