Collapse
CollapsingX
  • - or -

Procedure for using the EllipseFinder step


The following procedure provides a basic methodology for using the EllipseFinder step:

  1. Define an ellipse model.

  2. Optionally, adjust the EllipseFinder step settings to control the search.

  3. Run the project to the EllipseFinder step to ensure your project works correctly.

Define an ellipse model

To define an ellipse model, perform the following:

  1. Click on the Define ellipse () toolbar button in the Project toolbar.

  2. On the image, click and hold in the center of the elliptical shape that you are defining; then, drag outwards to the required height and width. Alternately, set the Height and Width in the Configuration pane.

    Note that an ellipse's width is always its longest side.

  3. Confirm or cancel the defined shape in the Ellipse control panel ( ).

    To redefine the ellipse, click the Redefine shape button in the Configuration pane.

EllipseFinder step settings

The EllipseFinder step settings control the search. Typically, the default settings are sufficient; however you can specify other values if necessary. To change the default EllipseFinder step settings, perform one or more of the following:

  1. Set the Total number of occurrences, Smoothness, Detail level, Acceptance, and Polarity. Use these, and other Search settings available for all Finder steps, to further control edge extraction and the definition and identification of a match.

  2. Set the Fit score min. Use this to guarantee a certain quality of fit. The fit score is a measure of the correlation of the edges in your model to those in the occurrence. It is equal to [1 - Normalized Fit Error]. A perfect fit gives a fit score of 100.0. The fit error is calculated the same way as in the ModelFinder step. For more information on fit error, see the Fit error subsection of the Determining what is a match section in Chapter 13: ModelFinder step.

  3. Set the Sagitta tolerance. Use this to find deformed elliptical shapes; set this to the allowable radial deviation tolerance. This setting is the same as the one available for the CircleFinder step. See the Sagitta tolerance section in Chapter 14: CircleFinder step for more information.

  4. Set the Coverage max. Use this to locate an arc instead of a full ellipse; specify the expected occurrence contour percentage that will be visible in your image. The default value is 100%.

  5. Enable or disable the Search aspect ratio constraint. Use this to find elliptical shape occurrences with aspect ratios outside the specified aspect ratio range. See the Aspect ratio and search constraint section later in this chapter for more information.