Debian Codegraph @

imagery/i.ortho.photo/alg_camera_position.txt

raw
1 This file contains commented 'ortho_compute.rst' debug output
2 (appears when compiling i.ortho.photo with DEBUG option) to
3 explain the algorithm of space resection by collinearity
4 (WOLF 1983), to estimate the camera position.
5
6 The initial values are fetched from photo.init.
7
8 +---------------> CAMERA INFO
9
10 Xp = 0.000000
11 Yp = 0.000000
12 CFL = 11.800000
13
14
15
16 +---------------> INITIAL CAMERA POSITION
17
18 XC = 1652015.000000 YC = 5103337.000000 ZC = 914.000000
19 Omega = 0.000000 Phi = 0.349066 Kappa = 0.000000
20
21
22
23 +---------------> START ITERATIONS
24 NOTES: the iterations runs for all ground control points (photo.2target)
25 up to convergence (check CONV_LIMIT in orthoref.c).
26
27 ITERATION = 0
28
29 epsilon:
30 XC = 1652015.000000
31 YC = 5103337.000000
32 ZC = 914.000000
33 omega = 0.000000
34 phi = 0.349066
35 kappa = 0.000000
36
37
38 In Summation count = 0
39
40 image:
41 x = -3.518434
42 y = -26.953172
43 z = -11.800000
44 object:
45 X = 1652245.970342
46 Y = 5102078.718011
47 Z = 245.609802
48
49 residual:
50 E1 = 13.095463
51 E2 = -0.087694
52
53 In Summation count = 1
54
55 [...]
56 In Summation count = 27
57
58 image:
59 x = 7.524751
60 y = -22.332348
61 z = -11.800000
62 object:
63 X = 1652190.615439
64 Y = 5102020.440457
65 Z = 245.175095
66
67 residual:
68 E1 = 0.649684
69 E2 = -4.998227
70
71 N:
72 0.023232 -0.007594 0.041207 -58.827999 -26.156341 7.749041
73 -0.007594 0.015323 -0.020863 32.738698 9.232664 8.427460
74 0.041207 -0.020863 0.182047 -254.246960 -101.644418 -40.353250
75 -58.827999 32.738698 -254.246960 368915.286868 143415.182361 58185.471806
76 -26.156341 9.232664 -101.644418 143415.182361 64586.787232 18735.832101
77 7.749041 8.427460 -40.353250 58185.471806 18735.832101 35399.758551
78
79 C:
80 -14.836947 -8.539461 -84.342234 111925.164496 47871.166815 13222.204463
81
82 delta:
83
84 XC = -1219.406696
85 YC = -1826.360825
86 ZC = -161.790295
87 omega = 0.001796
88 phi = -0.000135
89 kappa = 0.887921
90
91 ITERATION = 1
92
93 epsilon:
94 [...]
95
96 In Summation count = 27
97
98 image:
99 x = 7.524751
100 y = -22.332348
101 z = -11.800000
102 object:
103 X = 1652190.615439
104 Y = 5102020.440457
105 Z = 245.175095
106
107 residual:
108 E1 = -7.024750
109 E2 = 4.126625
110
111 N:
112 0.819514 -0.307804 1.312018 255.346340 268.170123 -66.377078
113 -0.307804 0.464256 -0.933819 -366.240741 -66.133208 -27.950353
114 1.312018 -0.933819 3.294579 800.366961 379.031240 6.166083
115 255.346340 -366.240741 800.366961 559587.537244 -39821.873986 -18404.642985
116 268.170123 -66.133208 379.031240 -39821.873986 193768.925915 60.527766
117 -66.377078 -27.950353 6.166083 -18404.642985 60.527766 42735.824764
118
119 C:
120 0.233001 -0.036477 1.486549 -826.080200 -25274.180791 -100.692644
121
122 delta:
123
124 XC = 1.027356
125 YC = 2.700360
126 ZC = 1.664251
127 omega = -0.000402
128 phi = -0.006783
129 kappa = 0.000602
130
131 FINAL VALUES:
132
133 XC = 1652208.883240
134 YC = 5101866.174669
135 ZC = 108.036199
136 omega = 0.092695
137 phi = 0.267505
138 kappa = 0.260912
139
140 NOTES: These final values are the estimated camera position in target coordinates.