File: m.transform.html

package info (click to toggle)
grass 8.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 277,040 kB
  • sloc: ansic: 460,798; python: 227,732; cpp: 42,026; sh: 11,262; makefile: 7,007; xml: 3,637; sql: 968; lex: 520; javascript: 484; yacc: 450; asm: 387; perl: 157; sed: 25; objc: 6; ruby: 4
file content (73 lines) | stat: -rw-r--r-- 1,966 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<h2>DESCRIPTION</h2>

<em>m.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
<code>stdin</code>, both the input and the output format is "x y" with one
coordinate pair per line. Reverse transform is performed with the
<b>-r</b> flag.

<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.

<h2>NOTES</h2>

The transformations are:
<p>order=1:
<div class="code"><pre>
    e = [E0 E1][1]&middot;[1]
        [E2  0][e] [n]

    n = [N0 N1][1]&middot;[1]
        [N2  0][e] [n]
</pre></div>

order=2:
<div class="code"><pre>
    e = [E0 E1 E3][1 ] [1 ]
        [E2 E4  0][e ]&middot;[n ]
        [E5  0  0][e&sup2;] [n&sup2;]

    n = [N0 N1 N3][1 ] [1 ]
        [N2 N4  0][e ]&middot;[n ]
        [N5  0  0][e&sup2;] [n&sup2;]
</pre></div>

order=3:
<div class="code"><pre>
    e = [E0 E1 E3 E6][1 ] [1 ]
        [E2 E4 E7  0][e ]&middot;[n ]
        [E5 E8  0  0][e&sup2;] [n&sup2;]
        [E9  0  0  0][e&sup3;] [n&sup3;]

    n = [N0 N1 N3 N6][1 ] [1 ]
        [N2 N4 N7  0][e ]&middot;[n ]
        [N5 N8  0  0][e&sup2;] [n&sup2;]
        [N9  0  0  0][e&sup3;] [n&sup3;]
</pre></div>

["&middot;" = dot-product, (AE)&middot;N = N'EA]

<p>In other words, <em>order=1</em> and <em>order=2</em> are equivalent
to <em>order=3</em> with the higher coefficients equal to zero.

<h2>SEE ALSO</h2>

<em>
<a href="i.ortho.transform.html">i.ortho.transform</a>,
<a href="i.rectify.html">i.rectify</a>,
<a href="v.rectify.html">v.rectify</a>,
<a href="v.transform.html">v.transform</a>
</em>

<h2>AUTHORS</h2>

Brian J. Buckley<br>
Glynn Clements<br>
Hamish Bowman