Image Transformer vTool#
下载 pylon Software Suite 即可使用 Image Transformer vTool。

运作原理#
转换输入模式有两种:
- Parameter: 这允许您使用可用的参数逐个指定转换值,例如水平和垂直平移、绕中心或原点的旋转以及水平和垂直 Scaling。
- Matrix: 这允许您直接编辑转换矩阵,例如在预先已知转换矩阵或数值来自其他来源的情况下。
转换图像可能会导致图像的一部分超出原始图像区域。例如,如果您旋转图像,其角可能会被裁切。为了防止这种情况,可以使用 Image Resize Mode,它允许您指定是保持图像的原始大小(这意味着会丢失图像内容),还是手动或自动调整其大小。
配置 vTool#
若要配置 Image Transformer vTool,请在 Workbench 中双击它。随即会打开一个对话框,显示所有可用设置。或者,您也可以在 Features - All 窗格中找到相同的设置。
输入#
图像#
可以直接从 Camera vTool 或任何其他输出图像的 vTool 接收图像。
- 数据类型:图像
- 图像格式:8 位到 16 位单色或彩色图像(请参阅支持的 Pixel Format)
输出#
图像#
返回与输入图像具有相同数据类型的转换后图像。
- 数据类型:图像
- 图像格式:彩色或单色图像(请参阅支持的 Pixel Format)
支持的 Pixel Format#
根据输入图像的 Pixel Format,Image Transformer vTool 会输出以下 Pixel Format:
| 输入 Pixel Format | 输出 Pixel Format |
|---|---|
| Bayer GR 8 | RGB 8 Planar |
| Bayer GR 16 | RGB 16 Planar |
| Bayer RG 8 | RGB 8 Planar |
| BGRA 8 Packed | RGB 8 Planar |
| BGR 8 Packed | RGB 8 Planar |
| Mono 8 | Mono 8 |
| Mono 10 | Mono 10 |
| Mono 12 | Mono 12 |
| Mono 16 | Mono 16 |
| RGB 8 Packed | RGB 8 Planar |
| RGB 16 Packed | RGB 16 Planar |
| RGB 8 Planar | RGB 8 Planar |
| RGB 16 Planar | RGB 16 Planar |