Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Property Value
Type: Double| Event Type | Reason |
|---|---|
| CogShapeExtract Changed | Fires when this property changes. The following state flag may be affected: |
| CogShapeExtract Changed | Fires when both this property and PerimeterLimitMin change. The following state flags may be affected: |
| Exception | Condition |
|---|---|
| ArgumentException | The supplied value is less than or equal to zero. |
The maximum allowed perimeter length of extracted shapes when PerimeterLimitsEnabled is true. The maximum perimeter length is specified in units of the selected space of the input image.
PerimeterLimitMin must be less than or equal to PerimeterLimitMax. If one property changes such this relationship is not maintained, the other property is set equal to this one.
Note: The limit checking is performed after connect tolerance checking is performed but before the raw edges are converted into a shape. The perimeter limit is checked against the perimeter of a polyline with a vertex at each edge point. Under some conditions, the final approximated shape will have a perimeter outside of the specified limits.
Default Value: 10,000.0