Search a Binary Image for a Shape

NI Vision Assistant

Search a Binary Image for a Shape

  1. In the Step Name control, enter a descriptive name for the step.
  2. Create a new template or select an existing template to use for shape matching:
    • Click Create Template, select an ROI, and click OK. Enter a File name for the template and click OK.

      or

    • Click Load from File, browse to the appropriate template file, and click OK.
  3. Set Minimum Score, which is a threshold parameter between 0 and 1000. Shapes scoring above the specified value are considered matching shapes.
  4. If you want all matching shapes returned regardless of size, select Scale Invariance.
  5. Click OK to save this step to the script.