Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.1.0.0
Property Value
Type: CogShapeExtractVocabularyConstants| Event Type | Reason |
|---|---|
| CogShapeExtract Changed | Fires when this property changes. The following state flag may be affected: |
| Exception | Condition |
|---|---|
| ArgumentException | The supplied value is 0 (no shapes). |
Indicates which primitive shapes that may be extracted. The shape vocabulary is an integer that is obtained by ORing together the vocabulary constants of the desired primitive shapes.
If both the circle and ellipse shapes are enabled, then Execute(CogImage8Grey, ICogRegion) will generate a circle whenever the raw edges can be fit to a circle within the specified ApproximationTolerance. Similarly, if both the circular and elliptical arc shapes are enabled, Execute(CogImage8Grey, ICogRegion) will generate an elliptical arc with equal radii if the raw edges can be fit to a circular arc within the specified ApproximationTolerance.
Default Value: LineSegment + EllipticalArc + Ellipse