ShapePolarityConstants EnumerationCognex VisionPro 9.23

Enumeration of possible polarity values for model features.

Namespace: Cognex.Vision.Implementation
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.24.0.0
Syntax

public enum ShapePolarityConstants
Members

  Member nameValueDescription
Undefined0

The polarity of the feature is not defined.

PositiveOne1

If 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.

NegativeOne-1

If 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.

Remarks

Enumeration of possible polarity values for model features.

See Also