<< 点击显示目录 >> 主页 mappVision帮助助手 > 机器视觉帮助 > mapp Vision > 编程 > 库 > 核心库 > ViBase > 用例 > 使用案例:备份、显示或提供摄像机图像 |
图数据缓冲区和相关功能块
使用功能块 ViBaseGetImage 将图像保存在 USINT 缓冲区 BufferForBinaryImageData 中。缓冲区 BufferForBinaryImageData 的大小至少应与预期图像的大小相同。
Fig.: Data buffers and function blocks involved
Save the image with function block ViBaseGetImage in USINT buffer BufferForBinaryImageData. Buffer BufferForBinaryImageData should have at least the size of the expected image.
•Use case 1: Backing up an image to a storage device
•Use case 2: Displaying an JPEG image with overlay in mapp View