CogSearchMaxPattern Untrain Method Cognex VisionPro 9.23
Discards any trained data.

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

public void Untrain()
Events

Event TypeReason
ICogChangedEvent Changed

Fires when pattern object is modified.

The following state flags may be affected:

  • SfTrained
  • SfGetTrainedPatternImage
  • SfGetTrainedPatternImageMask
Exceptions

ExceptionCondition
ObjectDisposedException Thrown if this CogSearchMaxPattern object has already been disposed.
See Also