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