Maps a point in the selected space of the run-time image to a point in the selected space of the training image using the PatFlex transform held in CogPMAlignResult
Namespace: Cognex.VisionPro.PMAlignAssembly: Cognex.VisionPro.PMAlign (in Cognex.VisionPro.PMAlign.dll) Version: 83.0.0.0
Syntax
Parameters
- runImgPointX
- Type: System Double
The X-coordinate of the point to map from the selected space of the run-time image.
- runImgPointY
- Type: System Double
The Y-coordinate of the point to map from the selected space of the run-time image.
- trainImgPointX
- Type: System Double
The resulting X-coordinate of the mapped point in the selected space of the train image.
- trainImgPointY
- Type: System Double
The Resulting Y-coordinate of the mapped point in the selected space of the train image.
Exceptions
| Exception | Condition |
|---|---|
| CogPMAlignInvalidAlgorithmForPatFlexXFormException | If PatFlex is not used as your Train Algorithm and Run Algorithm. |
See Also