Operator ClipHigh

Operator Library: Arithmetics

ClipHigh 模組會將數值限制在可設定的最大值內。 若輸入值超過最大值,則會被截斷,也就是說:

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 [1, 63] 無符號,[2, 63] 有符號 as I
Arithmetic {unsigned, signed} 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

Parameters

設為
Type static/dynamic 讀寫參數
Default 127
Range 輸入鏈路的範圍

此參數定義輸出連結的最大值。 若將此參數設定為「靜態」,該值將於設計階段選定,且無法在執行階段變更。 若將此參數設定為「動態」,則可在執行階段變更該值。

Examples of Use

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