|
NAMEv.rectify - Rectifies a vector by computing a coordinate transformation for each object in the vector based on the control points. KEYWORDSvector, rectify, level1, geometry SYNOPSISv.rectify
Flags:
Parameters:
DESCRIPTIONv.rectify uses control points to calculate a 2D or 3D transformation matrix based on a first, second, or third order polynomial and then converts x,y(, z) coordinates to standard map coordinates for each object in the vector map. The result is a vector map with a transformed coordinate system (i.e., a different coordinate system than before it was rectified). The -o flag enforces orthogonal rotation (currently for 3D only) where the axes remain orthogonal to each other, e.g. a cube with right angles remains a cube with right angles after transformation. This is not guaranteed even with affine (1st order) 3D transformation. Great care should be taken with the placement of Ground Control Points. For 2D transformation, the control points must not lie on a line, instead 3 of the control points must form a triangle. For 3D transformation, the control points must not lie on a plane, instead 4 of the control points must form a triangular pyramid. It is recommended to investigate RMS errors and deviations of the Ground Control Points prior to transformation. 2D Ground Control Points can be identified in g.gui.gcp. 3D Ground Control Points must be provided in a text file with the
points option. The 3D format is equivalent to the format for 2D
ground control points with an additional third coordinate:
where x, y, z are source coordinates, east, north, height are target coordinates and status (0 or 1) indicates whether a given point should be used. Numbers must be separated by space and must use a point (.) as decimal separator. If no group is given, the rectified vector will be written to the current mapset. If a group is given and a target has been set for this group with i.target, the rectified vector will be written to the target project and mapset. Coordinate transformation and RMSEThe desired order of transformation (1, 2, or 3) is selected with the order option. v.rectify will calculate the RMSE if the -r flag is given and print out statistcs in tabular format. The last row gives a summary with the first column holding the number of active points, followed by average deviations for each dimension and both forward and backward transformation and finally forward and backward overall RMSE. 2D linear affine transformation (1st order transformation)x’ = a1 + b1 * x + c1 * y
3D linear affine transformation (1st order transformation)x’ = a1 + b1 * x + c1 * y + d1 * z
Polynomial Transformation Matrix (2nd, 3d order transformation)v.rectify uses a first, second, or third order
transformation matrix to calculate the registration coefficients. The
minimum number of control points required for a 2D transformation of the
selected order (represented by n) is
SEE ALSOThe GRASS 4 Image Processing manual g.gui.gcp, i.group, i.rectify,
i.target, m.transform, r.proj, v.proj,
v.transform
AUTHORMarkus Metz based on i.rectify SOURCE CODEAvailable at: v.rectify source code (history) Latest change: Wednesday Nov 27 22:53:26 2024 in commit: b90ce69e88409469369ec1edb86fde8ec822af8b Main index | Vector index | Topics index | Keywords index | Graphical index | Full index © 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
|