This document is archived and information here might be outdated. Recommended version. |
RMS (Root Mean Square) error expressed relative to the 'from' and 'to' points defining the transformation. These error terms are valid after using DefineFromControlPoints/Ex to define the transformation.
[Visual Basic .NET]
Public Sub GetRMSError ( _
ByRef fromError As Double, _
ByRef toError As Double _
)
[C#]
public void GetRMSError (
ref double fromError,
ref double toError
);
[C++]
HRESULT GetRMSError(
System.Double* fromError,
System.Double* toError
);
[C++] Parameters fromError [out]
fromError is a parameter of type double* toError [out]
toError is a parameter of type double*
IAffineTransformation2D::GetRMSError returns the 'Root Mean Square' error associated with a given transformation defined using the IAffineTransformation2D::DefineFromControlPoints/Ex method. The fromError describes the distance deviations resulting from putting the 'to' control points into the 'from' space using a "best-fit" affine transformation. The toError describes the distance deviations resulting from putting the 'from' points into the 'to' space using another best-fit transformation.
Note: The fromError is in the units of the from space, and the toError is in the units of the 'to' space.