CogPMAlignPattern TrainImageMask Property Cognex VisionPro 9.7
Mask used when training the PMAlign pattern. The mask allows the user to identify areas of the pattern as "Care" or "Don't Care". The "Don't Care" areas can also be subclassified into "Score" and "Don't Score" with regards to clutter.

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

public CogImage8Grey TrainImageMask { get; set; }

Property Value

Type: CogImage8Grey
Events

Remarks

Mask used when training the PMAlign pattern. The pixel values in the mask image are interpreted as follows:

Greater than 191 Care pixels. Features within care pixels are included in the trained pattern.

64 through 127 Don't Care but Score. Features within these pixels are not included in the trained pattern, but when found in the run-time pattern, they are scored as clutter features.

0 through 63 Don't Care and Don't Score. Features within these pixels are not included in the trained pattern, and when found in the run-time pattern, they are not scored as clutter features.

128 through 191 Reserved for future use by Cognex.

Note: Changing this property causes this CogPMAlignPattern to become untrained.

Default Value: NULL (no mask image)

See Also