CogBlob RegionMode Property Cognex VisionPro
Specifies whether blob analysis will be performed strictly within the confines of the region specified or whether blob analysis will be performed within the image aligned bounding box of the region.

Namespace: Cognex.VisionPro.Blob
Assembly: Cognex.VisionPro.Blob (in Cognex.VisionPro.Blob.dll) Version: 65.1.0.0
Syntax

public CogRegionModeConstants RegionMode { get; set; }

Property Value

Type: CogRegionModeConstants
The default is PixelAlignedBoundingBoxAdjustMask
Events

Event TypeReason
ICogChangedEvent Changed

Fires when the value of this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException The property is set to a value other than those specified above.
Remarks

Specifies whether blob analysis will be performed strictly within the confines of the region specified or whether blob analysis will be performed within the image aligned bounding box of the region.

This property may only be set to one of the following values: PixelAlignedBoundingBoxAdjustMask or PixelAlignedBoundingBox.

If no Region argument is supplied to the Execute(ICogImage, ICogRegion) function, then this property is ignored.

See Also