運算子 FrameStartToSignal

Operator Library: Signal

當偵測到輸入影像的起始點時,此運算子會產生一個訊號脈衝。 此運算子的輸入為影像串流。 此運算子會等待輸入影像的第一個像素。 當偵測到第一個像素時,會輸出一個為期一個時鐘週期的訊號脈衝。 詳情請參閱下圖說明:

請注意,VisualApplets 中可能存在空影像。 對於空影像,該運算子無法找到第一個像素。 在此情況下,該運算子將在幀的結尾輸出一個脈衝。 若幀的第一行不包含任何像素,該運算子將在第一行的結尾輸出一個脈衝。

此 operator 不包含在 VisualApplets 功能模擬中。

I/O Properties

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

Supported Link Format

Link Parameter Input Link I Output Link O
Bit Width [1, 64]1 1
Arithmetic {unsigned, signed} 無號數
Parallelism any 1
Kernel Columns any 1
Kernel Rows any 1
Img Protocol VALT_IMAGE2D 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]。

Parameters

無

Examples of Use

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