Compute and return a best-fit transformation between 'group A' points and 'group B' points. The RMS error of the computation can also be obtained. The returned transform maps points from the 'group B' space to the 'group A' space.
Namespace: Cognex.VisionPro.CalibFixAssembly: Cognex.VisionPro.CalibFix (in Cognex.VisionPro.CalibFix.dll) Version: 73.0.0.0
Syntax
Parameters
- rmsError
- Type: System Double
The root mean squared (RMS) error between the sets of points.
Return Value
Type: ICogTransform2DA best-fit transform.
Exceptions
| Exception | Condition |
|---|---|
| CogCalibFixNPointTooFewPointsException | There are too few points for the requested DOFs. |
| CogCalibFixNPointUnstableException | The points are in a configuration that is numerically unstable or ambiguous. For example, all points lie along the x-axis and the DOFs need to measure y-axis scaling. |
Remarks
Computes and returns a best-fit transformation between "group A" points and "group B" points, given the allowed degrees of freedom. You can obtain the RMS error data for the computation by supplying a non-NULL rmsError variable. The returned transform maps points from the "group B" space to the "group A" space.
See Also