Operator Library: Logic
Library: Logic
如果輸入連線 I 的數值位於參數 From 和 To 所定義的區間內,則運算子 IS_InRange 會將輸出設為邏輯「1」,否則輸出為「0」。
| Link Parameter | Input Link I | Output Link O |
|---|---|---|
| Bit Width | [1, 63] unsigned, [2, 64] signed | 1 |
| Arithmetic | {unsigned, signed} | unsigned |
| 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 |
| 計算輸出 | |
|---|---|
| Type | 動態寫入參數 |
| Default | 0 |
| Range | 與輸入連接端 I 的範圍相同 |
|
範圍內的最小值。 |
|
| 設定為 | |
|---|---|
| Type | 動態寫入參數 |
| Default | 255 |
| Range | 與輸入連接端 I 的範圍相同 |
|
範圍內的最大值。 |
|
| ImplementationType | ||||
|---|---|---|---|---|
| Type | 靜態寫入參數 | |||
| Default | AUTO | |||
| Range | (AUTO, EmbeddedALU, LUT) | |||
|
引數 ImplementationType 允許您影響 operator 的實作方式,亦即定義用於實作該 operator 的邏輯元素。 您可以選擇以下其中一個值: AUTO: 當執行個體化 operator 時,系統會根據 operator 的參數化,自動為特定的 FPGA 架構選擇最佳的實作策略。 EmbeddedALU: operator 使用 FPGA 的內嵌 ALU 元素。 LUT: operator 使用 FPGA 的 LUT 元素。
|
||||
以下範例顯示了運算子 IS_InRange 的使用方式:
-
「列印檢查範例 - 使用 Blob Based Template Matching 進行位置校正與缺陷檢測」
範例 - 幾何轉換與缺陷檢測

![[備註]](../common/images/admon/note.png)
上一頁

