CogPMAlignTool SearchRegion Property Cognex VisionPro 9.5
Region of interest in the InputImage that is used to locate PMAlign pattern(s). NULL means use entire InputImage. The ICogPMAlignRunParams::SearchRegionMode property specifies exactly how the region will be applied to this image.

Namespace: Cognex.VisionPro.PMAlign
Assembly: Cognex.VisionPro.PMAlign (in Cognex.VisionPro.PMAlign.dll) Version: 69.0.0.0
Syntax

public ICogRegion SearchRegion { get; set; }

Property Value

Type: ICogRegion
Events

Event TypeReason
ICogChangedEvent Changed

Fires when the value of this property changes.

The following state flag may be affected:

Remarks

An CogRegion containing the region of interest in the InputImage. The pattern location operation is limited to this region of the InputImage. If you supply NULL for this property, the tool searches the entire input image. The SearchRegionMode property specifies exactly how the region will be applied to this image.

You can specify any type of region (Affine Rectangle, Rectangle, Circle, and so on), and you can specify any degrees of freedom for the region. How non-rectangular regions are used for training is determined by the SearchRegionMode property.

Default Value: NULL

See Also