Operator RemoveImage

Operator Library: Synchronization

「RemoveImage」運算子用於完全移除影像。 是否移除影像的控制,是透過二進位輸入連結「Rem」來進行。 若「Rem」的第一个像素值為 1,則移除該影像。 若該像素值為 0,則將影像傳送至輸出端。

兩個輸入都必須是同步的,也就是說,它們必須由 同一個 M 型算子,透過任意 O 型算子網路來提供。

此外,空圖片或第一行為空的圖片將會被自動移除!

I/O Properties

Property Value
Operator Type P
Input Links I, 資料輸入
Rem, 控制輸入
Output Link O,資料輸出

Supported Link Format

Link Parameter Input Link I 輸入連結 Rem Output Link O
Bit Width [1, 64]1 1 as I
Arithmetic {unsigned, signed} 無號數 as I
Parallelism any as I as I
Kernel Columns any 1 as I
Kernel Rows any 1 as I
Img Protocol VALT_IMAGE2D VALT_IMAGE2D as I
Color Format any VAF_GRAY as I
Color Flavor any FL_NONE as I
Max. Img Width any any as I
Max. Img Height any any as I

1

無號輸入的 Bit Width 範圍為 [1, 64]。 有號輸入的範圍為 [2, 64]。 無號彩色輸入的範圍為 [3, 63],有號彩色輸入的範圍為 [6, 63]。

Synchronous and Asynchronous Inputs

  • 所有輸入彼此同步,亦即它們必須透過任意的 O 型運算子網路,由相同的 M 型運算子提供來源。

Parameters

無

Examples of Use

以下範例展示了 RemoveImage 運算子的使用方式: