Learn R Programming

vec2dtransf (version 1.1.3)

getRMSE: Get RMSE

Description

Retrieves the Root Mean Square Error (RMSE) if redundant control points were provided when creating the transformation object

Usage

getRMSE(object)

Value

A number representing the RMSE

Arguments

object

Object of the class SimilarityTransformation or AffineTransformation

Author

German Carrillo

Details

RMSE is determined only if Least Squares is applied, i.e., if more than the required control points were provided. The RMSE is useful when comparing two transformations. It measures the general deviation of transformed source coordinates with respect to target coordinates of control points. It has the same units as the coordinates, usually meters.

See Also

SimilarityTransformation-class, AffineTransformation-class

Examples

Run this code
data(control.points)
at <- AffineTransformation(control.points[2:5])
calculateParameters(at)
getRMSE(at) 

Run the code above in your browser using DataLab