Gets an image representing the currently trained threshold image. Pixel differences at run-time that are greater than the corresponding threshold image pixel are considered defects. This image is the same size as the GetTrainedPatternImage.
Namespace: Cognex.VisionPro.PatInspectAssembly: Cognex.VisionPro.PatInspect (in Cognex.VisionPro.PatInspect.dll) Version: 87.1.0.0
Syntax
Return Value
Type: CogImage8GreyThe CogImage8Grey that represents the current threshold image.
Exceptions
| Exception | Condition |
|---|---|
| CogOperatorNotTrainedException | The pattern is not trained. |
Remarks
Gets an CogImage8Grey representing the currently trained threshold image. Pixel differences at run-time that are greater than the corresponding threshold image pixel are considered defects. This image is the same size as the GetTrainedPatternImage .
See Also