设置颜色模型识别工具

添加该工具之后,需要选择区域类型,然后在图像中进行配置:

  1. From the Model drop-down menu, select the type of regionRectangle (default), Circle, Annulus or Polygon. Position and configure the region within the image where you expect the color(s) to appear; make sure that the boundaries of the region cover the color(s) and their possible locations. To help the performance of the tool, create smaller regions; larger regions require longer to inspect. If you’re not using a fixture, ensure that the color(s) are present in roughly the same location in every image, or the region is large enough to account for the expected movement of the color(s).

    Note: 添加工具后,您可以通过右键单击图像中的区域并从将区域更改到选项中选择所需的形状来更改区域类型。

  1. 确定按钮确认区域(按取消按钮则不会将该工具添加到作业)。
  1. 配置搜索区域后,需要配置该工具的颜色库并激活相应的颜色模型
  1. 设置颜色模型颜色库后,该工具将处理图像,搜索区域内与所选颜色模型匹配的所有像素都会变为白色 (255),而与颜色模型不匹配的像素则会变为黑色 (0)。
  2. 初始配置工具后,根据需要加载多幅图像和调整工具参数,以补偿预期的变化范围。
  3. 最后,根据需要使用工具的输入/输出属性在其它工具和/或其它外部设备之间共享工具数据。