CogPMAlignRunParams SearchImageMask Property Cognex VisionPro
Mask that is used when running the PMAlign pattern. The mask allows the user to identify areas of the pattern as "Care" or "Don't Care". The mask is aligned to the run-time input image using the SearchImageMaskOffsetX & Y values.

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

public CogImage8Grey SearchImageMask { get; set; }

Property Value

Type: CogImage8Grey
Events

Event TypeReason
CogPMAlignRunParams Changed

Fires when the value of this property changes.

The following state flag may be affected:

Remarks

A maskCogImage8Grey that you use to exclude features in specified parts of the run-time image. Before being applied to the image, the mask is set to the offset in the run-time image specified by SearchImageMaskOffsetY and SearchImageMaskOffsetX. Features located within pixels in the run-time image that correspond to pixels in the mask image that have a value of less than 128 ("don't care pixels") are ignored; mask pixels with values greater than or equal to 128 are care pixels (features that lie within image pixels that correspond to care pixels are considered).

Default Value: NULL

See Also