Gets the image used to train the current pattern. How this image is generated depends on the TrainRegionMode. Actual features within this image that are trained also depends on the TrainRegionMode, as well as the TrainImageMask.
Namespace: Cognex.VisionPro.CNLSearchAssembly: Cognex.VisionPro.CNLSearch (in Cognex.VisionPro.CNLSearch.dll) Version: 75.0.0.0
Syntax
Return Value
Type: CogImage8GreyThe image.
Exceptions
| Exception | Condition |
|---|---|
| CogOperatorNotTrainedException | This pattern is not trained. |
Remarks
Gets the image used to train the current pattern. How this image is generated depends on the TrainRegionMode. Actual features within this image that are trained also depends on the TrainRegionMode, as well as the TrainImageMask.
See Also