Operator LineStartToSignal

Operator Library: Signal

當偵測到輸入影像行的開頭時,此 operator 會產生一個信號脈衝。 此 operator 的輸入為影像串流。 此 operator 會等待每個輸入影像行的第一個像素。 當偵測到第一個像素時,會輸出一個時脈週期的信號脈衝。 請參閱以下圖解說明:

請注意,VisualApplets 中可能會存在空行。 對於空行,operator 無法找到第一個像素。 在這種情況下,operator 將在行尾輸出一個脈衝。

此運算子不支援 VisualApplets 功能模擬。

I/O Properties

Property Value
Operator Type M
Input Link I,影像資料輸入
Output Link O,訊號輸出

支援的 Link 格式

Link Parameter Input Link I Output Link O
Bit Width [1, 64]1 1
Arithmetic {unsigned, signed} unsigned
Parallelism any 1
Kernel Columns any 1
Kernel Rows any 1
Img Protocol {VALT_IMAGE2D, VALT_LINE1D} VALT_SIGNAL
Color Format any VAF_GRAY
Color Flavor any FL_NONE
Max. Img Width any any
Max. Img Height any any

1

針對無符號數值,輸入 Bit Width 的範圍是 [1, 64]。 針對有符號輸入,範圍是 [2, 64]。 針對無符號彩色輸入為 [3, 63],針對有符號彩色輸入則為 [6, 63]。

參數

無

使用範例

以下範例顯示了 LineStartToSignal operator 的使用方式: