Caliper Scoring

Use the Caliper Scoring tab to create a collection of scoring functions for the calipers to use.

If Edge Mode is Single Edge on the Caliper Settings tab, choose from scoring functions based on the following: 

  • The contrast of a candidate edge
  • The absolute position of the candidate edge

  • The position of a candidate; negative values allowed

See the topic Scoring Functions for Edges and Edge Pairs for details.

If Edge Mode is Edge Pair on the Caliper Settings tab, choose from the following types of scoring functions: 

  • The contrast of a candidate edge pair
  • The absolute position of the candidate edge pair

  • The position of a candidate; negative values allowed

  • The absolute normalized position of a candidate edge pair
  • The normalized position of an edge pair; negative values are allowed

  • The normalized size of the difference between the candidate edge pair size and the expected edge pair size
  • The normalized size of an edge pair with a two sided mapping

  • The normalized size of an edge pair

  • Returns a 1 if the candidate edge pair straddles found position, else 0

See the topic Scoring Functions for Edge Pairs Only for details.

Use the following function buttons to manage the scoring functions:

Button Description
Add a new scoring function. A menu appears with a list of scoring functions appropriate to the current edge mode. Highlight the function that you want and a new line appears in the list of functions at the bottom of the tab. You can add more than one function of the same type.
Remove the currently highlighted function in the list of functions at the bottom of the tab. A verification message appears asking you to confirm deletion.
Move the currently highlighted function up in the list, and updates the index of the function within the collection.

Move the currently highlighted function up in the list, and updates the index of the function within the collection.

The scoring functions support the following parameters: 

Parameter Description
N The index of the scoring function within the function collection
Function Name The name of the function. You can add more than one of the same type of scoring function; the Results tab tracks the functions with both the function name and the index within the function collection.
Enabled Enables or disables this scoring function the next time the Find Line tool executes.
X0 > Xc Represents the orientation of the graph. For the function to be valid, X1 must be between or equal to X0 and Xc. This column allows you to swap X0 and Xc, if necessary.
X0, X1, Xc, Y0, Y1 The parameter values for a one-sided function, or the first set of values for a two-sided function. See each scoring function class for information about these values.
X0h > Xch Represents the orientation of the graph. Applies only to two-sided functions (the SizeDiffNormAsym function). To be valid, X1h must be between or equal to X0h and Xch. This column allows you to swap X0h and Xch, if necessary.
Set XY Parameters The second set of parameter values for a two-sided function.