Find Edges Controls

NI Vision Builder

Check for Presence Tab Locate Features Tab

Find Edges Controls

Main Tab

The following controls are available on the Main tab.

Control Name Description
Step Name Name to give the step.
Region of Interest The region of interest you want to use for the step.
Reposition Region of Interest When enabled, the step dynamically repositions the region of interest based on a coordinate system you built in a previous step.
Reference Coordinate System Coordinate system to which you want to link the region of interest.

Setting Tab

The following controls are available on the Settings tab.

Control Name Description
Look For Specifies the type of edges to find in the image. The following options are available:
  • All Edges—Finds all edges of the specified polarity along the search line.
  • First Edge—Finds only the first edge of the specified polarity along each independent search line based on the direction of the search line.
  • First & Last Edge—Finds only the first and last edges of the specified polarity along each independent search line.
  • Best Edge—Finds only the best edge of the specified polarity along each independent search line.
Edge Polarity Specifies the pixel intensity transitions to use to determine edges. The following options are available:
  • All Edges—Finds edges characterized by dark-to-bright and bright-to-dark pixel intensity transitions.
  • Dark to Bright Only—Finds only those edges characterized by dark-to-bright pixel intensity transitions along the direction of the search line.
  • Bright to Dark Only—Finds only those edges characterized by bright-to-dark pixel intensity transitions along the direction of the search line.
Auto Setup When enabled, the step determines a set of parameters optimized to locate all edges in the region of interest automatically, regardless of polarity.
Minimum Edge Strength Minimum difference in the intensity values between the edge and its surroundings.
Kernel Size Specifies the size of the edge detection kernel.
Projection Width Specifies the number of pixels averaged perpendicular to the search direction to compute the edge profile strength at each point along the region of interest.
Edge Strength Profile A graphical representation of the edge contrast along the search line.

Advanced Tab

The following controls are available on the Advanced tab.

Control Name Description
Edge Strength Profile A graphical representation of the edge contrast along the search line. The yellow lines indicate the location of the edges.
Edge Points Found Displays information about the edge points found on the specified Search Line/Edge Index. The following information is displayed for each edge:
  • Strength—Strength of the edge. Values range from 0 to 1000 with larger values indicating a stronger edge.
  • STR—Signal to threshold ratio for the edge, expressed in decibels.
  • TNR—Threshold to noise ratio for the edge, expressed in decibels.
  • SNR—Signal to noise ratio for the edge, expressed in decibels.

Limits Tab

The following controls are available on the Limits tab.

Control Name Description
Minimum Number of Edges Minimum number of edges you expect the step to find.
Maximum Number of Edges Maximum number of edges you expect the step to find.
Number of Edges Found Number of edges the step found.
Step Results Displays information about the edges found in the image.
Note  When you calibrate the image using a Calibrate Image step, X and Y are returned in the calibration unit you specified.