Enumeration of possible shape ranking modes. The returned collection of shapes is sorted from highest rank to lowest. If more shapes than the maximum number requested are found then the lowest ranking shapes are discarded.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.1.0.0
Syntax
Members
| Member name | Value | Description | |
|---|---|---|---|
| Perimeter | 0 | Rank shapes based on perimeter length. Longer shapes rank higher. | |
| Contrast | 1 | Rank shapes based on average contrast along their length. Higher contrast shapes rank higher. | |
| Proximity | 2 | Rank shapes based on their distance from the shape specified by the ProximityShape parameter. Shapes closer to the proximity shape rank higher. |
Remarks
Enumeration of possible shape ranking modes. The returned collection of shapes is sorted from highest rank to lowest. If more shapes than the maximum number requested are found then the lowest ranking shapes are discarded.
See Also