Operator CastColorSpace

Operator Library: Base

通过 CastColorSpace 算子可更改逻辑属性 Color Flavor。 输入链路的值将被复制到输出链路。 该算子不会对数据流产生影响,也不需要任何 FPGA 资源。

I/O Property

Property 值
Operator Type O
Input Link I,数据输入
Output Link O,数据输出

Supported Link Format

Link Parameter Input Link I Output Link O
Bit Width [3, 63] 无符号,[6, 63] 有符号 as I
Arithmetic {unsigned, signed} as I
Parallelism any as I
Kernel Columns any as I
Kernel Rows any as I
Img Protocol {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D} as I
Color Format VAF_COLOR as I
Color Flavor any 除 FL_NONE 外的任何值
Max. Img Width any as I
Max. Img Height any as I

参数

无

使用示例

以下示例展示了 CastColorSpace 算子的用法: