Operator SplitComponents

Operator Library: Base

「SplitComponents」運算子會將輸入連結上的色彩串流所含的各色成分,分離為輸出端的 三個獨立灰階影像串流。 此運算子的反向運算子為「MergeComponents」。

I/O Properties

Property Value
Operator Type O
Input Link I,資料輸入
輸出連結 O0(動態),資料輸出色彩成分 {R, H, Y, L, X}
O1(動態),資料輸出色彩成分 {G, S, U, A, Y}
O2(動態),資料輸出色彩成分 {B, I, V, B, Z}

Supported Link Format

Link Parameter Input Link I 輸出連結 O0(動態) 輸出鏈路 O1(動態) 輸出鏈路 O2(動態)
Bit Width [3, 63] 無號,[6, 63] 有號 auto1 auto2 auto3
Arithmetic {unsigned, signed} as I as I as I
Parallelism any as I as I as I
Kernel Columns any as I as I as I
Kernel Rows any as I as I as I
Img Protocol {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D} as I as I as I
Color Format VAF_COLOR VAF_GRAY VAF_GRAY VAF_GRAY
Color Flavor {FL_RGB、FL_HSI、FL_YUV、FL_LAB、FL_XYZ} FL_NONE FL_NONE FL_NONE
Max. Img Width any as I as I as I
Max. Img Height any as I as I as I

1 2 3

輸出位元寬度等於輸入位元寬度除以三。

Parameters

無

Examples of Use

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