CogSearchMaxPattern GetTrainedPatternImage Method Cognex VisionPro 9.24
Gets the image used to train the SearchMax pattern. This is the smallest possible sub-image of TrainImage that contains the TrainRegion.

Namespace: Cognex.VisionPro.SearchMax
Assembly: Cognex.VisionPro.SearchMax (in Cognex.VisionPro.SearchMax.dll) Version: 91.0.0.0
Syntax

public ICogImage GetTrainedPatternImage()

Return Value

Type: ICogImage
Exceptions

ExceptionCondition
ObjectDisposedException Thrown if this CogSearchMaxPattern object has already been disposed.
CogOperatorNotTrainedException Thrown if this operator is not trained.
InvalidOperationException Thrown if TrainedImage is NULL.
See Also