CogCNLSearchRunParams SearchRegionMode Property Cognex VisionPro
Mode which specifies how the search region is to be applied to the input image of a CNLSearch inspection.

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

public CogRegionModeConstants SearchRegionMode { get; set; }

Property Value

Type: CogRegionModeConstants
Events

Event TypeReason
CogCNLSearchRunParams Changed

Fires when the value of this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

The supplied value is one of the supported CogRegionModeConstants.

Remarks

Mode which specifies how the SearchRegion is to be applied to the InputImage of a CNLSearch inspection.

The CNLSearch tool only supports the PixelAlignedBoundingBox and AffineTransform region modes. If you specify a SearchRegionMode other than a CogRectangle, then the actual portion of the InputImage that is searched is a pixel-aligned bounding rectangle that encloses the supplied SearchRegionMode (unless the SearchRegionMode is a CogRectangleAffineand the SearchRegionMode is AffineTransform.

See Also