Search for Colors

NI Vision Assistant

Search for Colors

Main Tab

  1. In the Step Name control, enter a descriptive name for the step.
  2. Verify that the Reposition Region of Interest option is enabled if you want to link the region of interest specified in this step to a previously defined coordinate system.

    Link the region of interest to a coordinate system if the position of the object under inspection changes from image to image, and you need to adjust the position of the region of interest to match the new location of the object.

Template Tab

  1. Create or select the template you want to use for comparison.
    • To create a new template, complete the following steps:
      1. Click Create Template.
      2. Select an ROI and click OK.
      3. Enter a File Name for the template and click OK.
    • To use an existing template, complete the following steps:
      1. Click Load from File.
      2. Browse to the appropriate template image and click OK.
  2. Modify the Ignore Black and White and Sat. Threshold parameters as necessary.

Settings Tab

  1. Select the Number of Matches to Find and a Minimum Score.
  2. Select the appropriate Search Strategy and Color Sensitivity.
  3. Click OK to save this step to the script and exit the Parameter window.