CogShapeModelPolarityConstants EnumerationCognex VisionPro 9.8 SR1
Enumeration of possible polarity values for model features.

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

public enum CogShapeModelPolarityConstants
Members

  Member nameValueDescription
NegativeOne-1If the feature is a closed shape, a polarity of negative one means the image is brighter inside the shape than outside. For open shapes, negative polarity means that following the tangent vector along the shape, brighter pixels are on the right.
Undefined0The polarity of the feature is not defined.
PositiveOne1If the feature is a closed shape, a polarity of positive one means the image is brighter outside the shape than inside. For open shapes, positive polarity means that following the tangent vector along the shape, brighter pixels are on the left.
Remarks

Enumeration of possible polarity values for model features.

See Also