CogPMAlignRunParams RunAlgorithm Property Cognex VisionPro 9.8 SR1
The algorithm used to run this PMAlign pattern. The algorithm specified must be among those for which the PMAlign object was trained.

Namespace: Cognex.VisionPro.PMAlign
Assembly: Cognex.VisionPro.PMAlign (in Cognex.VisionPro.PMAlign.dll) Version: 75.0.0.0
Syntax

public CogPMAlignRunAlgorithmConstants RunAlgorithm { get; set; }

Property Value

Type: CogPMAlignRunAlgorithmConstants
Events

Event TypeReason
CogPMAlignRunParams Changed

Fires when the value of this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

The supplied value is not a member of CogPMAlignRunAlgorithmConstants.

Remarks

The algorithm used to run this PMAlign pattern. The algorithm you specify (which must be one of CogPMAlignRunAlgorithmConstants) must be among those for which the PMAlign object was trained.

The PatMax software supports two pattern-location algorithms: PatMax and PatQuick. PatMax offers higher accuracy than PatQuick, but requires more time to operate. The PatMax algorithm can also return additional score information. You can also specify BestTrained , in which case the tool will run using the highest-accuracy algorithm for which it has been trained.

Default Value: BestTrained

See Also