Find Circular Edge Configuration

NI Vision Builder

Locate Features Tab

How to Find a Circular Edge

Main Tab

  1. In the Step Name control, enter a descriptive name for the step.
  2. Choose one of the following methods to specify the region of interest for the step:
    • Create a new region of interest.
      1. Select Constant from the Region of Interest listbox.
      2. Select a tool from the menu toolbar that matches the type of region of interest you want to specify.
      3. Draw a region of interest on the image.
    • Select a previously defined region of interest from the Region of Interest listbox.

    When you specify a region of interest, the step automatically tries to locate a circular edge in the region. If the automatically located edge corresponds to the edge you expected to find, proceed to step 5. Otherwise, proceed to step 4.

  3. 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.

Settings Tab

  1. Select the Direction property of the search lines. Select the search direction along the lines that has the least number of obstacles between the edge of the region and the object edge you want to find.
  2. Select the Edge Polarity of the circular edge you want to find.
  3. Choose the type of edges you want to detect from the Look For control. You can choose from First Edge or Best Edge.
  4. If the automatically located circular edge corresponds to the edge you expected to find, proceed to step 8. Otherwise, disable the Auto Setup control and manually adjust the edge location parameters. Use the edge information on the Advanced tab to determine appropriate settings for the edge location parameters.

    If the Edge Strength Profile contains a strong peak that corresponds to the edge you want to find, adjust the blue edge strength line so that it lies slightly below the top of the edge peak but above all of the other peaks. Use the Search Line Index control to display edge profile information for each search line in the region of interest.

    If the Edge Strength Profile does not contain peaks that correspond to all the edges, adjust the Kernel Size and Projection Width controls until distinct peaks appear. If the step still cannot find the edge or the location of the detected edge is inaccurate, adjust the Gap between the search lines until you achieve the expected result.

Limits Tab

  1. Set the limits that correspond to the specifications of the part under inspection.