Gets an image representing the mask used to train the current pattern. This mask is the combination of the TrainImageMask and any mask that may be required by TrainRegionMode. This mask is the same size as the image returned by GetTrainedPatternImage.
Namespace: Cognex.VisionPro.PatInspectAssembly: Cognex.VisionPro.PatInspect (in Cognex.VisionPro.PatInspect.dll) Version: 83.0.0.0
Syntax
Return Value
Type: CogImage8GreyThe CogImage8Grey that represents the mask used to train the current pattern.
Exceptions
| Exception | Condition |
|---|---|
| CogOperatorNotTrainedException | The pattern is not trained. |
Remarks
Gets an CogImage8Grey representing the mask used to train the current pattern. This mask is the combination of the TrainImageMask and any mask that may be required by TrainRegionMode. This mask is the same size as the image returned by GetTrainedPatternImage .
See Also