vec2dtransf (version 1.1.3)

getResiduals: Get residuals

Description

Retrieves the residuals if redundant control points were provided when creating the transformation object

Usage

getResiduals(object)

Value

2-column matrix with coordinate differences

Arguments

object

Object of the class SimilarityTransformation or AffineTransformation

Author

German Carrillo

Details

Residuals are determined only if Least Squares is applied, i.e., if more than the required control points were provided. Residuals are the difference between transformed source coordinates and target coordinates of control points.

References

Iliffe, J. and Lott, R. Datums and map projections: For remote sensing, GIS and surveying. Section 4.9.3-4. pp.135-137, 2008.

See Also

SimilarityTransformation-class AffineTransformation-class

Examples

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

Run the code above in your browser using DataLab