SQRT 運算子

Operator Library: Arithmetics

此運算子會計算輸入值的平方根。結果會四捨五入至最接近的整數。

I/O Properties

Property Value
Operator Type O
Input Link I,資料輸入
Output Link O,資料輸出

Supported Link Format

Link Parameter Input Link I Output Link O
Bit Width {8, 12, 16, 20, 24, 28, 32} auto1
Arithmetic 無號數 as I
Parallelism any as I
Kernel Columns any as I
Kernel Rows any as I
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

1

輸出的位寬為

Parameters

無

Examples of Use

以下範例展示了 SQRT 運算子的用法: