CogPatInspectPattern GetTrainedThresholdImage Method Cognex VisionPro
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.PatInspect
Assembly: Cognex.VisionPro.PatInspect (in Cognex.VisionPro.PatInspect.dll) Version: 65.1.0.0
Syntax

public CogImage8Grey GetTrainedThresholdImage()

Return Value

Type: CogImage8Grey

The CogImage8Grey that represents the current threshold image.

Exceptions

ExceptionCondition
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