Operator Library: Hardware Platform
该算子表示 RGB 面阵扫描 GigE Vision 相机与 VisualApplets 之间的图像数据接口。 此算子需要一个类型为 CAM 的 VisualApplets 资源。 在资源对话框中设置相机的资源索引。 资源索引 0 将相机映射到端口 0,索引 1 映射到端口 1,依此类推。 有关详细信息,请查看 “设备资源的分配”。
可以配置此算子以支持 GigE Vision 标准指定的不同数据格式。 下图说明了这些数据格式。

注意
- RGBA8_PACKED and BGRA8_PACKED transmit an alpha component. However the camera port link is specified as RGB. Therefore the alpha component (the 4th component) is cut off inside the camera port and only the other three R, G and B components are provided on the output link. If the 4th component is required, use CameraGrayArea and set the format to MONO8. The 4 provided pixels will build a single RGBA pixel. Now reinterpret the gray pixels as required.
- 相机算子根据需要提取并对齐像素。 例如,将格式设置为 BGR8_PACKED 会强制相机算子在内部交换 B 和 R 分量。 在输出链路上会提供一个完美的 RGB 像素。 RGB10V1 和 RGB10V2 格式也同样适用。 相机算子将输出 3 个连续的分量。
将参数化格式转换为与相机算子的参数化输出链路格式相匹配。 输出链路可以配置为多种 Bit Width。 如果相机格式的 Bit Width 高于输出链路中的参数化 Bit Width,则通过在较低位位置添加位来执行转换。 但是,如果相机格式的 Bit Width 小于输出链路可用的位数,则仅使用最高有效位。
此外,必须在输出链路中指定可能的最大图像尺寸。 然而,实际传输的图像大小可能会更小,但绝不能超过此参数化的最大值。
| 适用于以下硬件平台 |
|---|
| microEnable IV VQ4-GE/-GPoE |
| Link Parameter | Output Link O |
|---|---|
| Bit Width | {24, 30, 36} |
| Arithmetic | unsigned |
| Parallelism | {2, 4} |
| Kernel Columns | 1 |
| Kernel Rows | 1 |
| Img Protocol | VALT_IMAGE2D |
| Color Format | VAF_COLOR |
| Color Flavor | FL_RGB |
| Max. Img Width | any |
| Max. Img Height | any |

上一页

