CogShapeExtractRankModeConstants EnumerationCognex VisionPro
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.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax

public enum CogShapeExtractRankModeConstants
Members

  Member nameValueDescription
Perimeter0Rank shapes based on perimeter length. Longer shapes rank higher.
Contrast1Rank shapes based on average contrast along their length. Higher contrast shapes rank higher.
Proximity2Rank 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