使用案例:备份、显示或提供摄像机图像

<< 点击显示目录 >>

主页  mappVision帮助助手 > 机器视觉帮助 > mapp Vision  > 编程 > > 核心库 > ViBase  > 用例 >

使用案例:备份、显示或提供摄像机图像

fb_vibasegetimage_usecases

图数据缓冲区和相关功能块

使用功能块 ViBaseGetImage 将图像保存在 USINT 缓冲区 BufferForBinaryImageData 中。缓冲区 BufferForBinaryImageData 的大小至少应与预期图像的大小相同。

本节主题

用例 1:将图像备份到存储设备

用例 2:在映射视图中显示带叠加的 JPEG 图像

用例 3:通过网络服务提供图像


fb_vibasegetimage_usecases

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.

Topics in this section:

Use case 1: Backing up an image to a storage device

Use case 2: Displaying an JPEG image with overlay in mapp View

Use case 3: Providing an image via web service