Operator MEDIAN

Operator Library: Filter

MEDIAN 算子可識別並輸出輸入 kernel-stream 的中位數值。 kernel 大小限為 3x3 與 5x5。

I/O Properties

Property Value
Operator Type O
Input Link I,核心輸入
Output Link O, data output

支援的 Link 格式

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

參數

無

使用範例

以下範例顯示了 MEDIAN 算子的使用方式: