石鑫华视觉 手机微信QQ:13450001061 / 18038383457

图像编程

LabVIEW Vision-IMAQ Read Image And Vision Info读图像和视觉信息

文章来源:石鑫华视觉网时间:2022-09-05 18:25:38 点击:222

LabVIEW Vision-IMAQ Read Image And Vision Info读图像和视觉信息

在写图像和视觉信息到文件章节中,介绍了不破坏图像写入视觉信息到图像中。但是这样的图像中的视觉信息是无法直接查看的。而本节介绍的Read Image And Vision Info读图像和视觉信息,则是专门用于读取包含了视觉信息的图像并能正常显示出来。

image.png

IMAQ Read Image And Vision Info读图像和视觉信息函数位置

image.png

IMAQ Read Image And Vision Info读图像和视觉信息函数接线端与说明

File Path is the complete pathname, including drive, directory, and filename, of the file to read.

文件路径:是指要读取图像文件的完整路径名称,包含了驱动器、目录以及文件名。

Load Color Palette? (No) determines whether to load the color table present in the file, if the color table exists. If loaded, this table is read and returned by the output Color Palette. The default is FALSE.

加载颜色调色板?(否):如果颜色表存在的话,决定是加载当前文件的颜色表。如果加载,颜色表被读取,并通过Color Palette颜色调色板接线端输出。默认是假值,不加载的。

其它的接线端都是已经介绍过的,就不再多做介绍。下面来看一下具体应用。

image.png

停止事件

image.png

读取图像事件

image.png

读取普通未包含视觉信息的图像

image.png

读取包含视觉信息的图像效果

可以看到,读取包含视觉信息的图像时,使用系统自带的照片查看器是看不到覆盖直线的,而通过读取图像和视觉信息函数,则可以看到覆盖的直线。

首页
84162741QQ
联系