|
Polarity Setting |
Icon |
Description |
|
Black-to-White |
|
A threshold transition from a dark color to a light color is interpreted as an edge. |
|
White-to-Black |
|
A threshold transition from a light color to a dark color is interpreted as an edge. |
|
First Edge |
|
A threshold transition in either direction is interpreted as an edge. |
|
Absolute Max |
|
The maximum contrast change in either direction is interpreted as an edge. |
|
User Pick |
|
The n-th transition (selected by the user) is interpreted as an edge. |
Edge
|
Polarity Setting |
Edges found? |
Discussion |
|
Black-to-White |
No |
With this polarity setting, CMM-Manager identifies an edge when it sees a transition from black (dark) pixels to white (light) ones. However, scanning outward for the circle shown above, CMM-Manager will pass from white to black as it passes over the circle's edge. This transition is opposite to the Black-to-White polarity setting, so no edges will be detected. |
|
White-to-Black |
Yes |
This polarity setting identifies an edge as a threshold transition from white (light) to black (dark) pixels. As CMM-Manager scans outward for the circle shown above, it passes from white to black as it passes over the circle's edge. This transition is the same as the White-to-Black polarity setting, so all edges will be detected. |
|
First Edge |
Yes |
Since the First Edge polarity setting identifies an edge by a threshold transition in grayscale value from either direction (light-to-dark or dark-to-light), all edges will be detected. |
|
Absolute Max |
Yes |
Since the Absolute Max polarity setting identifies the maximum contrast change in either direction (light-to-dark or dark-to-light), all edges will be detected. |
|
User Pick |
Yes |
Since the user picks the edge, as long as a transition exists above the threshold value, all edges will be detected. |