CogOCVMaxRunParams RegionMode Property Cognex VisionPro 9.8
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: 75.1.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
ArgumentOutOfRangeExceptionIf you attempt to set this to a value other than PixelAlignedBounding or AffineTransform.
ObjectDisposedExceptionIf this CogOCVMaxRunParams object has already been disposed.
Remarks

The region mode may be either PixelAlignedBoundingBox or AffineTransform.

This property is ignored if the region is NULL.

See Also