From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



使用Vision Builder for Automated Inspection时,出现错误图像类型的信息。



主要软件:
主要软件版本: N/A
主要软件修正版本: N/A
次要软件: N/A

问题: 当我运行Vision Builder for Automated Inspection(VBAI)脚本时,出现如下信息:"Invalid Image Type: The type of image acquired is not supported by this step"。我的脚本出现什么错误么?

解答: 由于VBAI的大多数操作只能适用于灰度值的图像,因此当使用彩色图像时常常会遇到这个错误。

执行下列步骤将您的彩色图像转变为灰度图像:
  1. 添加一个Image Assistant 步骤
  2. Color » Extract Color Planes HSL-Luminace Plane
  3. File » Exit 离开Image Assistant 回到VBAI 脚本


现在您可以执行您的步骤,而不会出现上述错误信息。

相关链接:

附件:





报告日期: 06/09/2003
最近更新: 03/25/2004
文档编号: 2Y8DFRPG