Gets or sets the search region. Only the portion of the input image
that lies within this region will be searched by PMRedLine. If the
supplied region object is null, the entire input image will be searched.
Namespace: Cognex.VisionPro.PMRedLineAssembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 87.0.0.0
Syntax
Property Value
Type: ICogRegionThe search region. Default value is null.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flags may be affected: |
Remarks
You can restrict what portions of the input image are searched by PMRedLine. There are two restriction methods you can use:
- You can exclude one contiguous area of the image using the SearchRegion.
- You can exclude multiple non-contiguous areas using the SearchImageMask of the CogPMRedLineRunParams class.
See Also