Operator Library: Base
SelectComponent 算子支持从输入链路中提取单个彩色分量, 并将其作为灰度像素在输出链路上可用。 使用 Component 参数来选择所需的分量。
| 组件 | |
|---|---|
| 键入 | static 参数 |
| 默认 | 0 |
| 范围 | [0, 2] |
|
此参数用于从输入中选择其中一个彩色分量, 例如,如果输入色彩风格为 RGB,则 Component=0 选择红色,1 选择绿色,2 选择蓝色。 |
|
Operator Library: Base
SelectComponent 算子支持从输入链路中提取单个彩色分量, 并将其作为灰度像素在输出链路上可用。 使用 Component 参数来选择所需的分量。
| 组件 | |
|---|---|
| 键入 | static 参数 |
| 默认 | 0 |
| 范围 | [0, 2] |
|
此参数用于从输入中选择其中一个彩色分量, 例如,如果输入色彩风格为 RGB,则 Component=0 选择红色,1 选择绿色,2 选择蓝色。 |
|



