Operator MergeComponents

Operator Library: Base

MergeComponents 运算符将三个灰度输入链路合并为一个彩色输出链路。 此运算符的逆操作为 'SplitComponents'。

I/O Property

Property 值
Operator Type O
输入链路 I0,数据输入彩色分量 {R, H, Y, L, X}
I1,数据输入彩色分量 {G, S, U, A, Y}
I2,数据输入彩色分量 {B, I, V, B, Z}
Output Link O,数据输出

Supported Link Format

Link Parameter 输入链接 I0 Input Link I1 Input Link I2 Output Link O
Bit Width [1, 21] 无符号,[2, 21] 有符号 作为 I0 作为 I0 auto1
Arithmetic {unsigned, signed} 作为 I0 作为 I0 as I
Parallelism any 作为 I0 作为 I0 as I
Kernel Columns any 作为 I0 作为 I0 as I
Kernel Rows any 作为 I0 作为 I0 as I
Img Protocol {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D} 作为 I0 作为 I0 as I
Color Format VAF_GRAY 作为 I0 作为 I0 VAF_COLOR
Color Flavor FL_NONE 作为 I0 作为 I0 any
Max. Img Width any 作为 I0 作为 I0 as I
Max. Img Height any 作为 I0 作为 I0 as I

1

输出 Bit Width 为三个输入 Bit Width 的总和,即 I0 + I1 + I2。

参数

无

使用示例

以下示例展示了 MergeComponents 运算符的使用: