Click or drag to resize

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.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
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

Matrix4x4
A 4x4 matrix, that best transforms (in the least square sense) the points x into y.
See Also