m.transform.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <h2>DESCRIPTION</h2>
  2. <em>m.transform</em> is an utility to compute transformation
  3. based upon GCPs and output error measurements.
  4. <p>
  5. If coordinates are given with the <b>input</b> file option or fed from
  6. <tt>stdin</tt>, both the input and the output format is "x y" with one
  7. coordinate pair per line. Reverse transform is performed with the
  8. <b>-r</b> flag.
  9. <p>
  10. The <b>format</b> option determines how control points are printed out.
  11. A summary on the control points can be printed with the <b>-s</b> flag.
  12. The summary includes maximum deviation observed when transforming GCPs
  13. and overall RMS. The <b>format</b> option is ignored when coordinates
  14. are given with the <b>input</b> file option.
  15. <h2>NOTES</h2>
  16. The transformations are:
  17. <p>order=1:
  18. <div class="code"><pre>
  19. e = [E0 E1][1].[1]
  20. [E2 0][e] [n]
  21. n = [N0 N1][1].[1]
  22. [N2 0][e] [n]
  23. </pre></div>
  24. order=2:
  25. <div class="code"><pre>
  26. e = [E0 E1 E3][1 ] [1 ]
  27. [E2 E4 0][e ].[n ]
  28. [E5 0 0][e&sup2;] [n&sup2;]
  29. n = [N0 N1 N3][1 ] [1 ]
  30. [N2 N4 0][e ].[n ]
  31. [N5 0 0][e&sup2;] [n&sup2;]
  32. </pre></div>
  33. order=3:
  34. <div class="code"><pre>
  35. e = [E0 E1 E3 E6][1 ] [1 ]
  36. [E2 E4 E7 0][e ].[n ]
  37. [E5 E8 0 0][e&sup2;] [n&sup2;]
  38. [E9 0 0 0][e&sup3;] [n&sup3;]
  39. n = [N0 N1 N3 N6][1 ] [1 ]
  40. [N2 N4 N7 0][e ].[n ]
  41. [N5 N8 0 0][e&sup2;] [n&sup2;]
  42. [N9 0 0 0][e&sup3;] [n&sup3;]
  43. </pre></div>
  44. ["." = dot-product, (AE).N = N'EA.]
  45. <p>In other words, order=1 and order=2 are equivalent to order=3 with
  46. the higher coefficients equal to zero.
  47. <h2>SEE ALSO</h2>
  48. <em>
  49. <a href="i.rectify.html">i.rectify</a>,
  50. <a href="v.rectify.html">v.rectify</a>,
  51. <a href="v.transform.html">v.transform</a>
  52. </em>
  53. <h2>AUTHORS</h2>
  54. Brian J. Buckley<br>
  55. Glynn Clements<br>
  56. Hamish Bowman