Scoring Functions for Edge Pairs Only
A Caliper tool supports the following scoring functions for edge pairs:
| Scoring Function | Example |
|---|---|
|
PositionNorm
Edge pairs which are closer to the center of the projection region score higher than pairs that are farther away from the center. The distance between the edge pair center and the caliper region center is normalized: it represents the position of the pair divided by the expected width of the pair.
To give centered edge pairs lower scores than off-center edge pairs, set x0 > x1 > xc. |
|
|
PositionNormNeg
Edge pairs are scored by their normalized position within the search region, relative to its center.
If the region is searched from left to right, positions to the left of the center will be negative and positions to the right will be positive.
You use this function to give edge candidates lower scores the closer they are to the right edge of the input region.
To give edge pairs with positive distances higher scores than edges with negative distances, set x0 > x1 > xc. |
|
|
SizeDiffNorm
Edge pairs are scored based on their width, normalized by dividing the found width by the expected width. For example, an edge pair that is exactly twice as wide as expected will have a normalized size of 2.
To give larger edge pair widths lower scores, set xc > x1 > x0. |
|
|
SizeDiffNormAsym
This function is the same as SizeDiffNorm except that you can score smaller-than-expected edge pairs differently from larger-than-expected edge pairs. You do this by specifying a two-sided scoring function.
To give low scores for edges of the expected size and higher scores for narrow or wide scores, set x0H > x1H > xCH > xC > x1 > x0. |
|
|
SizeNorm
Edge pairs are scored based on their width, normalized by dividing the found width by the expected width. For example, an edge pair that is exactly twice as wide as expected will have a normalized size of 2.
To give larger edge pair widths lower scores, set xc > x1 > x0. |
|
|
Straddle
Edge pairs where the edges straddle the center point of the caliper region receive a score of 1 while edge pairs which do not straddle the center point receive a score of 0. |
|