g.transform.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <H2>DESCRIPTION</H2>
  2. <EM>g.transform</EM> is an utility to compute transformation
  3. based upon GCPs and output error measurements.
  4. <H2>NOTES</H2>
  5. For coordinates given with the <b>coords</b> file option or fed from
  6. <tt>stdin</tt>, the input format is "x y" with one coordinate pair per
  7. line.
  8. <p>
  9. The transformations are:
  10. <p>
  11. order=1:
  12. <div class="code"><pre>
  13. e = [E0 E1][1].[1]
  14. [E2 0][e] [n]
  15. n = [N0 N1][1].[1]
  16. [N2 0][e] [n]
  17. </pre></div>
  18. order=2:
  19. <div class="code"><pre>
  20. e = [E0 E1 E3][1 ] [1 ]
  21. [E2 E4 0][e ].[n ]
  22. [E5 0 0][e&sup2;] [n&sup2;]
  23. n = [N0 N1 N3][1 ] [1 ]
  24. [N2 N4 0][e ].[n ]
  25. [N5 0 0][e&sup2;] [n&sup2;]
  26. </pre></div>
  27. order=3:
  28. <div class="code"><pre>
  29. e = [E0 E1 E3 E6][1 ] [1 ]
  30. [E2 E4 E7 0][e ].[n ]
  31. [E5 E8 0 0][e&sup2;] [n&sup2;]
  32. [E9 0 0 0][e&sup3;] [n&sup3;]
  33. n = [N0 N1 N3 N6][1 ] [1 ]
  34. [N2 N4 N7 0][e ].[n ]
  35. [N5 N8 0 0][e&sup2;] [n&sup2;]
  36. [N9 0 0 0][e&sup3;] [n&sup3;]
  37. </pre></div>
  38. ["." = dot-product, (AE).N = N'EA.]
  39. <p>
  40. In other words, order=1 and order=2 are equivalent to order=3 with
  41. the higher coefficients equal to zero.
  42. <H2>SEE ALSO</H2>
  43. <EM><A HREF="i.rectify.html">i.rectify</A></EM>
  44. <H2>AUTHORS</H2>
  45. Brian J. Buckley<br>
  46. Glynn Clements<br>
  47. Hamish Bowman
  48. <p>
  49. <i>Last changed: $Date$</i></p>