Gets or sets the mask to be used when training a CogPMRedLine pattern.
The mask allows you to identify areas of the train image as "Care" or
"Don't Care".
Namespace: Cognex.VisionPro.PMRedLineAssembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 73.0.0.0
Syntax
Property Value
Type: CogImage8GreyThe mask for the train image. Default value is null.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flags may be affected: |
Remarks
The train mask prevents parts of the train image from being trained by PMRedLine. Any pixel in the train image that aligns with a "Don't Care" mask pixel will be ignored by PMRedLine. Any pixel in the input image that aligns with a "Care" mask pixel (or no mask pixel at all) will be used by PMRedLine during training.
If you change this value on a trained pattern object, the pattern will become untrained.
See Also