MatrixHomographyEvaluateHomography(IEnumerableValueTuplePointD3D, PointD3D, Boolean) Method |
Evaluates a 4x4 matrix, that best transforms (in the least square sense) 3D points x into 3D points y.
Namespace: Altaxo.GeometryAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static Matrix4x4 EvaluateHomography(
IEnumerable<(PointD3D x, PointD3D y)> pointPairs,
bool setM44ToOne = true
)
Parameters
- pointPairs IEnumerableValueTuplePointD3D, PointD3D
- Pairs of points (x and y). The resulting 4x4 matrix should transform x into y.
- setM44ToOne Boolean (Optional)
- If true, the resulting matrix is scaled so that the element M44 is 1.
Return Value
Matrix4x4A 4x4 matrix, that best transforms (in the least square sense) the points x into y.
See Also