Gets or sets how the pRegion parameter to Execute(CogImage8Grey, ICogRegion, CogOCVMaxRunParams) is applied to the input image.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax
Property Value
Type: CogRegionModeConstantsThis read/write property of type CogRegionModeConstants may be either PixelAlignedBoundingBox or AffineTransform.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. |
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | If this CogOCVMaxRunParams object has already been disposed. |
| ArgumentOutOfRangeException | If you attempt to set this to a value other than PixelAlignedBounding or AffineTransform. |
Remarks
The region mode may be either PixelAlignedBoundingBox or AffineTransform.
This property is ignored if the region is NULL.
See Also