|
@@ -3,50 +3,25 @@
|
|
|
<em>i.ortho.transform</em> is an utility to compute transformation
|
|
|
based upon GCPs and output error measurements.
|
|
|
|
|
|
+<p>
|
|
|
+If coordinates are given with the <b>input</b> file option or fed from
|
|
|
+<tt>stdin</tt>, both the input and the output format is "x y z" with one
|
|
|
+coordinate pair per line. Reverse transform is performed with the
|
|
|
+<b>-r</b> flag.
|
|
|
|
|
|
-<h2>NOTES</h2>
|
|
|
-
|
|
|
-For coordinates given with the <b>coords</b> file option or fed from
|
|
|
-<tt>stdin</tt>, the input format is "x y z" with one coordinate pair per
|
|
|
-line.
|
|
|
+<p>
|
|
|
+The <b>format</b> option determines how control points are printed out.
|
|
|
+A summary on the control points can be printed with the <b>-s</b> flag.
|
|
|
+The summary includes maximum deviation observed when transforming GCPs
|
|
|
+and overall RMS. The <b>format</b> option is ignored when coordinates
|
|
|
+are given with the <b>input</b> file option.
|
|
|
|
|
|
-<p>The transformations are:
|
|
|
-<p>order=1:
|
|
|
-<div class="code"><pre>
|
|
|
- e = [E0 E1][1].[1]
|
|
|
- [E2 0][e] [n]
|
|
|
-
|
|
|
- n = [N0 N1][1].[1]
|
|
|
- [N2 0][e] [n]
|
|
|
-</pre></div>
|
|
|
|
|
|
-order=2:
|
|
|
-<div class="code"><pre>
|
|
|
- e = [E0 E1 E3][1 ] [1 ]
|
|
|
- [E2 E4 0][e ].[n ]
|
|
|
- [E5 0 0][e²] [n²]
|
|
|
-
|
|
|
- n = [N0 N1 N3][1 ] [1 ]
|
|
|
- [N2 N4 0][e ].[n ]
|
|
|
- [N5 0 0][e²] [n²]
|
|
|
-</pre></div>
|
|
|
-
|
|
|
-order=3:
|
|
|
-<div class="code"><pre>
|
|
|
- e = [E0 E1 E3 E6][1 ] [1 ]
|
|
|
- [E2 E4 E7 0][e ].[n ]
|
|
|
- [E5 E8 0 0][e²] [n²]
|
|
|
- [E9 0 0 0][e³] [n³]
|
|
|
-
|
|
|
- n = [N0 N1 N3 N6][1 ] [1 ]
|
|
|
- [N2 N4 N7 0][e ].[n ]
|
|
|
- [N5 N8 0 0][e²] [n²]
|
|
|
- [N9 0 0 0][e³] [n³]
|
|
|
-</pre></div>
|
|
|
+<h2>NOTES</h2>
|
|
|
|
|
|
-["." = dot-product, (AE).N = N'EA.]
|
|
|
-<p>In other words, order=1 and order=2 are equivalent to order=3 with
|
|
|
-the higher coefficients equal to zero.
|
|
|
+Ortho-transformation is a 2-step transformation. First, source
|
|
|
+coordinates are transformed to sensor coordinates, then sensor
|
|
|
+coordinates are transformed to target coordinates.
|
|
|
|
|
|
|
|
|
<h2>SEE ALSO</h2>
|