CogShapeExtractPolarityConstants EnumerationCognex VisionPro 9.8
Enumeration of options used to specify the desired polarity of any extracted closed shapes. The polarity setting has no effect on the extraction of open shapes.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.1.0.0
Syntax

public enum CogShapeExtractPolarityConstants
Members

  Member nameValueDescription
DontCare0Extract all closed shapes regardless of polarity.
LightOnDark1Extract only those closed shapes which are light on a dark background.
DarkOnLight2Extract only those closed shapes which are dark on a light background.
Remarks

Enumeration of options used to specify the desired polarity of any extracted closed shapes. The polarity setting has no effect on the extraction of open shapes.

See Also