Operator Library: Logic
如果輸入連線 I 的值不等於參數 Number 的值,IS_NotEqual 運算子會將輸出設為邏輯「1」,否則輸出為「0」。
若要比較兩個輸入連線的值,請改用運算子 CMP_NotEqual。
| 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 |
| Number | |
|---|---|
| Type | static/dynamic read/write parameter |
| Default | 0 |
| 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 元素。
|
||||
The use of operator IS_NotEqual is shown in the following examples:
-
從 10 張影像中移除 9 張。
-
範例 - 未使用 SampleDn 運算子進行 3x3 因數下取樣。
-
範例 - 展示如何分割與合併影像串流。並在影像附加尾碼。

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

