CogOCVMaxRunParams RegionMode Property Cognex VisionPro 9.7
Gets or sets how the pRegion parameter to Execute(CogImage8Grey, ICogRegion, CogOCVMaxRunParams) is applied to the input image.

Namespace: Cognex.VisionPro.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 73.0.0.0
Syntax

public CogRegionModeConstants RegionMode { get; set; }

Property Value

Type: CogRegionModeConstants
This read/write property of type CogRegionModeConstants may be either PixelAlignedBoundingBox or AffineTransform.
Events

Exceptions

ExceptionCondition
ObjectDisposedExceptionIf this CogOCVMaxRunParams object has already been disposed.
ArgumentOutOfRangeExceptionIf 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