Click or drag to resize

MatrixHomographyEvaluateHomography(IEnumerableValueTupleDouble, Double, Boolean) Method

Evaluates a 2x2 matrix, that best transforms (in the least square sense) 1D points x into 1D points y.

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Matrix2x2 EvaluateHomography(
	IEnumerable<(double x, double y)> pointPairs,
	bool setM22ToOne = true
)

Parameters

pointPairs  IEnumerableValueTupleDouble, Double
Pairs of points (x and y). The resulting 3x3 matrix should transform x into y.
setM22ToOne  Boolean  (Optional)
If true, the resulting matrix is scaled so that the element M22 is 1.

Return Value

Matrix2x2
A 2x2 matrix, that best transforms (in the least square sense) the points x into y.
See Also