AffineTransformation-class | R Documentation |
Class to define affine transformations to be applied on sp objects. Affine transformations can rotate, shift, scale (even applying different factors on each axis) and skew geometries.
Objects can be created by calls to the function AffineTransformation.
controlPoints
:Object of class "data.frame"
containing
control point coordinates arranged in four (4) columns: X source,
Y source, X target, Y target.
parameters
:Object of class "numeric"
. A vector of six
(6) parameters for representing the transformation, namely: a, b, c, d,
e and f, where
x' = ax + by + c
y' = dx + ey + f
residuals
:Object of class "matrix"
. Only set if Least
Squares is applied, i.e., if more than three (3) control points were
provided. Residuals are the difference between transformed source
coordinates and target coordinates of control points.
rmse
:Object of class "numericOrNULL"
. Only set if
Least Squares is applied, i.e., if more than three (3) control points
were provided. Root Mean Square Error, 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.
Class "Cartesian2DCoordinateTransformation"
, directly.
signature(object = "AffineTransformation")
:
Calculate transformation parameters from control points.
German Carrillo
Iliffe, J. and Lott, R. Datums and map projections: For remote sensing, GIS and surveying. Section 4.5.4. pp.115-117, 2008.
AffineTransformation
showClass("AffineTransformation")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.