CogPMAlignMulti Execute Method Cognex VisionPro 9.10
Execute this operator.

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

public CogPMAlignMultiResults Execute(
	ICogImage InputImage,
	ICogRegion SearchRegion,
	CogPMAlignMultiRunParams RunParams
)

Return Value

Type: CogPMAlignMultiResults
The results of this inspection.
Exceptions

ExceptionCondition
CogPMAlignPatQuickNotTrainedExceptionif the train algorithm was not PatQuick.
ArgumentNullExceptionIf the supplied RunParams.PMAlignRunParams is NULL.
CogSecurityViolationExceptionIf licensing for this operator cannot be confirmed.
ArgumentExceptionIf the run algorithm is PatFlex or PatMaxPerspective.
CogPMAlignPatMaxNotTrainedExceptionif the train algorithm was not PatMax.
CogPMAlignImageTypeNotSupportedIf the supplied image argument is not CogImage8Grey.
CogOperatorNotTrainedExceptionIf the operator is not trained.
See Also