Operator RGB2YUV

Operator Library: Color

模組 RGB2YUV 會將色彩空間從 RGB 轉換為 YCbCr。

[警告] 該運算子將 RGB 轉換為 YCbCr,而非 YUV

此運算子僅將 RGB 轉換為 YCbCr,不會將 RGB 轉換為 YUV。

Operator Features and Restrictions

  • 完全支援 Empty Images(即不含像素的影像)。

  • 完全支援包含空行的 Not empty Images。

  • 完全支援行長度可變的影像。

I/O Properties

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

Supported Link Format

Link Parameter Input Link I Output Link O
Bit Width 24 as I
Arithmetic 無號數 as I
Parallelism any as I
Kernel Columns 1 as I
Kernel Rows 1 as I
Img Protocol {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D} as I
Color Format VAF_COLOR as I
Color Flavor FL_RGB FL_YUV
Max. Img Width any1 as I
Max. Img Height any as I

1

VALT_IMAGE2D 和 VALT_LINE1D:Maximal Image Width 必須能被 Parallelism 整除(對於 VALT_PIXEL0D 和 VALT_SIGNAL 則不重要)。

Parameters

無

Examples of Use

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