shuinb commited on
Commit
87b7721
·
verified ·
1 Parent(s): 746c659

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +3 -0
  2. codes/reconstruction/Reconstruction/AI_floor2/20.csv +3 -0
  3. codes/reconstruction/Reconstruction/AI_floor2/RawDataHistogramMap_frame_0_1772200836015693.txt +3 -0
  4. codes/reconstruction/Reconstruction/AI_floor2/RawDataHistogramMap_frame_0_1772201003642705.txt +3 -0
  5. codes/reconstruction/Reconstruction/artbuilding_floor2/json/five_views/test.json +592 -0
  6. codes/reconstruction/Reconstruction/artbuilding_floor2/json/five_views/train.json +157 -0
  7. codes/reconstruction/Reconstruction/artbuilding_floor2/json/ten_views/test.json +592 -0
  8. codes/reconstruction/Reconstruction/artbuilding_floor2/json/ten_views/train.json +302 -0
  9. codes/reconstruction/Reconstruction/artbuilding_floor2/json/three_views/test.json +592 -0
  10. codes/reconstruction/Reconstruction/artbuilding_floor2/json/three_views/train.json +99 -0
  11. codes/reconstruction/Reconstruction/artbuilding_floor2/sp_pose_results.csv +31 -0
  12. codes/reconstruction/Reconstruction/library_floor2/json/five_views/test.json +302 -0
  13. codes/reconstruction/Reconstruction/library_floor2/json/five_views/train.json +157 -0
  14. codes/reconstruction/Reconstruction/library_floor2/json/ten_views/test.json +302 -0
  15. codes/reconstruction/Reconstruction/library_floor2/json/ten_views/train.json +302 -0
  16. codes/reconstruction/Reconstruction/library_floor2/json/three_views/test.json +302 -0
  17. codes/reconstruction/Reconstruction/library_floor2/json/three_views/train.json +99 -0
  18. codes/reconstruction/Reconstruction/library_floor2/sp_pose_results.csv +21 -0
  19. codes/reconstruction/Reconstruction/physics_building2/json/five_views/test.json +882 -0
  20. codes/reconstruction/Reconstruction/physics_building2/json/five_views/train.json +157 -0
  21. codes/reconstruction/Reconstruction/physics_building2/json/ten_views/test.json +882 -0
  22. codes/reconstruction/Reconstruction/physics_building2/json/ten_views/train.json +302 -0
  23. codes/reconstruction/Reconstruction/physics_building2/json/three_views/test.json +882 -0
  24. codes/reconstruction/Reconstruction/physics_building2/json/three_views/train.json +99 -0
  25. codes/reconstruction/Reconstruction/physics_building2/sp_pose_results.csv +41 -0
  26. codes/reconstruction/config/IRF_global.csv +502 -0
  27. codes/reconstruction/config/config.yaml +25 -0
  28. codes/reconstruction/config/final_extrinsic_sp_to_livox.txt +21 -0
  29. codes/reconstruction/config/offset.txt +0 -0
  30. codes/reconstruction/config/peak threshold.txt +9 -0
  31. codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/.gitignore +7 -0
  32. codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/LICENSE +201 -0
  33. codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/configs/eval.ini +6 -0
  34. codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/configs/train.ini +55 -0
  35. codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/eval.py +5 -0
  36. codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/evaluation/core.py +81 -0
  37. codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/requirements.txt +23 -0
  38. codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/train_ours.py +257 -0
  39. codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/utils.py +893 -0
  40. codes/reconstruction/stb_minimal_20261017/transientangelo/.gitignore +7 -0
  41. codes/reconstruction/stb_minimal_20261017/transientangelo/configs/captured.yaml +201 -0
  42. codes/reconstruction/stb_minimal_20261017/transientangelo/datasets/__init__.py +18 -0
  43. codes/reconstruction/stb_minimal_20261017/transientangelo/datasets/captured_dataset_ours.py +717 -0
  44. codes/reconstruction/stb_minimal_20261017/transientangelo/eval.py +5 -0
  45. codes/reconstruction/stb_minimal_20261017/transientangelo/evaluation/__init__.py +4 -0
  46. codes/reconstruction/stb_minimal_20261017/transientangelo/evaluation/cli.py +54 -0
  47. codes/reconstruction/stb_minimal_20261017/transientangelo/evaluation/core.py +81 -0
  48. codes/reconstruction/stb_minimal_20261017/transientangelo/evaluation/evaluator.py +161 -0
  49. codes/reconstruction/stb_minimal_20261017/transientangelo/evaluation/image_metrics.py +114 -0
  50. codes/reconstruction/stb_minimal_20261017/transientangelo/evaluation/io.py +30 -0
.gitattributes CHANGED
@@ -98,3 +98,6 @@ codes/reconstruction/Reconstruction/AI_floor2/6.csv filter=lfs diff=lfs merge=lf
98
  codes/reconstruction/Reconstruction/AI_floor2/5.csv filter=lfs diff=lfs merge=lfs -text
99
  codes/reconstruction/Reconstruction/AI_floor2/RawDataHistogramMap_frame_0_1772201041972772.txt filter=lfs diff=lfs merge=lfs -text
100
  codes/reconstruction/Reconstruction/AI_floor2/10.csv filter=lfs diff=lfs merge=lfs -text
 
 
 
 
98
  codes/reconstruction/Reconstruction/AI_floor2/5.csv filter=lfs diff=lfs merge=lfs -text
99
  codes/reconstruction/Reconstruction/AI_floor2/RawDataHistogramMap_frame_0_1772201041972772.txt filter=lfs diff=lfs merge=lfs -text
100
  codes/reconstruction/Reconstruction/AI_floor2/10.csv filter=lfs diff=lfs merge=lfs -text
101
+ codes/reconstruction/Reconstruction/AI_floor2/RawDataHistogramMap_frame_0_1772201003642705.txt filter=lfs diff=lfs merge=lfs -text
102
+ codes/reconstruction/Reconstruction/AI_floor2/RawDataHistogramMap_frame_0_1772200836015693.txt filter=lfs diff=lfs merge=lfs -text
103
+ codes/reconstruction/Reconstruction/AI_floor2/20.csv filter=lfs diff=lfs merge=lfs -text
codes/reconstruction/Reconstruction/AI_floor2/20.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df7cff1532ed68dbd4e6900f8f0f4aaab10b781dba73ce350e31a137b52d6b8c
3
+ size 34082404
codes/reconstruction/Reconstruction/AI_floor2/RawDataHistogramMap_frame_0_1772200836015693.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b120abdf629ef60475d4350d955837e2a1c0780eb3f39cb6a4a565cc14b3b06
3
+ size 67290969
codes/reconstruction/Reconstruction/AI_floor2/RawDataHistogramMap_frame_0_1772201003642705.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec10bd8f41cd2e4e660bd517aa981d7585770c6b096ea382922362fc33f7e034
3
+ size 67276501
codes/reconstruction/Reconstruction/artbuilding_floor2/json/five_views/test.json ADDED
@@ -0,0 +1,592 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772198070453985.txt",
6
+ "transform_matrix": [
7
+ [
8
+ 0.0765510921255416,
9
+ 0.0530871614979489,
10
+ 0.9948926943679344,
11
+ 0.0396645118098514
12
+ ],
13
+ [
14
+ 0.9970364912795119,
15
+ 0.0035566752659169465,
16
+ -0.07678928736465598,
17
+ -0.10670134323042067
18
+ ],
19
+ [
20
+ 0.007626621232643376,
21
+ -0.9978226250035316,
22
+ 0.05265756985596186,
23
+ 0.011442711647194861
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772198093918335.txt",
35
+ "transform_matrix": [
36
+ [
37
+ 0.14295727436473107,
38
+ 0.05380794063371477,
39
+ 0.987511952648509,
40
+ 0.028116542334233136
41
+ ],
42
+ [
43
+ 0.9897246224795352,
44
+ -0.0048520879669867205,
45
+ -0.1427955545064405,
46
+ -0.11998945751200073
47
+ ],
48
+ [
49
+ 0.0028964398746002956,
50
+ -0.9977785577927162,
51
+ 0.05394868500084289,
52
+ 0.011761112150820973
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772198153889096.txt",
64
+ "transform_matrix": [
65
+ [
66
+ 0.2946736285590876,
67
+ 0.053416548842416825,
68
+ 0.9533765892671933,
69
+ -7.5066603910795e-05
70
+ ],
71
+ [
72
+ 0.9555875470492824,
73
+ -0.021128149147374292,
74
+ -0.2937245352733548,
75
+ -0.14140114530139428
76
+ ],
77
+ [
78
+ -0.004460107191039793,
79
+ -0.9975876709578799,
80
+ 0.05727009725415757,
81
+ 0.01247696782226467
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ },
91
+ {
92
+ "file_path": "RawDataHistogramMap_frame_0_1772198175721452.txt",
93
+ "transform_matrix": [
94
+ [
95
+ 0.3581942089441882,
96
+ 0.05281333908168645,
97
+ 0.9314416000649832,
98
+ -0.013165968519843314
99
+ ],
100
+ [
101
+ 0.9336158641182628,
102
+ -0.02842183766751226,
103
+ -0.35687339770735826,
104
+ -0.1495701072556255
105
+ ],
106
+ [
107
+ -0.007637207968607453,
108
+ -0.9974386387053796,
109
+ 0.05948790886377467,
110
+ 0.01300133315956328
111
+ ],
112
+ [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 1.0
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "file_path": "RawDataHistogramMap_frame_0_1772198219178322.txt",
122
+ "transform_matrix": [
123
+ [
124
+ 0.4676161256487413,
125
+ 0.04991983629322595,
126
+ 0.8818481916223838,
127
+ -0.04040525542811652
128
+ ],
129
+ [
130
+ 0.8838284523477559,
131
+ -0.04164945500416389,
132
+ -0.4655965379240915,
133
+ -0.16635037827132787
134
+ ],
135
+ [
136
+ -0.013506511534447718,
137
+ -0.9971229715868103,
138
+ 0.0635965284369243,
139
+ 0.01409840224459
140
+ ],
141
+ [
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 1.0
146
+ ]
147
+ ]
148
+ },
149
+ {
150
+ "file_path": "RawDataHistogramMap_frame_0_1772198238979859.txt",
151
+ "transform_matrix": [
152
+ [
153
+ 0.5292527163686659,
154
+ 0.04763630359335833,
155
+ 0.8464802115907151,
156
+ -0.053896493804889756
157
+ ],
158
+ [
159
+ 0.8483222846599654,
160
+ -0.04795831340653589,
161
+ -0.526899819160299,
162
+ -0.17305912043268673
163
+ ],
164
+ [
165
+ -0.015519779820694087,
166
+ -0.9969511875608351,
167
+ 0.06579300553994309,
168
+ 0.014050120811018849
169
+ ],
170
+ [
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 1.0
175
+ ]
176
+ ]
177
+ },
178
+ {
179
+ "file_path": "RawDataHistogramMap_frame_0_1772198278964546.txt",
180
+ "transform_matrix": [
181
+ [
182
+ 0.5932446694981659,
183
+ 0.04388054579241434,
184
+ 0.8032127879265347,
185
+ -0.06754317075180054
186
+ ],
187
+ [
188
+ 0.804836718866782,
189
+ -0.053747125548920166,
190
+ -0.5906047862764238,
191
+ -0.186755443749673
192
+ ],
193
+ [
194
+ -0.017280569312474094,
195
+ -0.9968282860252243,
196
+ 0.06720187023039655,
197
+ 0.013941017387248013
198
+ ],
199
+ [
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 1.0
204
+ ]
205
+ ]
206
+ },
207
+ {
208
+ "file_path": "RawDataHistogramMap_frame_0_1772198322423861.txt",
209
+ "transform_matrix": [
210
+ [
211
+ 0.702627356253017,
212
+ 0.03600279090977554,
213
+ 0.7101052374228285,
214
+ -0.1027345972613511
215
+ ],
216
+ [
217
+ 0.7111724573990389,
218
+ -0.0683792823624855,
219
+ -0.6991474901590903,
220
+ -0.20268156865963521
221
+ ],
222
+ [
223
+ -0.023420804467450394,
224
+ -0.9962474393513364,
225
+ 0.07364934767336136,
226
+ 0.014975385997845824
227
+ ],
228
+ [
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 1.0
233
+ ]
234
+ ]
235
+ },
236
+ {
237
+ "file_path": "RawDataHistogramMap_frame_0_1772198351400021.txt",
238
+ "transform_matrix": [
239
+ [
240
+ 0.7447221125187385,
241
+ 0.031175674121882976,
242
+ 0.666138466510032,
243
+ -0.11712496333102058
244
+ ],
245
+ [
246
+ 0.6668136714501303,
247
+ -0.0756783203975248,
248
+ -0.7408027172314057,
249
+ -0.2070151065681703
250
+ ],
251
+ [
252
+ -0.027358777253774037,
253
+ -0.9958824010839087,
254
+ 0.07714768435946118,
255
+ 0.015694987487261537
256
+ ],
257
+ [
258
+ 0.0,
259
+ 0.0,
260
+ 0.0,
261
+ 1.0
262
+ ]
263
+ ]
264
+ },
265
+ {
266
+ "file_path": "RawDataHistogramMap_frame_0_1772198393216933.txt",
267
+ "transform_matrix": [
268
+ [
269
+ 0.8596935015777457,
270
+ 0.018017201887865694,
271
+ 0.510103995494577,
272
+ -0.16813933567572137
273
+ ],
274
+ [
275
+ 0.5098566725528871,
276
+ -0.09125559149551875,
277
+ -0.8547481366888385,
278
+ -0.2251790663645159
279
+ ],
280
+ [
281
+ -0.0311970639370124,
282
+ -0.994901344395881,
283
+ 0.0876380295945924,
284
+ 0.01690200536198783
285
+ ],
286
+ [
287
+ 0.0,
288
+ 0.0,
289
+ 0.0,
290
+ 1.0
291
+ ]
292
+ ]
293
+ },
294
+ {
295
+ "file_path": "RawDataHistogramMap_frame_0_1772198436687312.txt",
296
+ "transform_matrix": [
297
+ [
298
+ 0.8962797993528071,
299
+ 0.011572386150022661,
300
+ 0.44300092358666526,
301
+ -0.19039777588254406
302
+ ],
303
+ [
304
+ 0.4422847324161971,
305
+ -0.09688834771755189,
306
+ -0.890940465761403,
307
+ -0.22667720543946496
308
+ ],
309
+ [
310
+ -0.03266093604935928,
311
+ -0.9944644868365857,
312
+ 0.09195735856369275,
313
+ 0.01742927087048206
314
+ ],
315
+ [
316
+ 0.0,
317
+ 0.0,
318
+ 0.0,
319
+ 1.0
320
+ ]
321
+ ]
322
+ },
323
+ {
324
+ "file_path": "RawDataHistogramMap_frame_0_1772198480338871.txt",
325
+ "transform_matrix": [
326
+ [
327
+ 0.9460787342648752,
328
+ -8.43243054534286e-05,
329
+ 0.323690613643001,
330
+ -0.22977012080761375
331
+ ],
332
+ [
333
+ 0.3221304527604595,
334
+ -0.10513190784466737,
335
+ -0.940115831308869,
336
+ -0.22490399026313557
337
+ ],
338
+ [
339
+ -0.034161381355425485,
340
+ -0.9936941996742,
341
+ 0.09943589887784063,
342
+ 0.01886328694843962
343
+ ],
344
+ [
345
+ 0.0,
346
+ 0.0,
347
+ 0.0,
348
+ 1.0
349
+ ]
350
+ ]
351
+ },
352
+ {
353
+ "file_path": "RawDataHistogramMap_frame_0_1772198500132232.txt",
354
+ "transform_matrix": [
355
+ [
356
+ 0.9697819566593116,
357
+ -0.008625343040355903,
358
+ 0.24363525593708568,
359
+ -0.25160098770739225
360
+ ],
361
+ [
362
+ 0.24144470756716557,
363
+ -0.10947043351615154,
364
+ -0.9634781380415555,
365
+ -0.21995971398109734
366
+ ],
367
+ [
368
+ -0.035034407742136855,
369
+ -0.9931881570311938,
370
+ 0.1040799077835917,
371
+ 0.019617629796069506
372
+ ],
373
+ [
374
+ 0.0,
375
+ 0.0,
376
+ 0.0,
377
+ 1.0
378
+ ]
379
+ ]
380
+ },
381
+ {
382
+ "file_path": "RawDataHistogramMap_frame_0_1772198541762762.txt",
383
+ "transform_matrix": [
384
+ [
385
+ 0.9973097634545925,
386
+ -0.025722295261788434,
387
+ 0.0685816061034478,
388
+ -0.2985792543120905
389
+ ],
390
+ [
391
+ 0.0652040610151215,
392
+ -0.11616837082452136,
393
+ -0.9903235260675478,
394
+ -0.20245880218378487
395
+ ],
396
+ [
397
+ -0.033491284616726874,
398
+ -0.9921311207548321,
399
+ 0.1141786523182107,
400
+ 0.02042081291088349
401
+ ],
402
+ [
403
+ 0.0,
404
+ 0.0,
405
+ 0.0,
406
+ 1.0
407
+ ]
408
+ ]
409
+ },
410
+ {
411
+ "file_path": "RawDataHistogramMap_frame_0_1772198561763286.txt",
412
+ "transform_matrix": [
413
+ [
414
+ 0.9990317851737283,
415
+ -0.03534696830784702,
416
+ -0.02613701998817243,
417
+ -0.32060424198842397
418
+ ],
419
+ [
420
+ -0.03018275962641663,
421
+ -0.11844534449689648,
422
+ -0.9917368466089991,
423
+ -0.1912969790813251
424
+ ],
425
+ [
426
+ -0.03200770585228433,
427
+ -0.991565519682009,
428
+ 0.11939753300621032,
429
+ 0.021194416632141597
430
+ ],
431
+ [
432
+ 0.0,
433
+ 0.0,
434
+ 0.0,
435
+ 1.0
436
+ ]
437
+ ]
438
+ },
439
+ {
440
+ "file_path": "RawDataHistogramMap_frame_0_1772198589085278.txt",
441
+ "transform_matrix": [
442
+ [
443
+ 0.9924860335186986,
444
+ -0.04484909473440874,
445
+ -0.1137422024645543,
446
+ -0.3428527492354664
447
+ ],
448
+ [
449
+ -0.11847513090170088,
450
+ -0.11991986879745538,
451
+ -0.9849289714757675,
452
+ -0.17724750064810824
453
+ ],
454
+ [
455
+ -0.030579676717458336,
456
+ -0.9910038705236746,
457
+ 0.12433229729235103,
458
+ 0.021945322494921263
459
+ ],
460
+ [
461
+ 0.0,
462
+ 0.0,
463
+ 0.0,
464
+ 1.0
465
+ ]
466
+ ]
467
+ },
468
+ {
469
+ "file_path": "RawDataHistogramMap_frame_0_1772198639878375.txt",
470
+ "transform_matrix": [
471
+ [
472
+ 0.9337474742296039,
473
+ -0.070397063128451,
474
+ -0.35066406402223027,
475
+ -0.3952735775336465
476
+ ],
477
+ [
478
+ -0.35718401177531145,
479
+ -0.11993953775109942,
480
+ -0.9255856446770832,
481
+ -0.1407755886311497
482
+ ],
483
+ [
484
+ -0.023135170237805404,
485
+ -0.9895148550733014,
486
+ 0.13713794586077468,
487
+ 0.022570947539571704
488
+ ],
489
+ [
490
+ 0.0,
491
+ 0.0,
492
+ 0.0,
493
+ 1.0
494
+ ]
495
+ ]
496
+ },
497
+ {
498
+ "file_path": "RawDataHistogramMap_frame_0_1772198661715301.txt",
499
+ "transform_matrix": [
500
+ [
501
+ 0.909051355512665,
502
+ -0.07702381812586961,
503
+ -0.409181142813209,
504
+ -0.4089549669215209
505
+ ],
506
+ [
507
+ -0.41615956327855275,
508
+ -0.11856904815450116,
509
+ -0.9008310493969743,
510
+ -0.1255302576612931
511
+ ],
512
+ [
513
+ -0.020900979220964268,
514
+ -0.9891863322371806,
515
+ 0.13983955246000337,
516
+ 0.0231440681717764
517
+ ],
518
+ [
519
+ 0.0,
520
+ 0.0,
521
+ 0.0,
522
+ 1.0
523
+ ]
524
+ ]
525
+ },
526
+ {
527
+ "file_path": "RawDataHistogramMap_frame_0_1772198701695011.txt",
528
+ "transform_matrix": [
529
+ [
530
+ 0.8097447180262384,
531
+ -0.09738245925268169,
532
+ -0.5781929585978056,
533
+ -0.43929837093734836
534
+ ],
535
+ [
536
+ -0.5866340060006799,
537
+ -0.11219814988329313,
538
+ -0.8014211079690982,
539
+ -0.08252338693985231
540
+ ],
541
+ [
542
+ -0.013192218623398226,
543
+ -0.9881341606363289,
544
+ 0.1479797214259106,
545
+ 0.022530320623038128
546
+ ],
547
+ [
548
+ 0.0,
549
+ 0.0,
550
+ 0.0,
551
+ 1.0
552
+ ]
553
+ ]
554
+ },
555
+ {
556
+ "file_path": "RawDataHistogramMap_frame_0_1772198719838029.txt",
557
+ "transform_matrix": [
558
+ [
559
+ 0.7495071703415452,
560
+ -0.10640777852789007,
561
+ -0.6528787421752204,
562
+ -0.4527738463505441
563
+ ],
564
+ [
565
+ -0.6619421353991022,
566
+ -0.10785725877681075,
567
+ -0.7411787464857297,
568
+ -0.05813968540904105
569
+ ],
570
+ [
571
+ -0.008462327687683067,
572
+ -0.9876867337479569,
573
+ 0.15127558096842872,
574
+ 0.022186935174191232
575
+ ],
576
+ [
577
+ 0.0,
578
+ 0.0,
579
+ 0.0,
580
+ 1.0
581
+ ]
582
+ ]
583
+ }
584
+ ],
585
+ "w": 256,
586
+ "h": 192,
587
+ "fl_x": 118.6514575329715,
588
+ "fl_y": 118.7964934010577,
589
+ "cx": 130.6802784645003,
590
+ "cy": 100.360570246814,
591
+ "camera_angle_y": 1.3593266161827677
592
+ }
codes/reconstruction/Reconstruction/artbuilding_floor2/json/five_views/train.json ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772198119419649.txt",
6
+ "transform_matrix": [
7
+ [
8
+ 0.2124614363850213,
9
+ 0.05391838797645976,
10
+ 0.9749371290672938,
11
+ 0.015197499503887657
12
+ ],
13
+ [
14
+ 0.977169292450201,
15
+ -0.012293484664358072,
16
+ -0.2119445001182002,
17
+ -0.13126865346006955
18
+ ],
19
+ [
20
+ -0.0005585173086075142,
21
+ -0.9977086575231372,
22
+ 0.055299284438979315,
23
+ 0.012198217600847338
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772198300599993.txt",
35
+ "transform_matrix": [
36
+ [
37
+ 0.6469372978778303,
38
+ 0.04010602760362196,
39
+ 0.7609075618308142,
40
+ -0.08380151257846295
41
+ ],
42
+ [
43
+ 0.7622436164831161,
44
+ -0.06198070866185471,
45
+ -0.64382185120435,
46
+ -0.19436445734679628
47
+ ],
48
+ [
49
+ -0.02137292084078571,
50
+ -0.9965093004721183,
51
+ 0.07066819570561057,
52
+ 0.014516611828988949
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772198456673135.txt",
64
+ "transform_matrix": [
65
+ [
66
+ 0.9194129512091803,
67
+ 0.006820017295468751,
68
+ 0.39293553730374436,
69
+ -0.2063823587796793
70
+ ],
71
+ [
72
+ 0.3918698242832872,
73
+ -0.10081980356662738,
74
+ -0.9137765446330269,
75
+ -0.22610333114146203
76
+ ],
77
+ [
78
+ -0.033434502613431144,
79
+ -0.9941175696046592,
80
+ 0.0953675921167078,
81
+ 0.018027738800714423
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ },
91
+ {
92
+ "file_path": "RawDataHistogramMap_frame_0_1772198612552660.txt",
93
+ "transform_matrix": [
94
+ [
95
+ 0.9751999994342184,
96
+ -0.055965856727232685,
97
+ -0.21395880520237698,
98
+ -0.3669918873453027
99
+ ],
100
+ [
101
+ -0.21949640933841671,
102
+ -0.12053190627416659,
103
+ -0.9673920933627475,
104
+ -0.15984966210453164
105
+ ],
106
+ [
107
+ -0.028395200140969645,
108
+ -0.9903639583882793,
109
+ 0.12982701952754794,
110
+ 0.022248165971509394
111
+ ],
112
+ [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 1.0
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "file_path": "RawDataHistogramMap_frame_0_1772198752298723.txt",
122
+ "transform_matrix": [
123
+ [
124
+ 0.6707615758744349,
125
+ -0.11661951288892697,
126
+ -0.731876468993548,
127
+ -0.4645318295062434
128
+ ],
129
+ [
130
+ -0.7416677477620264,
131
+ -0.10173855774263807,
132
+ -0.6624913019495131,
133
+ -0.028326274254349262
134
+ ],
135
+ [
136
+ -0.002803615532378474,
137
+ -0.9871828820972304,
138
+ 0.1547352467880781,
139
+ 0.021483752323974148
140
+ ],
141
+ [
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 1.0
146
+ ]
147
+ ]
148
+ }
149
+ ],
150
+ "w": 256,
151
+ "h": 192,
152
+ "fl_x": 118.6514575329715,
153
+ "fl_y": 118.7964934010577,
154
+ "cx": 130.6802784645003,
155
+ "cy": 100.360570246814,
156
+ "camera_angle_y": 1.3593266161827677
157
+ }
codes/reconstruction/Reconstruction/artbuilding_floor2/json/ten_views/test.json ADDED
@@ -0,0 +1,592 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772198070453985.txt",
6
+ "transform_matrix": [
7
+ [
8
+ 0.0765510921255416,
9
+ 0.0530871614979489,
10
+ 0.9948926943679344,
11
+ 0.0396645118098514
12
+ ],
13
+ [
14
+ 0.9970364912795119,
15
+ 0.0035566752659169465,
16
+ -0.07678928736465598,
17
+ -0.10670134323042067
18
+ ],
19
+ [
20
+ 0.007626621232643376,
21
+ -0.9978226250035316,
22
+ 0.05265756985596186,
23
+ 0.011442711647194861
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772198093918335.txt",
35
+ "transform_matrix": [
36
+ [
37
+ 0.14295727436473107,
38
+ 0.05380794063371477,
39
+ 0.987511952648509,
40
+ 0.028116542334233136
41
+ ],
42
+ [
43
+ 0.9897246224795352,
44
+ -0.0048520879669867205,
45
+ -0.1427955545064405,
46
+ -0.11998945751200073
47
+ ],
48
+ [
49
+ 0.0028964398746002956,
50
+ -0.9977785577927162,
51
+ 0.05394868500084289,
52
+ 0.011761112150820973
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772198153889096.txt",
64
+ "transform_matrix": [
65
+ [
66
+ 0.2946736285590876,
67
+ 0.053416548842416825,
68
+ 0.9533765892671933,
69
+ -7.5066603910795e-05
70
+ ],
71
+ [
72
+ 0.9555875470492824,
73
+ -0.021128149147374292,
74
+ -0.2937245352733548,
75
+ -0.14140114530139428
76
+ ],
77
+ [
78
+ -0.004460107191039793,
79
+ -0.9975876709578799,
80
+ 0.05727009725415757,
81
+ 0.01247696782226467
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ },
91
+ {
92
+ "file_path": "RawDataHistogramMap_frame_0_1772198175721452.txt",
93
+ "transform_matrix": [
94
+ [
95
+ 0.3581942089441882,
96
+ 0.05281333908168645,
97
+ 0.9314416000649832,
98
+ -0.013165968519843314
99
+ ],
100
+ [
101
+ 0.9336158641182628,
102
+ -0.02842183766751226,
103
+ -0.35687339770735826,
104
+ -0.1495701072556255
105
+ ],
106
+ [
107
+ -0.007637207968607453,
108
+ -0.9974386387053796,
109
+ 0.05948790886377467,
110
+ 0.01300133315956328
111
+ ],
112
+ [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 1.0
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "file_path": "RawDataHistogramMap_frame_0_1772198219178322.txt",
122
+ "transform_matrix": [
123
+ [
124
+ 0.4676161256487413,
125
+ 0.04991983629322595,
126
+ 0.8818481916223838,
127
+ -0.04040525542811652
128
+ ],
129
+ [
130
+ 0.8838284523477559,
131
+ -0.04164945500416389,
132
+ -0.4655965379240915,
133
+ -0.16635037827132787
134
+ ],
135
+ [
136
+ -0.013506511534447718,
137
+ -0.9971229715868103,
138
+ 0.0635965284369243,
139
+ 0.01409840224459
140
+ ],
141
+ [
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 1.0
146
+ ]
147
+ ]
148
+ },
149
+ {
150
+ "file_path": "RawDataHistogramMap_frame_0_1772198238979859.txt",
151
+ "transform_matrix": [
152
+ [
153
+ 0.5292527163686659,
154
+ 0.04763630359335833,
155
+ 0.8464802115907151,
156
+ -0.053896493804889756
157
+ ],
158
+ [
159
+ 0.8483222846599654,
160
+ -0.04795831340653589,
161
+ -0.526899819160299,
162
+ -0.17305912043268673
163
+ ],
164
+ [
165
+ -0.015519779820694087,
166
+ -0.9969511875608351,
167
+ 0.06579300553994309,
168
+ 0.014050120811018849
169
+ ],
170
+ [
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 1.0
175
+ ]
176
+ ]
177
+ },
178
+ {
179
+ "file_path": "RawDataHistogramMap_frame_0_1772198278964546.txt",
180
+ "transform_matrix": [
181
+ [
182
+ 0.5932446694981659,
183
+ 0.04388054579241434,
184
+ 0.8032127879265347,
185
+ -0.06754317075180054
186
+ ],
187
+ [
188
+ 0.804836718866782,
189
+ -0.053747125548920166,
190
+ -0.5906047862764238,
191
+ -0.186755443749673
192
+ ],
193
+ [
194
+ -0.017280569312474094,
195
+ -0.9968282860252243,
196
+ 0.06720187023039655,
197
+ 0.013941017387248013
198
+ ],
199
+ [
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 1.0
204
+ ]
205
+ ]
206
+ },
207
+ {
208
+ "file_path": "RawDataHistogramMap_frame_0_1772198322423861.txt",
209
+ "transform_matrix": [
210
+ [
211
+ 0.702627356253017,
212
+ 0.03600279090977554,
213
+ 0.7101052374228285,
214
+ -0.1027345972613511
215
+ ],
216
+ [
217
+ 0.7111724573990389,
218
+ -0.0683792823624855,
219
+ -0.6991474901590903,
220
+ -0.20268156865963521
221
+ ],
222
+ [
223
+ -0.023420804467450394,
224
+ -0.9962474393513364,
225
+ 0.07364934767336136,
226
+ 0.014975385997845824
227
+ ],
228
+ [
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 1.0
233
+ ]
234
+ ]
235
+ },
236
+ {
237
+ "file_path": "RawDataHistogramMap_frame_0_1772198351400021.txt",
238
+ "transform_matrix": [
239
+ [
240
+ 0.7447221125187385,
241
+ 0.031175674121882976,
242
+ 0.666138466510032,
243
+ -0.11712496333102058
244
+ ],
245
+ [
246
+ 0.6668136714501303,
247
+ -0.0756783203975248,
248
+ -0.7408027172314057,
249
+ -0.2070151065681703
250
+ ],
251
+ [
252
+ -0.027358777253774037,
253
+ -0.9958824010839087,
254
+ 0.07714768435946118,
255
+ 0.015694987487261537
256
+ ],
257
+ [
258
+ 0.0,
259
+ 0.0,
260
+ 0.0,
261
+ 1.0
262
+ ]
263
+ ]
264
+ },
265
+ {
266
+ "file_path": "RawDataHistogramMap_frame_0_1772198393216933.txt",
267
+ "transform_matrix": [
268
+ [
269
+ 0.8596935015777457,
270
+ 0.018017201887865694,
271
+ 0.510103995494577,
272
+ -0.16813933567572137
273
+ ],
274
+ [
275
+ 0.5098566725528871,
276
+ -0.09125559149551875,
277
+ -0.8547481366888385,
278
+ -0.2251790663645159
279
+ ],
280
+ [
281
+ -0.0311970639370124,
282
+ -0.994901344395881,
283
+ 0.0876380295945924,
284
+ 0.01690200536198783
285
+ ],
286
+ [
287
+ 0.0,
288
+ 0.0,
289
+ 0.0,
290
+ 1.0
291
+ ]
292
+ ]
293
+ },
294
+ {
295
+ "file_path": "RawDataHistogramMap_frame_0_1772198436687312.txt",
296
+ "transform_matrix": [
297
+ [
298
+ 0.8962797993528071,
299
+ 0.011572386150022661,
300
+ 0.44300092358666526,
301
+ -0.19039777588254406
302
+ ],
303
+ [
304
+ 0.4422847324161971,
305
+ -0.09688834771755189,
306
+ -0.890940465761403,
307
+ -0.22667720543946496
308
+ ],
309
+ [
310
+ -0.03266093604935928,
311
+ -0.9944644868365857,
312
+ 0.09195735856369275,
313
+ 0.01742927087048206
314
+ ],
315
+ [
316
+ 0.0,
317
+ 0.0,
318
+ 0.0,
319
+ 1.0
320
+ ]
321
+ ]
322
+ },
323
+ {
324
+ "file_path": "RawDataHistogramMap_frame_0_1772198480338871.txt",
325
+ "transform_matrix": [
326
+ [
327
+ 0.9460787342648752,
328
+ -8.43243054534286e-05,
329
+ 0.323690613643001,
330
+ -0.22977012080761375
331
+ ],
332
+ [
333
+ 0.3221304527604595,
334
+ -0.10513190784466737,
335
+ -0.940115831308869,
336
+ -0.22490399026313557
337
+ ],
338
+ [
339
+ -0.034161381355425485,
340
+ -0.9936941996742,
341
+ 0.09943589887784063,
342
+ 0.01886328694843962
343
+ ],
344
+ [
345
+ 0.0,
346
+ 0.0,
347
+ 0.0,
348
+ 1.0
349
+ ]
350
+ ]
351
+ },
352
+ {
353
+ "file_path": "RawDataHistogramMap_frame_0_1772198500132232.txt",
354
+ "transform_matrix": [
355
+ [
356
+ 0.9697819566593116,
357
+ -0.008625343040355903,
358
+ 0.24363525593708568,
359
+ -0.25160098770739225
360
+ ],
361
+ [
362
+ 0.24144470756716557,
363
+ -0.10947043351615154,
364
+ -0.9634781380415555,
365
+ -0.21995971398109734
366
+ ],
367
+ [
368
+ -0.035034407742136855,
369
+ -0.9931881570311938,
370
+ 0.1040799077835917,
371
+ 0.019617629796069506
372
+ ],
373
+ [
374
+ 0.0,
375
+ 0.0,
376
+ 0.0,
377
+ 1.0
378
+ ]
379
+ ]
380
+ },
381
+ {
382
+ "file_path": "RawDataHistogramMap_frame_0_1772198541762762.txt",
383
+ "transform_matrix": [
384
+ [
385
+ 0.9973097634545925,
386
+ -0.025722295261788434,
387
+ 0.0685816061034478,
388
+ -0.2985792543120905
389
+ ],
390
+ [
391
+ 0.0652040610151215,
392
+ -0.11616837082452136,
393
+ -0.9903235260675478,
394
+ -0.20245880218378487
395
+ ],
396
+ [
397
+ -0.033491284616726874,
398
+ -0.9921311207548321,
399
+ 0.1141786523182107,
400
+ 0.02042081291088349
401
+ ],
402
+ [
403
+ 0.0,
404
+ 0.0,
405
+ 0.0,
406
+ 1.0
407
+ ]
408
+ ]
409
+ },
410
+ {
411
+ "file_path": "RawDataHistogramMap_frame_0_1772198561763286.txt",
412
+ "transform_matrix": [
413
+ [
414
+ 0.9990317851737283,
415
+ -0.03534696830784702,
416
+ -0.02613701998817243,
417
+ -0.32060424198842397
418
+ ],
419
+ [
420
+ -0.03018275962641663,
421
+ -0.11844534449689648,
422
+ -0.9917368466089991,
423
+ -0.1912969790813251
424
+ ],
425
+ [
426
+ -0.03200770585228433,
427
+ -0.991565519682009,
428
+ 0.11939753300621032,
429
+ 0.021194416632141597
430
+ ],
431
+ [
432
+ 0.0,
433
+ 0.0,
434
+ 0.0,
435
+ 1.0
436
+ ]
437
+ ]
438
+ },
439
+ {
440
+ "file_path": "RawDataHistogramMap_frame_0_1772198589085278.txt",
441
+ "transform_matrix": [
442
+ [
443
+ 0.9924860335186986,
444
+ -0.04484909473440874,
445
+ -0.1137422024645543,
446
+ -0.3428527492354664
447
+ ],
448
+ [
449
+ -0.11847513090170088,
450
+ -0.11991986879745538,
451
+ -0.9849289714757675,
452
+ -0.17724750064810824
453
+ ],
454
+ [
455
+ -0.030579676717458336,
456
+ -0.9910038705236746,
457
+ 0.12433229729235103,
458
+ 0.021945322494921263
459
+ ],
460
+ [
461
+ 0.0,
462
+ 0.0,
463
+ 0.0,
464
+ 1.0
465
+ ]
466
+ ]
467
+ },
468
+ {
469
+ "file_path": "RawDataHistogramMap_frame_0_1772198639878375.txt",
470
+ "transform_matrix": [
471
+ [
472
+ 0.9337474742296039,
473
+ -0.070397063128451,
474
+ -0.35066406402223027,
475
+ -0.3952735775336465
476
+ ],
477
+ [
478
+ -0.35718401177531145,
479
+ -0.11993953775109942,
480
+ -0.9255856446770832,
481
+ -0.1407755886311497
482
+ ],
483
+ [
484
+ -0.023135170237805404,
485
+ -0.9895148550733014,
486
+ 0.13713794586077468,
487
+ 0.022570947539571704
488
+ ],
489
+ [
490
+ 0.0,
491
+ 0.0,
492
+ 0.0,
493
+ 1.0
494
+ ]
495
+ ]
496
+ },
497
+ {
498
+ "file_path": "RawDataHistogramMap_frame_0_1772198661715301.txt",
499
+ "transform_matrix": [
500
+ [
501
+ 0.909051355512665,
502
+ -0.07702381812586961,
503
+ -0.409181142813209,
504
+ -0.4089549669215209
505
+ ],
506
+ [
507
+ -0.41615956327855275,
508
+ -0.11856904815450116,
509
+ -0.9008310493969743,
510
+ -0.1255302576612931
511
+ ],
512
+ [
513
+ -0.020900979220964268,
514
+ -0.9891863322371806,
515
+ 0.13983955246000337,
516
+ 0.0231440681717764
517
+ ],
518
+ [
519
+ 0.0,
520
+ 0.0,
521
+ 0.0,
522
+ 1.0
523
+ ]
524
+ ]
525
+ },
526
+ {
527
+ "file_path": "RawDataHistogramMap_frame_0_1772198701695011.txt",
528
+ "transform_matrix": [
529
+ [
530
+ 0.8097447180262384,
531
+ -0.09738245925268169,
532
+ -0.5781929585978056,
533
+ -0.43929837093734836
534
+ ],
535
+ [
536
+ -0.5866340060006799,
537
+ -0.11219814988329313,
538
+ -0.8014211079690982,
539
+ -0.08252338693985231
540
+ ],
541
+ [
542
+ -0.013192218623398226,
543
+ -0.9881341606363289,
544
+ 0.1479797214259106,
545
+ 0.022530320623038128
546
+ ],
547
+ [
548
+ 0.0,
549
+ 0.0,
550
+ 0.0,
551
+ 1.0
552
+ ]
553
+ ]
554
+ },
555
+ {
556
+ "file_path": "RawDataHistogramMap_frame_0_1772198719838029.txt",
557
+ "transform_matrix": [
558
+ [
559
+ 0.7495071703415452,
560
+ -0.10640777852789007,
561
+ -0.6528787421752204,
562
+ -0.4527738463505441
563
+ ],
564
+ [
565
+ -0.6619421353991022,
566
+ -0.10785725877681075,
567
+ -0.7411787464857297,
568
+ -0.05813968540904105
569
+ ],
570
+ [
571
+ -0.008462327687683067,
572
+ -0.9876867337479569,
573
+ 0.15127558096842872,
574
+ 0.022186935174191232
575
+ ],
576
+ [
577
+ 0.0,
578
+ 0.0,
579
+ 0.0,
580
+ 1.0
581
+ ]
582
+ ]
583
+ }
584
+ ],
585
+ "w": 256,
586
+ "h": 192,
587
+ "fl_x": 118.6514575329715,
588
+ "fl_y": 118.7964934010577,
589
+ "cx": 130.6802784645003,
590
+ "cy": 100.360570246814,
591
+ "camera_angle_y": 1.3593266161827677
592
+ }
codes/reconstruction/Reconstruction/artbuilding_floor2/json/ten_views/train.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772198043298850.txt",
6
+ "transform_matrix": [
7
+ [
8
+ -5.989408020343335e-20,
9
+ 0.052256455795,
10
+ 0.997872812763,
11
+ 0.049398541753
12
+ ],
13
+ [
14
+ 0.9999999999999999,
15
+ -6.5108201783783435e-21,
16
+ -5.959044794243685e-20,
17
+ -0.08171214699999998
18
+ ],
19
+ [
20
+ 3.3881317890172014e-21,
21
+ -0.997872812763,
22
+ 0.052256455795,
23
+ 0.013621837804
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772198119419649.txt",
35
+ "transform_matrix": [
36
+ [
37
+ 0.2124614363850213,
38
+ 0.05391838797645976,
39
+ 0.9749371290672938,
40
+ 0.015197499503887657
41
+ ],
42
+ [
43
+ 0.977169292450201,
44
+ -0.012293484664358072,
45
+ -0.2119445001182002,
46
+ -0.13126865346006955
47
+ ],
48
+ [
49
+ -0.0005585173086075142,
50
+ -0.9977086575231372,
51
+ 0.055299284438979315,
52
+ 0.012198217600847338
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772198197362390.txt",
64
+ "transform_matrix": [
65
+ [
66
+ 0.42575476440610766,
67
+ 0.051330438275310336,
68
+ 0.9026928156578303,
69
+ -0.02877393466471059
70
+ ],
71
+ [
72
+ 0.9047764254058259,
73
+ -0.03584523804280706,
74
+ -0.4240509437720101,
75
+ -0.16056935950056
76
+ ],
77
+ [
78
+ -0.01060663072591605,
79
+ -0.9972768886522518,
80
+ 0.06170385133524624,
81
+ 0.013615997876131788
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ },
91
+ {
92
+ "file_path": "RawDataHistogramMap_frame_0_1772198300599993.txt",
93
+ "transform_matrix": [
94
+ [
95
+ 0.6469372978778303,
96
+ 0.04010602760362196,
97
+ 0.7609075618308142,
98
+ -0.08380151257846295
99
+ ],
100
+ [
101
+ 0.7622436164831161,
102
+ -0.06198070866185471,
103
+ -0.64382185120435,
104
+ -0.19436445734679628
105
+ ],
106
+ [
107
+ -0.02137292084078571,
108
+ -0.9965093004721183,
109
+ 0.07066819570561057,
110
+ 0.014516611828988949
111
+ ],
112
+ [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 1.0
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "file_path": "RawDataHistogramMap_frame_0_1772198371392903.txt",
122
+ "transform_matrix": [
123
+ [
124
+ 0.820342594841069,
125
+ 0.02328662244247806,
126
+ 0.5709631798900882,
127
+ -0.15018065118221005
128
+ ],
129
+ [
130
+ 0.5710774633658319,
131
+ -0.08598216588942785,
132
+ -0.8157535859076896,
133
+ -0.22299108099198492
134
+ ],
135
+ [
136
+ -0.030142294621741422,
137
+ -0.9952616178613449,
138
+ 0.08383329835059777,
139
+ 0.016523458123816524
140
+ ],
141
+ [
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 1.0
146
+ ]
147
+ ]
148
+ },
149
+ {
150
+ "file_path": "RawDataHistogramMap_frame_0_1772198456673135.txt",
151
+ "transform_matrix": [
152
+ [
153
+ 0.9194129512091803,
154
+ 0.006820017295468751,
155
+ 0.39293553730374436,
156
+ -0.2063823587796793
157
+ ],
158
+ [
159
+ 0.3918698242832872,
160
+ -0.10081980356662738,
161
+ -0.9137765446330269,
162
+ -0.22610333114146203
163
+ ],
164
+ [
165
+ -0.033434502613431144,
166
+ -0.9941175696046592,
167
+ 0.0953675921167078,
168
+ 0.018027738800714423
169
+ ],
170
+ [
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 1.0
175
+ ]
176
+ ]
177
+ },
178
+ {
179
+ "file_path": "RawDataHistogramMap_frame_0_1772198521969111.txt",
180
+ "transform_matrix": [
181
+ [
182
+ 0.9871252119389546,
183
+ -0.017513243509671827,
184
+ 0.15886547002038046,
185
+ -0.2773565567809238
186
+ ],
187
+ [
188
+ 0.15602775707927974,
189
+ -0.11315563415681384,
190
+ -0.9804942689169369,
191
+ -0.21298166517687434
192
+ ],
193
+ [
194
+ -0.035201633133712086,
195
+ -0.9926580359741906,
196
+ 0.10896622724513479,
197
+ 0.020421854023026043
198
+ ],
199
+ [
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 1.0
204
+ ]
205
+ ]
206
+ },
207
+ {
208
+ "file_path": "RawDataHistogramMap_frame_0_1772198612552660.txt",
209
+ "transform_matrix": [
210
+ [
211
+ 0.9751999994342184,
212
+ -0.055965856727232685,
213
+ -0.21395880520237698,
214
+ -0.3669918873453027
215
+ ],
216
+ [
217
+ -0.21949640933841671,
218
+ -0.12053190627416659,
219
+ -0.9673920933627475,
220
+ -0.15984966210453164
221
+ ],
222
+ [
223
+ -0.028395200140969645,
224
+ -0.9903639583882793,
225
+ 0.12982701952754794,
226
+ 0.022248165971509394
227
+ ],
228
+ [
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 1.0
233
+ ]
234
+ ]
235
+ },
236
+ {
237
+ "file_path": "RawDataHistogramMap_frame_0_1772198681508765.txt",
238
+ "transform_matrix": [
239
+ [
240
+ 0.8677294692378115,
241
+ -0.08644799551623582,
242
+ -0.48907772624331464,
243
+ -0.4226587022247634
244
+ ],
245
+ [
246
+ -0.4967306568128945,
247
+ -0.11629840713145746,
248
+ -0.8594120376956886,
249
+ -0.10790066929637507
250
+ ],
251
+ [
252
+ -0.017441983789182634,
253
+ -0.988677051515664,
254
+ 0.14385692468631933,
255
+ 0.02296865439286139
256
+ ],
257
+ [
258
+ 0.0,
259
+ 0.0,
260
+ 0.0,
261
+ 1.0
262
+ ]
263
+ ]
264
+ },
265
+ {
266
+ "file_path": "RawDataHistogramMap_frame_0_1772198752298723.txt",
267
+ "transform_matrix": [
268
+ [
269
+ 0.6707615758744349,
270
+ -0.11661951288892697,
271
+ -0.731876468993548,
272
+ -0.4645318295062434
273
+ ],
274
+ [
275
+ -0.7416677477620264,
276
+ -0.10173855774263807,
277
+ -0.6624913019495131,
278
+ -0.028326274254349262
279
+ ],
280
+ [
281
+ -0.002803615532378474,
282
+ -0.9871828820972304,
283
+ 0.1547352467880781,
284
+ 0.021483752323974148
285
+ ],
286
+ [
287
+ 0.0,
288
+ 0.0,
289
+ 0.0,
290
+ 1.0
291
+ ]
292
+ ]
293
+ }
294
+ ],
295
+ "w": 256,
296
+ "h": 192,
297
+ "fl_x": 118.6514575329715,
298
+ "fl_y": 118.7964934010577,
299
+ "cx": 130.6802784645003,
300
+ "cy": 100.360570246814,
301
+ "camera_angle_y": 1.3593266161827677
302
+ }
codes/reconstruction/Reconstruction/artbuilding_floor2/json/three_views/test.json ADDED
@@ -0,0 +1,592 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772198070453985.txt",
6
+ "transform_matrix": [
7
+ [
8
+ 0.0765510921255416,
9
+ 0.0530871614979489,
10
+ 0.9948926943679344,
11
+ 0.0396645118098514
12
+ ],
13
+ [
14
+ 0.9970364912795119,
15
+ 0.0035566752659169465,
16
+ -0.07678928736465598,
17
+ -0.10670134323042067
18
+ ],
19
+ [
20
+ 0.007626621232643376,
21
+ -0.9978226250035316,
22
+ 0.05265756985596186,
23
+ 0.011442711647194861
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772198093918335.txt",
35
+ "transform_matrix": [
36
+ [
37
+ 0.14295727436473107,
38
+ 0.05380794063371477,
39
+ 0.987511952648509,
40
+ 0.028116542334233136
41
+ ],
42
+ [
43
+ 0.9897246224795352,
44
+ -0.0048520879669867205,
45
+ -0.1427955545064405,
46
+ -0.11998945751200073
47
+ ],
48
+ [
49
+ 0.0028964398746002956,
50
+ -0.9977785577927162,
51
+ 0.05394868500084289,
52
+ 0.011761112150820973
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772198153889096.txt",
64
+ "transform_matrix": [
65
+ [
66
+ 0.2946736285590876,
67
+ 0.053416548842416825,
68
+ 0.9533765892671933,
69
+ -7.5066603910795e-05
70
+ ],
71
+ [
72
+ 0.9555875470492824,
73
+ -0.021128149147374292,
74
+ -0.2937245352733548,
75
+ -0.14140114530139428
76
+ ],
77
+ [
78
+ -0.004460107191039793,
79
+ -0.9975876709578799,
80
+ 0.05727009725415757,
81
+ 0.01247696782226467
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ },
91
+ {
92
+ "file_path": "RawDataHistogramMap_frame_0_1772198175721452.txt",
93
+ "transform_matrix": [
94
+ [
95
+ 0.3581942089441882,
96
+ 0.05281333908168645,
97
+ 0.9314416000649832,
98
+ -0.013165968519843314
99
+ ],
100
+ [
101
+ 0.9336158641182628,
102
+ -0.02842183766751226,
103
+ -0.35687339770735826,
104
+ -0.1495701072556255
105
+ ],
106
+ [
107
+ -0.007637207968607453,
108
+ -0.9974386387053796,
109
+ 0.05948790886377467,
110
+ 0.01300133315956328
111
+ ],
112
+ [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 1.0
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "file_path": "RawDataHistogramMap_frame_0_1772198219178322.txt",
122
+ "transform_matrix": [
123
+ [
124
+ 0.4676161256487413,
125
+ 0.04991983629322595,
126
+ 0.8818481916223838,
127
+ -0.04040525542811652
128
+ ],
129
+ [
130
+ 0.8838284523477559,
131
+ -0.04164945500416389,
132
+ -0.4655965379240915,
133
+ -0.16635037827132787
134
+ ],
135
+ [
136
+ -0.013506511534447718,
137
+ -0.9971229715868103,
138
+ 0.0635965284369243,
139
+ 0.01409840224459
140
+ ],
141
+ [
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 1.0
146
+ ]
147
+ ]
148
+ },
149
+ {
150
+ "file_path": "RawDataHistogramMap_frame_0_1772198238979859.txt",
151
+ "transform_matrix": [
152
+ [
153
+ 0.5292527163686659,
154
+ 0.04763630359335833,
155
+ 0.8464802115907151,
156
+ -0.053896493804889756
157
+ ],
158
+ [
159
+ 0.8483222846599654,
160
+ -0.04795831340653589,
161
+ -0.526899819160299,
162
+ -0.17305912043268673
163
+ ],
164
+ [
165
+ -0.015519779820694087,
166
+ -0.9969511875608351,
167
+ 0.06579300553994309,
168
+ 0.014050120811018849
169
+ ],
170
+ [
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 1.0
175
+ ]
176
+ ]
177
+ },
178
+ {
179
+ "file_path": "RawDataHistogramMap_frame_0_1772198278964546.txt",
180
+ "transform_matrix": [
181
+ [
182
+ 0.5932446694981659,
183
+ 0.04388054579241434,
184
+ 0.8032127879265347,
185
+ -0.06754317075180054
186
+ ],
187
+ [
188
+ 0.804836718866782,
189
+ -0.053747125548920166,
190
+ -0.5906047862764238,
191
+ -0.186755443749673
192
+ ],
193
+ [
194
+ -0.017280569312474094,
195
+ -0.9968282860252243,
196
+ 0.06720187023039655,
197
+ 0.013941017387248013
198
+ ],
199
+ [
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 1.0
204
+ ]
205
+ ]
206
+ },
207
+ {
208
+ "file_path": "RawDataHistogramMap_frame_0_1772198322423861.txt",
209
+ "transform_matrix": [
210
+ [
211
+ 0.702627356253017,
212
+ 0.03600279090977554,
213
+ 0.7101052374228285,
214
+ -0.1027345972613511
215
+ ],
216
+ [
217
+ 0.7111724573990389,
218
+ -0.0683792823624855,
219
+ -0.6991474901590903,
220
+ -0.20268156865963521
221
+ ],
222
+ [
223
+ -0.023420804467450394,
224
+ -0.9962474393513364,
225
+ 0.07364934767336136,
226
+ 0.014975385997845824
227
+ ],
228
+ [
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 1.0
233
+ ]
234
+ ]
235
+ },
236
+ {
237
+ "file_path": "RawDataHistogramMap_frame_0_1772198351400021.txt",
238
+ "transform_matrix": [
239
+ [
240
+ 0.7447221125187385,
241
+ 0.031175674121882976,
242
+ 0.666138466510032,
243
+ -0.11712496333102058
244
+ ],
245
+ [
246
+ 0.6668136714501303,
247
+ -0.0756783203975248,
248
+ -0.7408027172314057,
249
+ -0.2070151065681703
250
+ ],
251
+ [
252
+ -0.027358777253774037,
253
+ -0.9958824010839087,
254
+ 0.07714768435946118,
255
+ 0.015694987487261537
256
+ ],
257
+ [
258
+ 0.0,
259
+ 0.0,
260
+ 0.0,
261
+ 1.0
262
+ ]
263
+ ]
264
+ },
265
+ {
266
+ "file_path": "RawDataHistogramMap_frame_0_1772198393216933.txt",
267
+ "transform_matrix": [
268
+ [
269
+ 0.8596935015777457,
270
+ 0.018017201887865694,
271
+ 0.510103995494577,
272
+ -0.16813933567572137
273
+ ],
274
+ [
275
+ 0.5098566725528871,
276
+ -0.09125559149551875,
277
+ -0.8547481366888385,
278
+ -0.2251790663645159
279
+ ],
280
+ [
281
+ -0.0311970639370124,
282
+ -0.994901344395881,
283
+ 0.0876380295945924,
284
+ 0.01690200536198783
285
+ ],
286
+ [
287
+ 0.0,
288
+ 0.0,
289
+ 0.0,
290
+ 1.0
291
+ ]
292
+ ]
293
+ },
294
+ {
295
+ "file_path": "RawDataHistogramMap_frame_0_1772198436687312.txt",
296
+ "transform_matrix": [
297
+ [
298
+ 0.8962797993528071,
299
+ 0.011572386150022661,
300
+ 0.44300092358666526,
301
+ -0.19039777588254406
302
+ ],
303
+ [
304
+ 0.4422847324161971,
305
+ -0.09688834771755189,
306
+ -0.890940465761403,
307
+ -0.22667720543946496
308
+ ],
309
+ [
310
+ -0.03266093604935928,
311
+ -0.9944644868365857,
312
+ 0.09195735856369275,
313
+ 0.01742927087048206
314
+ ],
315
+ [
316
+ 0.0,
317
+ 0.0,
318
+ 0.0,
319
+ 1.0
320
+ ]
321
+ ]
322
+ },
323
+ {
324
+ "file_path": "RawDataHistogramMap_frame_0_1772198480338871.txt",
325
+ "transform_matrix": [
326
+ [
327
+ 0.9460787342648752,
328
+ -8.43243054534286e-05,
329
+ 0.323690613643001,
330
+ -0.22977012080761375
331
+ ],
332
+ [
333
+ 0.3221304527604595,
334
+ -0.10513190784466737,
335
+ -0.940115831308869,
336
+ -0.22490399026313557
337
+ ],
338
+ [
339
+ -0.034161381355425485,
340
+ -0.9936941996742,
341
+ 0.09943589887784063,
342
+ 0.01886328694843962
343
+ ],
344
+ [
345
+ 0.0,
346
+ 0.0,
347
+ 0.0,
348
+ 1.0
349
+ ]
350
+ ]
351
+ },
352
+ {
353
+ "file_path": "RawDataHistogramMap_frame_0_1772198500132232.txt",
354
+ "transform_matrix": [
355
+ [
356
+ 0.9697819566593116,
357
+ -0.008625343040355903,
358
+ 0.24363525593708568,
359
+ -0.25160098770739225
360
+ ],
361
+ [
362
+ 0.24144470756716557,
363
+ -0.10947043351615154,
364
+ -0.9634781380415555,
365
+ -0.21995971398109734
366
+ ],
367
+ [
368
+ -0.035034407742136855,
369
+ -0.9931881570311938,
370
+ 0.1040799077835917,
371
+ 0.019617629796069506
372
+ ],
373
+ [
374
+ 0.0,
375
+ 0.0,
376
+ 0.0,
377
+ 1.0
378
+ ]
379
+ ]
380
+ },
381
+ {
382
+ "file_path": "RawDataHistogramMap_frame_0_1772198541762762.txt",
383
+ "transform_matrix": [
384
+ [
385
+ 0.9973097634545925,
386
+ -0.025722295261788434,
387
+ 0.0685816061034478,
388
+ -0.2985792543120905
389
+ ],
390
+ [
391
+ 0.0652040610151215,
392
+ -0.11616837082452136,
393
+ -0.9903235260675478,
394
+ -0.20245880218378487
395
+ ],
396
+ [
397
+ -0.033491284616726874,
398
+ -0.9921311207548321,
399
+ 0.1141786523182107,
400
+ 0.02042081291088349
401
+ ],
402
+ [
403
+ 0.0,
404
+ 0.0,
405
+ 0.0,
406
+ 1.0
407
+ ]
408
+ ]
409
+ },
410
+ {
411
+ "file_path": "RawDataHistogramMap_frame_0_1772198561763286.txt",
412
+ "transform_matrix": [
413
+ [
414
+ 0.9990317851737283,
415
+ -0.03534696830784702,
416
+ -0.02613701998817243,
417
+ -0.32060424198842397
418
+ ],
419
+ [
420
+ -0.03018275962641663,
421
+ -0.11844534449689648,
422
+ -0.9917368466089991,
423
+ -0.1912969790813251
424
+ ],
425
+ [
426
+ -0.03200770585228433,
427
+ -0.991565519682009,
428
+ 0.11939753300621032,
429
+ 0.021194416632141597
430
+ ],
431
+ [
432
+ 0.0,
433
+ 0.0,
434
+ 0.0,
435
+ 1.0
436
+ ]
437
+ ]
438
+ },
439
+ {
440
+ "file_path": "RawDataHistogramMap_frame_0_1772198589085278.txt",
441
+ "transform_matrix": [
442
+ [
443
+ 0.9924860335186986,
444
+ -0.04484909473440874,
445
+ -0.1137422024645543,
446
+ -0.3428527492354664
447
+ ],
448
+ [
449
+ -0.11847513090170088,
450
+ -0.11991986879745538,
451
+ -0.9849289714757675,
452
+ -0.17724750064810824
453
+ ],
454
+ [
455
+ -0.030579676717458336,
456
+ -0.9910038705236746,
457
+ 0.12433229729235103,
458
+ 0.021945322494921263
459
+ ],
460
+ [
461
+ 0.0,
462
+ 0.0,
463
+ 0.0,
464
+ 1.0
465
+ ]
466
+ ]
467
+ },
468
+ {
469
+ "file_path": "RawDataHistogramMap_frame_0_1772198639878375.txt",
470
+ "transform_matrix": [
471
+ [
472
+ 0.9337474742296039,
473
+ -0.070397063128451,
474
+ -0.35066406402223027,
475
+ -0.3952735775336465
476
+ ],
477
+ [
478
+ -0.35718401177531145,
479
+ -0.11993953775109942,
480
+ -0.9255856446770832,
481
+ -0.1407755886311497
482
+ ],
483
+ [
484
+ -0.023135170237805404,
485
+ -0.9895148550733014,
486
+ 0.13713794586077468,
487
+ 0.022570947539571704
488
+ ],
489
+ [
490
+ 0.0,
491
+ 0.0,
492
+ 0.0,
493
+ 1.0
494
+ ]
495
+ ]
496
+ },
497
+ {
498
+ "file_path": "RawDataHistogramMap_frame_0_1772198661715301.txt",
499
+ "transform_matrix": [
500
+ [
501
+ 0.909051355512665,
502
+ -0.07702381812586961,
503
+ -0.409181142813209,
504
+ -0.4089549669215209
505
+ ],
506
+ [
507
+ -0.41615956327855275,
508
+ -0.11856904815450116,
509
+ -0.9008310493969743,
510
+ -0.1255302576612931
511
+ ],
512
+ [
513
+ -0.020900979220964268,
514
+ -0.9891863322371806,
515
+ 0.13983955246000337,
516
+ 0.0231440681717764
517
+ ],
518
+ [
519
+ 0.0,
520
+ 0.0,
521
+ 0.0,
522
+ 1.0
523
+ ]
524
+ ]
525
+ },
526
+ {
527
+ "file_path": "RawDataHistogramMap_frame_0_1772198701695011.txt",
528
+ "transform_matrix": [
529
+ [
530
+ 0.8097447180262384,
531
+ -0.09738245925268169,
532
+ -0.5781929585978056,
533
+ -0.43929837093734836
534
+ ],
535
+ [
536
+ -0.5866340060006799,
537
+ -0.11219814988329313,
538
+ -0.8014211079690982,
539
+ -0.08252338693985231
540
+ ],
541
+ [
542
+ -0.013192218623398226,
543
+ -0.9881341606363289,
544
+ 0.1479797214259106,
545
+ 0.022530320623038128
546
+ ],
547
+ [
548
+ 0.0,
549
+ 0.0,
550
+ 0.0,
551
+ 1.0
552
+ ]
553
+ ]
554
+ },
555
+ {
556
+ "file_path": "RawDataHistogramMap_frame_0_1772198719838029.txt",
557
+ "transform_matrix": [
558
+ [
559
+ 0.7495071703415452,
560
+ -0.10640777852789007,
561
+ -0.6528787421752204,
562
+ -0.4527738463505441
563
+ ],
564
+ [
565
+ -0.6619421353991022,
566
+ -0.10785725877681075,
567
+ -0.7411787464857297,
568
+ -0.05813968540904105
569
+ ],
570
+ [
571
+ -0.008462327687683067,
572
+ -0.9876867337479569,
573
+ 0.15127558096842872,
574
+ 0.022186935174191232
575
+ ],
576
+ [
577
+ 0.0,
578
+ 0.0,
579
+ 0.0,
580
+ 1.0
581
+ ]
582
+ ]
583
+ }
584
+ ],
585
+ "w": 256,
586
+ "h": 192,
587
+ "fl_x": 118.6514575329715,
588
+ "fl_y": 118.7964934010577,
589
+ "cx": 130.6802784645003,
590
+ "cy": 100.360570246814,
591
+ "camera_angle_y": 1.3593266161827677
592
+ }
codes/reconstruction/Reconstruction/artbuilding_floor2/json/three_views/train.json ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772198197362390.txt",
6
+ "transform_matrix": [
7
+ [
8
+ 0.42575476440610766,
9
+ 0.051330438275310336,
10
+ 0.9026928156578303,
11
+ -0.02877393466471059
12
+ ],
13
+ [
14
+ 0.9047764254058259,
15
+ -0.03584523804280706,
16
+ -0.4240509437720101,
17
+ -0.16056935950056
18
+ ],
19
+ [
20
+ -0.01060663072591605,
21
+ -0.9972768886522518,
22
+ 0.06170385133524624,
23
+ 0.013615997876131788
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772198456673135.txt",
35
+ "transform_matrix": [
36
+ [
37
+ 0.9194129512091803,
38
+ 0.006820017295468751,
39
+ 0.39293553730374436,
40
+ -0.2063823587796793
41
+ ],
42
+ [
43
+ 0.3918698242832872,
44
+ -0.10081980356662738,
45
+ -0.9137765446330269,
46
+ -0.22610333114146203
47
+ ],
48
+ [
49
+ -0.033434502613431144,
50
+ -0.9941175696046592,
51
+ 0.0953675921167078,
52
+ 0.018027738800714423
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772198681508765.txt",
64
+ "transform_matrix": [
65
+ [
66
+ 0.8677294692378115,
67
+ -0.08644799551623582,
68
+ -0.48907772624331464,
69
+ -0.4226587022247634
70
+ ],
71
+ [
72
+ -0.4967306568128945,
73
+ -0.11629840713145746,
74
+ -0.8594120376956886,
75
+ -0.10790066929637507
76
+ ],
77
+ [
78
+ -0.017441983789182634,
79
+ -0.988677051515664,
80
+ 0.14385692468631933,
81
+ 0.02296865439286139
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ }
91
+ ],
92
+ "w": 256,
93
+ "h": 192,
94
+ "fl_x": 118.6514575329715,
95
+ "fl_y": 118.7964934010577,
96
+ "cx": 130.6802784645003,
97
+ "cy": 100.360570246814,
98
+ "camera_angle_y": 1.3593266161827677
99
+ }
codes/reconstruction/Reconstruction/artbuilding_floor2/sp_pose_results.csv ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sp_seq,sp_file,sp_timestamp,used_in_final_merge,livox_index,livox_csv_name,matched_livox_index,matched_pose_csv_name,matched_livox_used_in_final_merge,match_mode,livox_pose_00,livox_pose_01,livox_pose_02,livox_pose_03,livox_pose_10,livox_pose_11,livox_pose_12,livox_pose_13,livox_pose_20,livox_pose_21,livox_pose_22,livox_pose_23,livox_pose_30,livox_pose_31,livox_pose_32,livox_pose_33,sp_pose_00,sp_pose_01,sp_pose_02,sp_pose_03,sp_pose_10,sp_pose_11,sp_pose_12,sp_pose_13,sp_pose_20,sp_pose_21,sp_pose_22,sp_pose_23,sp_pose_30,sp_pose_31,sp_pose_32,sp_pose_33
2
+ 0,RawDataHistogramMap_frame_0_1772198043298850.txt,1772198043298850,True,1,1.csv,1,1.csv,True,pair_force(1),1.0,-5.989408020343335e-20,2.710505431213761e-20,-8.673617379884035e-19,-5.98949073840459e-20,0.9999999999999999,3.3881317890172014e-21,0.0,0.0,3.3881317890172014e-21,1.0,0.0,0.0,0.0,0.0,1.0,-5.989408020343335e-20,0.052256455795,0.997872812763,0.049398541753,0.9999999999999999,-6.5108201783783435e-21,-5.959044794243685e-20,-0.08171214699999998,3.3881317890172014e-21,-0.997872812763,0.052256455795,0.013621837804,0.0,0.0,0.0,1.0
3
+ 1,RawDataHistogramMap_frame_0_1772198070453985.txt,1772198070453985,True,2,2.csv,2,2.csv,True,pair_force(2),0.9970651722774786,0.0765510921255416,-0.0009861671602937052,-0.0033204662314818157,-0.07655638067418455,0.9970364912795119,-0.0075733503225902075,-0.021346414373705516,0.000403496407070651,0.007626621232643376,0.9999708354943269,-0.0015754734214760138,0.0,0.0,0.0,1.0,0.0765510921255416,0.0530871614979489,0.9948926943679344,0.0396645118098514,0.9970364912795119,0.0035566752659169465,-0.07678928736465598,-0.10670134323042067,0.007626621232643376,-0.9978226250035316,0.05265756985596186,0.011442711647194861,0.0,0.0,0.0,1.0
4
+ 2,RawDataHistogramMap_frame_0_1772198093918335.txt,1772198093918335,True,3,3.csv,3,3.csv,True,pair_force(3),0.98972664809778,0.14295727436473107,-0.002092785544960629,-0.009064657413019539,-0.14296253069546727,0.9897246224795352,-0.0026242093833497727,-0.03201904657417513,0.0016961315626106764,0.0028964398746002956,0.9999943668710202,-0.001707761024613938,0.0,0.0,0.0,1.0,0.14295727436473107,0.05380794063371477,0.987511952648509,0.028116542334233136,0.9897246224795352,-0.0048520879669867205,-0.1427955545064405,-0.11998945751200073,0.0028964398746002956,-0.9977785577927162,0.05394868500084289,0.011761112150820973,0.0,0.0,0.0,1.0
5
+ 3,RawDataHistogramMap_frame_0_1772198119419649.txt,1772198119419649,True,4,4.csv,4,4.csv,True,pair_force(4),0.9771652629518407,0.2124614363850213,-0.0028612810892218146,-0.015673383508987032,-0.21245881723922772,0.977169292450201,0.001193679051882625,-0.04094315693974254,0.003049566783401599,-0.0005585173086075142,0.9999951940888752,-0.0016198365383122263,0.0,0.0,0.0,1.0,0.2124614363850213,0.05391838797645976,0.9749371290672938,0.015197499503887657,0.977169292450201,-0.012293484664358072,-0.2119445001182002,-0.13126865346006955,-0.0005585173086075142,-0.9977086575231372,0.055299284438979315,0.012198217600847338,0.0,0.0,0.0,1.0
6
+ 4,RawDataHistogramMap_frame_0_1772198153889096.txt,1772198153889096,True,5,5.csv,5,5.csv,True,pair_force(5),0.955591589287638,0.2946736285590876,-0.003488139123758516,-0.023153967906926618,-0.29465141899994635,0.9555875470492824,0.005742926575584184,-0.04884091397581723,0.005025511321614737,-0.004460107191039793,0.999977425585098,-0.0017572603419979747,0.0,0.0,0.0,1.0,0.2946736285590876,0.053416548842416825,0.9533765892671933,-7.5066603910795e-05,0.9555875470492824,-0.021128149147374292,-0.2937245352733548,-0.14140114530139428,-0.004460107191039793,-0.9975876709578799,0.05727009725415757,0.01247696782226467,0.0,0.0,0.0,1.0
7
+ 5,RawDataHistogramMap_frame_0_1772198175721452.txt,1772198175721452,True,6,6.csv,6,6.csv,True,pair_force(6),0.9336383889319483,0.3581942089441882,-0.004033285435250121,-0.029962584841889378,-0.35814354596735193,0.9336158641182628,0.009727216901048226,-0.055723084187136694,0.007249772029966561,-0.007637207968607453,0.9999445553929269,-0.0016019302135145243,0.0,0.0,0.0,1.0,0.3581942089441882,0.05281333908168645,0.9314416000649832,-0.013165968519843314,0.9336158641182628,-0.02842183766751226,-0.35687339770735826,-0.1495701072556255,-0.007637207968607453,-0.9974386387053796,0.05948790886377467,0.01300133315956328,0.0,0.0,0.0,1.0
8
+ 6,RawDataHistogramMap_frame_0_1772198197362390.txt,1772198197362390,True,7,7.csv,7,7.csv,True,pair_force(7),0.9048295034972202,0.42575476440610766,-0.0040558829462340445,-0.03862660819781644,-0.4256686916915368,0.9047764254058259,0.013630295061804798,-0.06579639225474793,0.00947283033678291,-0.01060663072591605,0.9998988773221298,-0.0013390970251133823,0.0,0.0,0.0,1.0,0.42575476440610766,0.051330438275310336,0.9026928156578303,-0.02877393466471059,0.9047764254058259,-0.03584523804280706,-0.4240509437720101,-0.16056935950056,-0.01060663072591605,-0.9972768886522518,0.06170385133524624,0.013615997876131788,0.0,0.0,0.0,1.0
9
+ 7,RawDataHistogramMap_frame_0_1772198219178322.txt,1772198219178322,True,8,8.csv,8,8.csv,True,pair_force(8),0.8839237486289065,0.4676161256487413,-0.0037370634304819917,-0.04580897636073614,-0.46749275384348826,0.8838284523477559,0.01725664870132969,-0.07127246479999318,0.011372410195485811,-0.013506511534447718,0.9998441090652666,-0.0011867385742158824,0.0,0.0,0.0,1.0,0.4676161256487413,0.04991983629322595,0.8818481916223838,-0.04040525542811652,0.8838284523477559,-0.04164945500416389,-0.4655965379240915,-0.16635037827132787,-0.013506511534447718,-0.9971229715868103,0.0635965284369243,0.01409840224459,0.0,0.0,0.0,1.0
10
+ 8,RawDataHistogramMap_frame_0_1772198238979859.txt,1772198238979859,True,9,9.csv,9,9.csv,True,pair_force(9),0.8484577968210474,0.5292527163686659,-0.00330593859023163,-0.0525176629874808,-0.529088881542398,0.8483222846599654,0.0203532989343135,-0.07788191533611512,0.01357654012586034,-0.015519779820694087,0.9997873843935668,-0.0015076365920605019,0.0,0.0,0.0,1.0,0.5292527163686659,0.04763630359335833,0.8464802115907151,-0.053896493804889756,0.8483222846599654,-0.04795831340653589,-0.526899819160299,-0.17305912043268673,-0.015519779820694087,-0.9969511875608351,0.06579300553994309,0.014050120811018849,0.0,0.0,0.0,1.0
11
+ 9,RawDataHistogramMap_frame_0_1772198278964546.txt,1772198278964546,True,10,10.csv,10,10.csv,True,pair_force(10),0.8050201618278504,0.5932446694981659,-0.0018169101999616689,-0.05880994753081156,-0.593058015374263,0.804836718866782,0.02280452507933918,-0.09200494587404404,0.014990978987568604,-0.017280569312474094,0.9997382919910756,-0.001829820394042734,0.0,0.0,0.0,1.0,0.5932446694981659,0.04388054579241434,0.8032127879265347,-0.06754317075180054,0.804836718866782,-0.053747125548920166,-0.5906047862764238,-0.186755443749673,-0.017280569312474094,-0.9968282860252243,0.06720187023039655,0.013941017387248013,0.0,0.0,0.0,1.0
12
+ 10,RawDataHistogramMap_frame_0_1772198300599993.txt,1772198300599993,True,11,11.csv,11,11.csv,True,pair_force(11),0.7625431565818859,0.6469372978778303,-0.0002587753134649314,-0.0686038719580139,-0.6466735835860872,0.7622436164831161,0.02824792775879432,-0.10051995157780622,0.01847188788571521,-0.02137292084078571,0.9996009141715877,-0.0017587012671274257,0.0,0.0,0.0,1.0,0.6469372978778303,0.04010602760362196,0.7609075618308142,-0.08380151257846295,0.7622436164831161,-0.06198070866185471,-0.64382185120435,-0.19436445734679628,-0.02137292084078571,-0.9965093004721183,0.07066819570561057,0.014516611828988949,0.0,0.0,0.0,1.0
13
+ 11,RawDataHistogramMap_frame_0_1772198322423861.txt,1772198322423861,True,12,12.csv,12,12.csv,True,pair_force(12),0.7115570239579986,0.702627356253017,0.0011831740911331747,-0.08048740380417614,-0.7023004047239415,0.7111724573990389,0.03174708430075477,-0.11030997804548409,0.021464929085059606,-0.023420804467450394,0.9994952339743652,-0.0016136763783600734,0.0,0.0,0.0,1.0,0.702627356253017,0.03600279090977554,0.7101052374228285,-0.1027345972613511,0.7111724573990389,-0.0683792823624855,-0.6991474901590903,-0.20268156865963521,-0.023420804467450394,-0.9962474393513364,0.07364934767336136,0.014975385997845824,0.0,0.0,0.0,1.0
14
+ 12,RawDataHistogramMap_frame_0_1772198351400021.txt,1772198351400021,True,13,13.csv,13,13.csv,True,pair_force(13),0.6673643970175738,0.7447221125187385,0.0037063080010990247,-0.0892894353557198,-0.7443122659255972,0.6668136714501303,0.03686161092379991,-0.11626251216463006,0.02498023991227919,-0.027358777253774037,0.9993135068241111,-0.001387030871050271,0.0,0.0,0.0,1.0,0.7447221125187385,0.031175674121882976,0.666138466510032,-0.11712496333102058,0.6668136714501303,-0.0756783203975248,-0.7408027172314057,-0.2070151065681703,-0.027358777253774037,-0.9958824010839087,0.07714768435946118,0.015694987487261537,0.0,0.0,0.0,1.0
15
+ 13,RawDataHistogramMap_frame_0_1772198371392903.txt,1772198371392903,True,14,14.csv,14,14.csv,True,pair_force(14),0.5718341910540761,0.820342594841069,0.006609465254541702,-0.11148650470844149,-0.8197567511683457,0.5710774633658319,0.04323655570882203,-0.136421288606225,0.03169427165039811,-0.030142294621741422,0.9990429996849427,-0.0011139859876155471,0.0,0.0,0.0,1.0,0.820342594841069,0.02328662244247806,0.5709631798900882,-0.15018065118221005,0.5710774633658319,-0.08598216588942785,-0.8157535859076896,-0.22299108099198492,-0.030142294621741422,-0.9952616178613449,0.08383329835059777,0.016523458123816524,0.0,0.0,0.0,1.0
16
+ 14,RawDataHistogramMap_frame_0_1772198393216933.txt,1772198393216933,True,15,15.csv,15,15.csv,True,pair_force(15),0.5107362897185089,0.8596935015777457,0.008690552891906015,-0.12323994313420857,-0.8590035440596407,0.5098566725528871,0.046465952548834726,-0.14171701221976696,0.03551554107074167,-0.0311970639370124,0.998882069888214,-0.0010081991922061885,0.0,0.0,0.0,1.0,0.8596935015777457,0.018017201887865694,0.510103995494577,-0.16813933567572137,0.5098566725528871,-0.09125559149551875,-0.8547481366888385,-0.2251790663645159,-0.0311970639370124,-0.994901344395881,0.0876380295945924,0.01690200536198783,0.0,0.0,0.0,1.0
17
+ 15,RawDataHistogramMap_frame_0_1772198436687312.txt,1772198436687312,True,16,16.csv,16,16.csv,True,pair_force(16),0.44333678796274456,0.8962797993528071,0.01161954004974341,-0.13921929948543021,-0.8954686277081151,0.4422847324161971,0.05020111813569485,-0.14698615746289995,0.039855102928247614,-0.03266093604935928,0.9986715346033243,-0.0008120499670501934,0.0,0.0,0.0,1.0,0.8962797993528071,0.011572386150022661,0.44300092358666526,-0.19039777588254406,0.4422847324161971,-0.09688834771755189,-0.890940465761403,-0.22667720543946496,-0.03266093604935928,-0.9944644868365857,0.09195735856369275,0.01742927087048206,0.0,0.0,0.0,1.0
18
+ 16,RawDataHistogramMap_frame_0_1772198456673135.txt,1772198456673135,True,17,17.csv,17,17.csv,True,pair_force(17),0.3930531717138066,0.9194129512091803,0.01374879465779853,-0.15085868992165352,-0.9184965559237581,0.3918698242832872,0.052935031617785316,-0.1494314884018225,0.04328141589540134,-0.033434502613431144,0.9985033064908119,-0.000443755109719625,0.0,0.0,0.0,1.0,0.9194129512091803,0.006820017295468751,0.39293553730374436,-0.2063823587796793,0.3918698242832872,-0.10081980356662738,-0.9137765446330269,-0.22610333114146203,-0.033434502613431144,-0.9941175696046592,0.0953675921167078,0.018027738800714423,0.0,0.0,0.0,1.0
19
+ 17,RawDataHistogramMap_frame_0_1772198480338871.txt,1772198480338871,True,18,18.csv,18,18.csv,True,pair_force(18),0.32348907286573964,0.9460787342648752,0.01702493195980317,-0.1686757955341664,-0.9450454800910179,0.3221304527604595,0.05586601797043527,-0.15265914858278487,0.047369402529461216,-0.034161381355425485,0.998293113132557,0.00013332085679386364,0.0,0.0,0.0,1.0,0.9460787342648752,-8.43243054534286e-05,0.323690613643001,-0.22977012080761375,0.3221304527604595,-0.10513190784466737,-0.940115831308869,-0.22490399026313557,-0.034161381355425485,-0.9936941996742,0.09943589887784063,0.01886328694843962,0.0,0.0,0.0,1.0
20
+ 18,RawDataHistogramMap_frame_0_1772198500132232.txt,1772198500132232,True,19,19.csv,19,19.csv,True,pair_force(19),0.2430354664578206,0.9697819566593116,0.021370975215647178,-0.1846547315022763,-0.9686206200848986,0.24144470756716557,0.058979212729125256,-0.15318570766952025,0.05203706746131006,-0.035034407742136855,0.9980304273338494,0.0005893292662963719,0.0,0.0,0.0,1.0,0.9697819566593116,-0.008625343040355903,0.24363525593708568,-0.25160098770739225,0.24144470756716557,-0.10947043351615154,-0.9634781380415555,-0.21995971398109734,-0.035034407742136855,-0.9931881570311938,0.1040799077835917,0.019617629796069506,0.0,0.0,0.0,1.0
21
+ 19,RawDataHistogramMap_frame_0_1772198521969111.txt,1772198521969111,True,20,20.csv,20,20.csv,True,pair_force(20),0.1578521485373163,0.9871252119389546,0.025816954828667617,-0.20484577667715248,-0.9858192566498929,0.15602775707927974,0.06177161353775537,-0.15237571134430344,0.05694815554873416,-0.035201633133712086,0.9977563593404544,0.0011410218672883968,0.0,0.0,0.0,1.0,0.9871252119389546,-0.017513243509671827,0.15886547002038046,-0.2773565567809238,0.15602775707927974,-0.11315563415681384,-0.9804942689169369,-0.21298166517687434,-0.035201633133712086,-0.9926580359741906,0.10896622724513479,0.020421854023026043,0.0,0.0,0.0,1.0
22
+ 20,RawDataHistogramMap_frame_0_1772198541762762.txt,1772198541762762,True,21,21.csv,21,21.csv,True,pair_force(21),0.06719363888939706,0.9973097634545925,0.029295914577703336,-0.22080526428906477,-0.9958002022486271,0.0652040610151215,0.06426809183977183,-0.1488152100197096,0.06218498286878285,-0.033491284616726874,0.9975025622825898,0.001024502553921657,0.0,0.0,0.0,1.0,0.9973097634545925,-0.025722295261788434,0.0685816061034478,-0.2985792543120905,0.0652040610151215,-0.11616837082452136,-0.9903235260675478,-0.20245880218378487,-0.033491284616726874,-0.9921311207548321,0.1141786523182107,0.02042081291088349,0.0,0.0,0.0,1.0
23
+ 21,RawDataHistogramMap_frame_0_1772198561763286.txt,1772198561763286,True,22,22.csv,22,22.csv,True,pair_force(22),-0.02797102006245858,0.9990317851737283,0.0339575359715307,-0.2380520463454342,-0.9973318296809058,-0.03018275962641663,0.066469711347856,-0.1454019787695556,0.06743028653356524,-0.03200770585228433,0.9972104407917498,0.0016642015607413433,0.0,0.0,0.0,1.0,0.9990317851737283,-0.03534696830784702,-0.02613701998817243,-0.32060424198842397,-0.03018275962641663,-0.11844534449689648,-0.9917368466089991,-0.1912969790813251,-0.03200770585228433,-0.991565519682009,0.11939753300621032,0.021194416632141597,0.0,0.0,0.0,1.0
24
+ 22,RawDataHistogramMap_frame_0_1772198589085278.txt,1772198589085278,True,23,23.csv,23,23.csv,True,pair_force(23),-0.11602015389126313,0.9924860335186986,0.03886897427725872,-0.25655282501616516,-0.9906052711884443,-0.11847513090170088,0.06829963434377029,-0.13892426865175134,0.07239143999613891,-0.030579676717458336,0.9969073993040396,0.002290848985635678,0.0,0.0,0.0,1.0,0.9924860335186986,-0.04484909473440874,-0.1137422024645543,-0.3428527492354664,-0.11847513090170088,-0.11991986879745538,-0.9849289714757675,-0.17724750064810824,-0.030579676717458336,-0.9910038705236746,0.12433229729235103,0.021945322494921263,0.0,0.0,0.0,1.0
25
+ 23,RawDataHistogramMap_frame_0_1772198612552660.txt,1772198612552660,True,24,24.csv,24,24.csv,True,pair_force(24),-0.21675753112897608,0.9751999994342184,0.044734034049848374,-0.27720805544152766,-0.9731111046030987,-0.21949640933841671,0.06982910844109813,-0.13066611622850297,0.07791630636141457,-0.028395200140969645,0.9965554484382448,0.0025040646091439305,0.0,0.0,0.0,1.0,0.9751999994342184,-0.055965856727232685,-0.21395880520237698,-0.3669918873453027,-0.21949640933841671,-0.12053190627416659,-0.9673920933627475,-0.15984966210453164,-0.028395200140969645,-0.9903639583882793,0.12982701952754794,0.022248165971509394,0.0,0.0,0.0,1.0
26
+ 24,RawDataHistogramMap_frame_0_1772198639878375.txt,1772198639878375,True,25,25.csv,25,25.csv,True,pair_force(25),-0.35413480748713566,0.9337474742296039,0.0520018508890402,-0.3021896843629928,-0.9312991138693654,-0.35718401177531145,0.07142508129659807,-0.1249299838189357,0.08526721897763087,-0.023135170237805404,0.9960894865753215,0.0028998774070027682,0.0,0.0,0.0,1.0,0.9337474742296039,-0.070397063128451,-0.35066406402223027,-0.3952735775336465,-0.35718401177531145,-0.11993953775109942,-0.9255856446770832,-0.1407755886311497,-0.023135170237805404,-0.9895148550733014,0.13713794586077468,0.022570947539571704,0.0,0.0,0.0,1.0
27
+ 25,RawDataHistogramMap_frame_0_1772198661715301.txt,1772198661715301,True,26,26.csv,26,26.csv,True,pair_force(26),-0.4129630669615888,0.909051355512665,0.05556202269776832,-0.3150315124848229,-0.9064878682490807,-0.41615956327855275,0.07135098183654942,-0.11572830176480946,0.08798437385645017,-0.020900979220964268,0.9959025549845196,0.0035238814470812895,0.0,0.0,0.0,1.0,0.909051355512665,-0.07702381812586961,-0.409181142813209,-0.4089549669215209,-0.41615956327855275,-0.11856904815450116,-0.9008310493969743,-0.1255302576612931,-0.020900979220964268,-0.9891863322371806,0.13983955246000337,0.0231440681717764,0.0,0.0,0.0,1.0
28
+ 26,RawDataHistogramMap_frame_0_1772198681508765.txt,1772198681508765,True,27,27.csv,27,27.csv,True,pair_force(27),-0.4933042167432977,0.8677294692378115,0.060798996369602405,-0.3282143493976393,-0.8649752445481753,-0.4967306568128945,0.07124942737350891,-0.10673163015546225,0.09202595319854918,-0.017441983789182634,0.9956038374471025,0.003435530567325517,0.0,0.0,0.0,1.0,0.8677294692378115,-0.08644799551623582,-0.48907772624331464,-0.4226587022247634,-0.4967306568128945,-0.11629840713145746,-0.8594120376956886,-0.10790066929637507,-0.017441983789182634,-0.988677051515664,0.14385692468631933,0.02296865439286139,0.0,0.0,0.0,1.0
29
+ 27,RawDataHistogramMap_frame_0_1772198701695011.txt,1772198701695011,True,28,28.csv,28,28.csv,True,pair_force(28),-0.5829374435779913,0.8097447180262384,0.06706286978177446,-0.34524965139437847,-0.806805040398474,-0.5866340060006799,0.07018667816051757,-0.091559590144628,0.09617465187027008,-0.013192218623398226,0.9952770477135625,0.003143966045634978,0.0,0.0,0.0,1.0,0.8097447180262384,-0.09738245925268169,-0.5781929585978056,-0.43929837093734836,-0.5866340060006799,-0.11219814988329313,-0.8014211079690982,-0.08252338693985231,-0.013192218623398226,-0.9881341606363289,0.1479797214259106,0.022530320623038128,0.0,0.0,0.0,1.0
30
+ 28,RawDataHistogramMap_frame_0_1772198719838029.txt,1772198719838029,True,29,29.csv,29,29.csv,True,pair_force(29),-0.6580500922617605,0.7495071703415452,0.07217394045569908,-0.36000643302244667,-0.7463721818099517,-0.6619421353991022,0.0690012724775924,-0.07629862523780916,0.0994919207500586,-0.008462327687683067,0.995002385281347,0.0030269433020595413,0.0,0.0,0.0,1.0,0.7495071703415452,-0.10640777852789007,-0.6528787421752204,-0.4527738463505441,-0.6619421353991022,-0.10785725877681075,-0.7411787464857297,-0.05813968540904105,-0.008462327687683067,-0.9876867337479569,0.15127558096842872,0.022186935174191232,0.0,0.0,0.0,1.0
31
+ 29,RawDataHistogramMap_frame_0_1772198752298723.txt,1772198752298723,True,30,30.csv,30,30.csv,True,pair_force(30),-0.7375341503854825,0.6707615758744349,0.0782450339996879,-0.3743551906564715,-0.6674124298349025,-0.7416677477620264,0.06700448068206566,-0.056873061670960616,0.10297584919306112,-0.002803615532378474,0.9946799054082249,0.0026184377551779917,0.0,0.0,0.0,1.0,0.6707615758744349,-0.11661951288892697,-0.731876468993548,-0.4645318295062434,-0.7416677477620264,-0.10173855774263807,-0.6624913019495131,-0.028326274254349262,-0.002803615532378474,-0.9871828820972304,0.1547352467880781,0.021483752323974148,0.0,0.0,0.0,1.0
codes/reconstruction/Reconstruction/library_floor2/json/five_views/test.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772199392175914.txt",
6
+ "transform_matrix": [
7
+ [
8
+ -0.03178634873209384,
9
+ 0.049931486866079004,
10
+ 0.9974862892020013,
11
+ 0.052419011119498905
12
+ ],
13
+ [
14
+ 0.9994921049904234,
15
+ 0.003856104037090967,
16
+ 0.0316088566092803,
17
+ -0.07140761092102735
18
+ ],
19
+ [
20
+ 0.0022715844902093294,
21
+ -0.9979844010327983,
22
+ 0.05002869838074924,
23
+ 0.012733398758568515
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772199434360597.txt",
35
+ "transform_matrix": [
36
+ [
37
+ -0.17544218876375062,
38
+ 0.04587832679807021,
39
+ 0.9826712895858892,
40
+ 0.06607260273404801
41
+ ],
42
+ [
43
+ 0.9844282079044276,
44
+ 0.019334491553205834,
45
+ 0.1745861926663092,
46
+ -0.04063411829515111
47
+ ],
48
+ [
49
+ 0.01100644737692899,
50
+ -0.9979991203354758,
51
+ 0.04855600454820706,
52
+ 0.011753323827159469
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772199487168857.txt",
64
+ "transform_matrix": [
65
+ [
66
+ -0.31288686446388425,
67
+ 0.037922681672340204,
68
+ 0.9483107540445286,
69
+ 0.07192586675522694
70
+ ],
71
+ [
72
+ 0.9495752313160696,
73
+ 0.033741562710764124,
74
+ 0.3114788079768613,
75
+ -0.0019171438870984603
76
+ ],
77
+ [
78
+ 0.020216085600132667,
79
+ -0.997950031206177,
80
+ 0.04656773097982117,
81
+ 0.011001844517711695
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ },
91
+ {
92
+ "file_path": "RawDataHistogramMap_frame_0_1772199723201375.txt",
93
+ "transform_matrix": [
94
+ [
95
+ -0.4684084620124152,
96
+ 0.028018912307575392,
97
+ 0.8823959678071502,
98
+ 0.07264060233113454
99
+ ],
100
+ [
101
+ 0.8829832539210248,
102
+ 0.049394521464610576,
103
+ 0.46643974150199685,
104
+ 0.041044238077290886
105
+ ],
106
+ [
107
+ 0.03056282071742625,
108
+ -0.9976251848395669,
109
+ 0.04787704219174877,
110
+ 0.011299478441876816
111
+ ],
112
+ [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 1.0
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "file_path": "RawDataHistogramMap_frame_0_1772199785366866.txt",
122
+ "transform_matrix": [
123
+ [
124
+ -0.6692818756456348,
125
+ 0.008045557938958047,
126
+ 0.7424004283815193,
127
+ 0.06866385331999571
128
+ ],
129
+ [
130
+ 0.7416225490834012,
131
+ 0.06823632059593518,
132
+ 0.6668254679882826,
133
+ 0.0977791927176307
134
+ ],
135
+ [
136
+ 0.045362601593224694,
137
+ -0.9968750980803843,
138
+ 0.051636099823092516,
139
+ 0.012201684837718158
140
+ ],
141
+ [
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 1.0
146
+ ]
147
+ ]
148
+ },
149
+ {
150
+ "file_path": "RawDataHistogramMap_frame_0_1772199805545220.txt",
151
+ "transform_matrix": [
152
+ [
153
+ -0.7301626568112715,
154
+ 7.675273352834466e-05,
155
+ 0.6827541813228235,
156
+ 0.06922451324675682
157
+ ],
158
+ [
159
+ 0.6814183225369783,
160
+ 0.07366350513401873,
161
+ 0.72761872997396,
162
+ 0.11316369161616238
163
+ ],
164
+ [
165
+ 0.050314653026771135,
166
+ -0.9965212339655323,
167
+ 0.05383864133761623,
168
+ 0.012778815151356556
169
+ ],
170
+ [
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 1.0
175
+ ]
176
+ ]
177
+ },
178
+ {
179
+ "file_path": "RawDataHistogramMap_frame_0_1772199852852742.txt",
180
+ "transform_matrix": [
181
+ [
182
+ -0.8395263619812304,
183
+ -0.01788756281850372,
184
+ 0.542611359553467,
185
+ 0.056122122729285365
186
+ ],
187
+ [
188
+ 0.540026299199359,
189
+ 0.08231115576479311,
190
+ 0.8369709515574708,
191
+ 0.15268307172625162
192
+ ],
193
+ [
194
+ 0.059725067698708945,
195
+ -0.9956835824481971,
196
+ 0.05944263079911412,
197
+ 0.014150897420377178
198
+ ],
199
+ [
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 1.0
204
+ ]
205
+ ]
206
+ },
207
+ {
208
+ "file_path": "RawDataHistogramMap_frame_0_1772199904032740.txt",
209
+ "transform_matrix": [
210
+ [
211
+ -0.9187486110742421,
212
+ -0.036377815129889135,
213
+ 0.3928623335122538,
214
+ 0.0178158895397591
215
+ ],
216
+ [
217
+ 0.3890250117189879,
218
+ 0.08677712362370817,
219
+ 0.9164278814297702,
220
+ 0.19742647123217422
221
+ ],
222
+ [
223
+ 0.06753169556734134,
224
+ -0.9948001171118602,
225
+ 0.06557448184508305,
226
+ 0.016562841125611794
227
+ ],
228
+ [
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 1.0
233
+ ]
234
+ ]
235
+ },
236
+ {
237
+ "file_path": "RawDataHistogramMap_frame_0_1772199944374221.txt",
238
+ "transform_matrix": [
239
+ [
240
+ -0.9820226896614617,
241
+ -0.06237165661950643,
242
+ 0.17800866631628462,
243
+ -0.021692779880301674
244
+ ],
245
+ [
246
+ 0.17232329647059255,
247
+ 0.08868644175751791,
248
+ 0.9802884242362377,
249
+ 0.24593313001580921
250
+ ],
251
+ [
252
+ 0.07704621005336293,
253
+ -0.9933405151924135,
254
+ 0.07634400859621673,
255
+ 0.01863450257657484
256
+ ],
257
+ [
258
+ 0.0,
259
+ 0.0,
260
+ 0.0,
261
+ 1.0
262
+ ]
263
+ ]
264
+ },
265
+ {
266
+ "file_path": "RawDataHistogramMap_frame_0_1772199984529489.txt",
267
+ "transform_matrix": [
268
+ [
269
+ -0.9963854110954347,
270
+ -0.08261429517154179,
271
+ -0.01949432490770452,
272
+ -0.02715034220833344
273
+ ],
274
+ [
275
+ -0.026512495604841913,
276
+ 0.08441058382514137,
277
+ 0.9953159781405464,
278
+ 0.2736589305444172
279
+ ],
280
+ [
281
+ 0.08070439971273508,
282
+ -0.9922351632528513,
283
+ 0.08629578540305101,
284
+ 0.02039749672541153
285
+ ],
286
+ [
287
+ 0.0,
288
+ 0.0,
289
+ 0.0,
290
+ 1.0
291
+ ]
292
+ ]
293
+ }
294
+ ],
295
+ "w": 256,
296
+ "h": 192,
297
+ "fl_x": 118.6514575329715,
298
+ "fl_y": 118.7964934010577,
299
+ "cx": 130.6802784645003,
300
+ "cy": 100.360570246814,
301
+ "camera_angle_y": 1.3593266161827677
302
+ }
codes/reconstruction/Reconstruction/library_floor2/json/five_views/train.json ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772199414180196.txt",
6
+ "transform_matrix": [
7
+ [
8
+ -0.1297298599714963,
9
+ 0.04791010326156881,
10
+ 0.9896369230551468,
11
+ 0.0614324253746381
12
+ ],
13
+ [
14
+ 0.9915144206221619,
15
+ 0.014648574264965866,
16
+ 0.1290693660663581,
17
+ -0.051983024904005234
18
+ ],
19
+ [
20
+ 0.008325690966769488,
21
+ -0.997983431175721,
22
+ 0.04940391576551891,
23
+ 0.012252166496863899
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772199523849733.txt",
35
+ "transform_matrix": [
36
+ [
37
+ -0.39527989598391394,
38
+ 0.03283766782505879,
39
+ 0.9172751683965351,
40
+ 0.07160434769855123
41
+ ],
42
+ [
43
+ 0.9181998528409046,
44
+ 0.04211425753693024,
45
+ 0.39356963437907033,
46
+ 0.02042141901052335
47
+ ],
48
+ [
49
+ 0.02574556415945921,
50
+ -0.9978120887760983,
51
+ 0.04679846110324564,
52
+ 0.011822346828942173
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772199832864200.txt",
64
+ "transform_matrix": [
65
+ [
66
+ -0.7919441293398622,
67
+ -0.009453914090168792,
68
+ 0.6100563557627082,
69
+ 0.06441091331535667
70
+ ],
71
+ [
72
+ 0.6080646466126907,
73
+ 0.07862823125431777,
74
+ 0.7893779544648044,
75
+ 0.13332411418798512
76
+ ],
77
+ [
78
+ 0.05551469664799834,
79
+ -0.9960969392493841,
80
+ 0.05652057521188819,
81
+ 0.013349803742936716
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ },
91
+ {
92
+ "file_path": "RawDataHistogramMap_frame_0_1772199924198002.txt",
93
+ "transform_matrix": [
94
+ [
95
+ -0.9553930393055582,
96
+ -0.048491820940731595,
97
+ 0.29110166690881417,
98
+ -0.005522304471838588
99
+ ],
100
+ [
101
+ 0.2864365072804607,
102
+ 0.08802017391732658,
103
+ 0.9533163697351382,
104
+ 0.22401803050038133
105
+ ],
106
+ [
107
+ 0.07196018165254385,
108
+ -0.9941739686338678,
109
+ 0.07020403365714539,
110
+ 0.017615946288473155
111
+ ],
112
+ [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 1.0
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "file_path": "RawDataHistogramMap_frame_0_1772200006353347.txt",
122
+ "transform_matrix": [
123
+ [
124
+ -0.9887088508783545,
125
+ -0.09284007328791502,
126
+ -0.11747943483722886,
127
+ -0.04632061054317356
128
+ ],
129
+ [
130
+ -0.12520099106225285,
131
+ 0.08102592469776743,
132
+ 0.9880608339125488,
133
+ 0.29263277563612583
134
+ ],
135
+ [
136
+ 0.08233784082572862,
137
+ -0.9916130333666293,
138
+ 0.09173471808522415,
139
+ 0.021238060097061223
140
+ ],
141
+ [
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 1.0
146
+ ]
147
+ ]
148
+ }
149
+ ],
150
+ "w": 256,
151
+ "h": 192,
152
+ "fl_x": 118.6514575329715,
153
+ "fl_y": 118.7964934010577,
154
+ "cx": 130.6802784645003,
155
+ "cy": 100.360570246814,
156
+ "camera_angle_y": 1.3593266161827677
157
+ }
codes/reconstruction/Reconstruction/library_floor2/json/ten_views/test.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772199392175914.txt",
6
+ "transform_matrix": [
7
+ [
8
+ -0.03178634873209384,
9
+ 0.049931486866079004,
10
+ 0.9974862892020013,
11
+ 0.052419011119498905
12
+ ],
13
+ [
14
+ 0.9994921049904234,
15
+ 0.003856104037090967,
16
+ 0.0316088566092803,
17
+ -0.07140761092102735
18
+ ],
19
+ [
20
+ 0.0022715844902093294,
21
+ -0.9979844010327983,
22
+ 0.05002869838074924,
23
+ 0.012733398758568515
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772199434360597.txt",
35
+ "transform_matrix": [
36
+ [
37
+ -0.17544218876375062,
38
+ 0.04587832679807021,
39
+ 0.9826712895858892,
40
+ 0.06607260273404801
41
+ ],
42
+ [
43
+ 0.9844282079044276,
44
+ 0.019334491553205834,
45
+ 0.1745861926663092,
46
+ -0.04063411829515111
47
+ ],
48
+ [
49
+ 0.01100644737692899,
50
+ -0.9979991203354758,
51
+ 0.04855600454820706,
52
+ 0.011753323827159469
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772199487168857.txt",
64
+ "transform_matrix": [
65
+ [
66
+ -0.31288686446388425,
67
+ 0.037922681672340204,
68
+ 0.9483107540445286,
69
+ 0.07192586675522694
70
+ ],
71
+ [
72
+ 0.9495752313160696,
73
+ 0.033741562710764124,
74
+ 0.3114788079768613,
75
+ -0.0019171438870984603
76
+ ],
77
+ [
78
+ 0.020216085600132667,
79
+ -0.997950031206177,
80
+ 0.04656773097982117,
81
+ 0.011001844517711695
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ },
91
+ {
92
+ "file_path": "RawDataHistogramMap_frame_0_1772199723201375.txt",
93
+ "transform_matrix": [
94
+ [
95
+ -0.4684084620124152,
96
+ 0.028018912307575392,
97
+ 0.8823959678071502,
98
+ 0.07264060233113454
99
+ ],
100
+ [
101
+ 0.8829832539210248,
102
+ 0.049394521464610576,
103
+ 0.46643974150199685,
104
+ 0.041044238077290886
105
+ ],
106
+ [
107
+ 0.03056282071742625,
108
+ -0.9976251848395669,
109
+ 0.04787704219174877,
110
+ 0.011299478441876816
111
+ ],
112
+ [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 1.0
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "file_path": "RawDataHistogramMap_frame_0_1772199785366866.txt",
122
+ "transform_matrix": [
123
+ [
124
+ -0.6692818756456348,
125
+ 0.008045557938958047,
126
+ 0.7424004283815193,
127
+ 0.06866385331999571
128
+ ],
129
+ [
130
+ 0.7416225490834012,
131
+ 0.06823632059593518,
132
+ 0.6668254679882826,
133
+ 0.0977791927176307
134
+ ],
135
+ [
136
+ 0.045362601593224694,
137
+ -0.9968750980803843,
138
+ 0.051636099823092516,
139
+ 0.012201684837718158
140
+ ],
141
+ [
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 1.0
146
+ ]
147
+ ]
148
+ },
149
+ {
150
+ "file_path": "RawDataHistogramMap_frame_0_1772199805545220.txt",
151
+ "transform_matrix": [
152
+ [
153
+ -0.7301626568112715,
154
+ 7.675273352834466e-05,
155
+ 0.6827541813228235,
156
+ 0.06922451324675682
157
+ ],
158
+ [
159
+ 0.6814183225369783,
160
+ 0.07366350513401873,
161
+ 0.72761872997396,
162
+ 0.11316369161616238
163
+ ],
164
+ [
165
+ 0.050314653026771135,
166
+ -0.9965212339655323,
167
+ 0.05383864133761623,
168
+ 0.012778815151356556
169
+ ],
170
+ [
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 1.0
175
+ ]
176
+ ]
177
+ },
178
+ {
179
+ "file_path": "RawDataHistogramMap_frame_0_1772199852852742.txt",
180
+ "transform_matrix": [
181
+ [
182
+ -0.8395263619812304,
183
+ -0.01788756281850372,
184
+ 0.542611359553467,
185
+ 0.056122122729285365
186
+ ],
187
+ [
188
+ 0.540026299199359,
189
+ 0.08231115576479311,
190
+ 0.8369709515574708,
191
+ 0.15268307172625162
192
+ ],
193
+ [
194
+ 0.059725067698708945,
195
+ -0.9956835824481971,
196
+ 0.05944263079911412,
197
+ 0.014150897420377178
198
+ ],
199
+ [
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 1.0
204
+ ]
205
+ ]
206
+ },
207
+ {
208
+ "file_path": "RawDataHistogramMap_frame_0_1772199904032740.txt",
209
+ "transform_matrix": [
210
+ [
211
+ -0.9187486110742421,
212
+ -0.036377815129889135,
213
+ 0.3928623335122538,
214
+ 0.0178158895397591
215
+ ],
216
+ [
217
+ 0.3890250117189879,
218
+ 0.08677712362370817,
219
+ 0.9164278814297702,
220
+ 0.19742647123217422
221
+ ],
222
+ [
223
+ 0.06753169556734134,
224
+ -0.9948001171118602,
225
+ 0.06557448184508305,
226
+ 0.016562841125611794
227
+ ],
228
+ [
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 1.0
233
+ ]
234
+ ]
235
+ },
236
+ {
237
+ "file_path": "RawDataHistogramMap_frame_0_1772199944374221.txt",
238
+ "transform_matrix": [
239
+ [
240
+ -0.9820226896614617,
241
+ -0.06237165661950643,
242
+ 0.17800866631628462,
243
+ -0.021692779880301674
244
+ ],
245
+ [
246
+ 0.17232329647059255,
247
+ 0.08868644175751791,
248
+ 0.9802884242362377,
249
+ 0.24593313001580921
250
+ ],
251
+ [
252
+ 0.07704621005336293,
253
+ -0.9933405151924135,
254
+ 0.07634400859621673,
255
+ 0.01863450257657484
256
+ ],
257
+ [
258
+ 0.0,
259
+ 0.0,
260
+ 0.0,
261
+ 1.0
262
+ ]
263
+ ]
264
+ },
265
+ {
266
+ "file_path": "RawDataHistogramMap_frame_0_1772199984529489.txt",
267
+ "transform_matrix": [
268
+ [
269
+ -0.9963854110954347,
270
+ -0.08261429517154179,
271
+ -0.01949432490770452,
272
+ -0.02715034220833344
273
+ ],
274
+ [
275
+ -0.026512495604841913,
276
+ 0.08441058382514137,
277
+ 0.9953159781405464,
278
+ 0.2736589305444172
279
+ ],
280
+ [
281
+ 0.08070439971273508,
282
+ -0.9922351632528513,
283
+ 0.08629578540305101,
284
+ 0.02039749672541153
285
+ ],
286
+ [
287
+ 0.0,
288
+ 0.0,
289
+ 0.0,
290
+ 1.0
291
+ ]
292
+ ]
293
+ }
294
+ ],
295
+ "w": 256,
296
+ "h": 192,
297
+ "fl_x": 118.6514575329715,
298
+ "fl_y": 118.7964934010577,
299
+ "cx": 130.6802784645003,
300
+ "cy": 100.360570246814,
301
+ "camera_angle_y": 1.3593266161827677
302
+ }
codes/reconstruction/Reconstruction/library_floor2/json/ten_views/train.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772199370165348.txt",
6
+ "transform_matrix": [
7
+ [
8
+ 8.049459976876023e-20,
9
+ 0.052256455795,
10
+ 0.997872812763,
11
+ 0.049398541753
12
+ ],
13
+ [
14
+ 0.9999999999999999,
15
+ 4.2063624945524355e-21,
16
+ 8.03233726834847e-20,
17
+ -0.08171214699999998
18
+ ],
19
+ [
20
+ 0.0,
21
+ -0.997872812763,
22
+ 0.052256455795,
23
+ 0.013621837804
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772199414180196.txt",
35
+ "transform_matrix": [
36
+ [
37
+ -0.1297298599714963,
38
+ 0.04791010326156881,
39
+ 0.9896369230551468,
40
+ 0.0614324253746381
41
+ ],
42
+ [
43
+ 0.9915144206221619,
44
+ 0.014648574264965866,
45
+ 0.1290693660663581,
46
+ -0.051983024904005234
47
+ ],
48
+ [
49
+ 0.008325690966769488,
50
+ -0.997983431175721,
51
+ 0.04940391576551891,
52
+ 0.012252166496863899
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772199454341439.txt",
64
+ "transform_matrix": [
65
+ [
66
+ -0.25783138015539936,
67
+ 0.0415082811057221,
68
+ 0.9645630698380092,
69
+ 0.06854686900938099
70
+ ],
71
+ [
72
+ 0.9660406406704765,
73
+ 0.028623767378304136,
74
+ 0.25660229197379725,
75
+ -0.016950948163044252
76
+ ],
77
+ [
78
+ 0.01698410963627255,
79
+ -0.9979672490440342,
80
+ 0.047478791920897816,
81
+ 0.011533300692296414
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ },
91
+ {
92
+ "file_path": "RawDataHistogramMap_frame_0_1772199523849733.txt",
93
+ "transform_matrix": [
94
+ [
95
+ -0.39527989598391394,
96
+ 0.03283766782505879,
97
+ 0.9172751683965351,
98
+ 0.07160434769855123
99
+ ],
100
+ [
101
+ 0.9181998528409046,
102
+ 0.04211425753693024,
103
+ 0.39356963437907033,
104
+ 0.02042141901052335
105
+ ],
106
+ [
107
+ 0.02574556415945921,
108
+ -0.9978120887760983,
109
+ 0.04679846110324564,
110
+ 0.011822346828942173
111
+ ],
112
+ [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 1.0
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "file_path": "RawDataHistogramMap_frame_0_1772199761530745.txt",
122
+ "transform_matrix": [
123
+ [
124
+ -0.6080798279673477,
125
+ 0.014762114414017518,
126
+ 0.7931352968123482,
127
+ 0.07264735530521242
128
+ ],
129
+ [
130
+ 0.7928235358352496,
131
+ 0.062716691219468,
132
+ 0.605750123797487,
133
+ 0.07939464263159379
134
+ ],
135
+ [
136
+ 0.0408627439717296,
137
+ -0.9971607614844794,
138
+ 0.049840506553541324,
139
+ 0.011684969621665976
140
+ ],
141
+ [
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 1.0
146
+ ]
147
+ ]
148
+ },
149
+ {
150
+ "file_path": "RawDataHistogramMap_frame_0_1772199832864200.txt",
151
+ "transform_matrix": [
152
+ [
153
+ -0.7919441293398622,
154
+ -0.009453914090168792,
155
+ 0.6100563557627082,
156
+ 0.06441091331535667
157
+ ],
158
+ [
159
+ 0.6080646466126907,
160
+ 0.07862823125431777,
161
+ 0.7893779544648044,
162
+ 0.13332411418798512
163
+ ],
164
+ [
165
+ 0.05551469664799834,
166
+ -0.9960969392493841,
167
+ 0.05652057521188819,
168
+ 0.013349803742936716
169
+ ],
170
+ [
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 1.0
175
+ ]
176
+ ]
177
+ },
178
+ {
179
+ "file_path": "RawDataHistogramMap_frame_0_1772199874872611.txt",
180
+ "transform_matrix": [
181
+ [
182
+ -0.879641456713153,
183
+ -0.026473694486393126,
184
+ 0.47453807113881474,
185
+ 0.04117717186645429
186
+ ],
187
+ [
188
+ 0.47136836286972383,
189
+ 0.08484933069630515,
190
+ 0.877172089121158,
191
+ 0.17229360074756125
192
+ ],
193
+ [
194
+ 0.06358281306366723,
195
+ -0.9952791679747092,
196
+ 0.062158126825669215,
197
+ 0.015385526870418945
198
+ ],
199
+ [
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 1.0
204
+ ]
205
+ ]
206
+ },
207
+ {
208
+ "file_path": "RawDataHistogramMap_frame_0_1772199924198002.txt",
209
+ "transform_matrix": [
210
+ [
211
+ -0.9553930393055582,
212
+ -0.048491820940731595,
213
+ 0.29110166690881417,
214
+ -0.005522304471838588
215
+ ],
216
+ [
217
+ 0.2864365072804607,
218
+ 0.08802017391732658,
219
+ 0.9533163697351382,
220
+ 0.22401803050038133
221
+ ],
222
+ [
223
+ 0.07196018165254385,
224
+ -0.9941739686338678,
225
+ 0.07020403365714539,
226
+ 0.017615946288473155
227
+ ],
228
+ [
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 1.0
233
+ ]
234
+ ]
235
+ },
236
+ {
237
+ "file_path": "RawDataHistogramMap_frame_0_1772199964549424.txt",
238
+ "transform_matrix": [
239
+ [
240
+ -0.9942767295079669,
241
+ -0.07251623139119191,
242
+ 0.078344384109364,
243
+ -0.0162725249584027
244
+ ],
245
+ [
246
+ 0.07201855263132571,
247
+ 0.08671028674449137,
248
+ 0.9928662654209252,
249
+ 0.2570328990370976
250
+ ],
251
+ [
252
+ 0.07891206014190824,
253
+ -0.9928260723718482,
254
+ 0.08099150629193834,
255
+ 0.019535409677702245
256
+ ],
257
+ [
258
+ 0.0,
259
+ 0.0,
260
+ 0.0,
261
+ 1.0
262
+ ]
263
+ ]
264
+ },
265
+ {
266
+ "file_path": "RawDataHistogramMap_frame_0_1772200006353347.txt",
267
+ "transform_matrix": [
268
+ [
269
+ -0.9887088508783545,
270
+ -0.09284007328791502,
271
+ -0.11747943483722886,
272
+ -0.04632061054317356
273
+ ],
274
+ [
275
+ -0.12520099106225285,
276
+ 0.08102592469776743,
277
+ 0.9880608339125488,
278
+ 0.29263277563612583
279
+ ],
280
+ [
281
+ 0.08233784082572862,
282
+ -0.9916130333666293,
283
+ 0.09173471808522415,
284
+ 0.021238060097061223
285
+ ],
286
+ [
287
+ 0.0,
288
+ 0.0,
289
+ 0.0,
290
+ 1.0
291
+ ]
292
+ ]
293
+ }
294
+ ],
295
+ "w": 256,
296
+ "h": 192,
297
+ "fl_x": 118.6514575329715,
298
+ "fl_y": 118.7964934010577,
299
+ "cx": 130.6802784645003,
300
+ "cy": 100.360570246814,
301
+ "camera_angle_y": 1.3593266161827677
302
+ }
codes/reconstruction/Reconstruction/library_floor2/json/three_views/test.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772199392175914.txt",
6
+ "transform_matrix": [
7
+ [
8
+ -0.03178634873209384,
9
+ 0.049931486866079004,
10
+ 0.9974862892020013,
11
+ 0.052419011119498905
12
+ ],
13
+ [
14
+ 0.9994921049904234,
15
+ 0.003856104037090967,
16
+ 0.0316088566092803,
17
+ -0.07140761092102735
18
+ ],
19
+ [
20
+ 0.0022715844902093294,
21
+ -0.9979844010327983,
22
+ 0.05002869838074924,
23
+ 0.012733398758568515
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772199434360597.txt",
35
+ "transform_matrix": [
36
+ [
37
+ -0.17544218876375062,
38
+ 0.04587832679807021,
39
+ 0.9826712895858892,
40
+ 0.06607260273404801
41
+ ],
42
+ [
43
+ 0.9844282079044276,
44
+ 0.019334491553205834,
45
+ 0.1745861926663092,
46
+ -0.04063411829515111
47
+ ],
48
+ [
49
+ 0.01100644737692899,
50
+ -0.9979991203354758,
51
+ 0.04855600454820706,
52
+ 0.011753323827159469
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772199487168857.txt",
64
+ "transform_matrix": [
65
+ [
66
+ -0.31288686446388425,
67
+ 0.037922681672340204,
68
+ 0.9483107540445286,
69
+ 0.07192586675522694
70
+ ],
71
+ [
72
+ 0.9495752313160696,
73
+ 0.033741562710764124,
74
+ 0.3114788079768613,
75
+ -0.0019171438870984603
76
+ ],
77
+ [
78
+ 0.020216085600132667,
79
+ -0.997950031206177,
80
+ 0.04656773097982117,
81
+ 0.011001844517711695
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ },
91
+ {
92
+ "file_path": "RawDataHistogramMap_frame_0_1772199723201375.txt",
93
+ "transform_matrix": [
94
+ [
95
+ -0.4684084620124152,
96
+ 0.028018912307575392,
97
+ 0.8823959678071502,
98
+ 0.07264060233113454
99
+ ],
100
+ [
101
+ 0.8829832539210248,
102
+ 0.049394521464610576,
103
+ 0.46643974150199685,
104
+ 0.041044238077290886
105
+ ],
106
+ [
107
+ 0.03056282071742625,
108
+ -0.9976251848395669,
109
+ 0.04787704219174877,
110
+ 0.011299478441876816
111
+ ],
112
+ [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 1.0
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "file_path": "RawDataHistogramMap_frame_0_1772199785366866.txt",
122
+ "transform_matrix": [
123
+ [
124
+ -0.6692818756456348,
125
+ 0.008045557938958047,
126
+ 0.7424004283815193,
127
+ 0.06866385331999571
128
+ ],
129
+ [
130
+ 0.7416225490834012,
131
+ 0.06823632059593518,
132
+ 0.6668254679882826,
133
+ 0.0977791927176307
134
+ ],
135
+ [
136
+ 0.045362601593224694,
137
+ -0.9968750980803843,
138
+ 0.051636099823092516,
139
+ 0.012201684837718158
140
+ ],
141
+ [
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 1.0
146
+ ]
147
+ ]
148
+ },
149
+ {
150
+ "file_path": "RawDataHistogramMap_frame_0_1772199805545220.txt",
151
+ "transform_matrix": [
152
+ [
153
+ -0.7301626568112715,
154
+ 7.675273352834466e-05,
155
+ 0.6827541813228235,
156
+ 0.06922451324675682
157
+ ],
158
+ [
159
+ 0.6814183225369783,
160
+ 0.07366350513401873,
161
+ 0.72761872997396,
162
+ 0.11316369161616238
163
+ ],
164
+ [
165
+ 0.050314653026771135,
166
+ -0.9965212339655323,
167
+ 0.05383864133761623,
168
+ 0.012778815151356556
169
+ ],
170
+ [
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 1.0
175
+ ]
176
+ ]
177
+ },
178
+ {
179
+ "file_path": "RawDataHistogramMap_frame_0_1772199852852742.txt",
180
+ "transform_matrix": [
181
+ [
182
+ -0.8395263619812304,
183
+ -0.01788756281850372,
184
+ 0.542611359553467,
185
+ 0.056122122729285365
186
+ ],
187
+ [
188
+ 0.540026299199359,
189
+ 0.08231115576479311,
190
+ 0.8369709515574708,
191
+ 0.15268307172625162
192
+ ],
193
+ [
194
+ 0.059725067698708945,
195
+ -0.9956835824481971,
196
+ 0.05944263079911412,
197
+ 0.014150897420377178
198
+ ],
199
+ [
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 1.0
204
+ ]
205
+ ]
206
+ },
207
+ {
208
+ "file_path": "RawDataHistogramMap_frame_0_1772199904032740.txt",
209
+ "transform_matrix": [
210
+ [
211
+ -0.9187486110742421,
212
+ -0.036377815129889135,
213
+ 0.3928623335122538,
214
+ 0.0178158895397591
215
+ ],
216
+ [
217
+ 0.3890250117189879,
218
+ 0.08677712362370817,
219
+ 0.9164278814297702,
220
+ 0.19742647123217422
221
+ ],
222
+ [
223
+ 0.06753169556734134,
224
+ -0.9948001171118602,
225
+ 0.06557448184508305,
226
+ 0.016562841125611794
227
+ ],
228
+ [
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 1.0
233
+ ]
234
+ ]
235
+ },
236
+ {
237
+ "file_path": "RawDataHistogramMap_frame_0_1772199944374221.txt",
238
+ "transform_matrix": [
239
+ [
240
+ -0.9820226896614617,
241
+ -0.06237165661950643,
242
+ 0.17800866631628462,
243
+ -0.021692779880301674
244
+ ],
245
+ [
246
+ 0.17232329647059255,
247
+ 0.08868644175751791,
248
+ 0.9802884242362377,
249
+ 0.24593313001580921
250
+ ],
251
+ [
252
+ 0.07704621005336293,
253
+ -0.9933405151924135,
254
+ 0.07634400859621673,
255
+ 0.01863450257657484
256
+ ],
257
+ [
258
+ 0.0,
259
+ 0.0,
260
+ 0.0,
261
+ 1.0
262
+ ]
263
+ ]
264
+ },
265
+ {
266
+ "file_path": "RawDataHistogramMap_frame_0_1772199984529489.txt",
267
+ "transform_matrix": [
268
+ [
269
+ -0.9963854110954347,
270
+ -0.08261429517154179,
271
+ -0.01949432490770452,
272
+ -0.02715034220833344
273
+ ],
274
+ [
275
+ -0.026512495604841913,
276
+ 0.08441058382514137,
277
+ 0.9953159781405464,
278
+ 0.2736589305444172
279
+ ],
280
+ [
281
+ 0.08070439971273508,
282
+ -0.9922351632528513,
283
+ 0.08629578540305101,
284
+ 0.02039749672541153
285
+ ],
286
+ [
287
+ 0.0,
288
+ 0.0,
289
+ 0.0,
290
+ 1.0
291
+ ]
292
+ ]
293
+ }
294
+ ],
295
+ "w": 256,
296
+ "h": 192,
297
+ "fl_x": 118.6514575329715,
298
+ "fl_y": 118.7964934010577,
299
+ "cx": 130.6802784645003,
300
+ "cy": 100.360570246814,
301
+ "camera_angle_y": 1.3593266161827677
302
+ }
codes/reconstruction/Reconstruction/library_floor2/json/three_views/train.json ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772199454341439.txt",
6
+ "transform_matrix": [
7
+ [
8
+ -0.25783138015539936,
9
+ 0.0415082811057221,
10
+ 0.9645630698380092,
11
+ 0.06854686900938099
12
+ ],
13
+ [
14
+ 0.9660406406704765,
15
+ 0.028623767378304136,
16
+ 0.25660229197379725,
17
+ -0.016950948163044252
18
+ ],
19
+ [
20
+ 0.01698410963627255,
21
+ -0.9979672490440342,
22
+ 0.047478791920897816,
23
+ 0.011533300692296414
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772199832864200.txt",
35
+ "transform_matrix": [
36
+ [
37
+ -0.7919441293398622,
38
+ -0.009453914090168792,
39
+ 0.6100563557627082,
40
+ 0.06441091331535667
41
+ ],
42
+ [
43
+ 0.6080646466126907,
44
+ 0.07862823125431777,
45
+ 0.7893779544648044,
46
+ 0.13332411418798512
47
+ ],
48
+ [
49
+ 0.05551469664799834,
50
+ -0.9960969392493841,
51
+ 0.05652057521188819,
52
+ 0.013349803742936716
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772199964549424.txt",
64
+ "transform_matrix": [
65
+ [
66
+ -0.9942767295079669,
67
+ -0.07251623139119191,
68
+ 0.078344384109364,
69
+ -0.0162725249584027
70
+ ],
71
+ [
72
+ 0.07201855263132571,
73
+ 0.08671028674449137,
74
+ 0.9928662654209252,
75
+ 0.2570328990370976
76
+ ],
77
+ [
78
+ 0.07891206014190824,
79
+ -0.9928260723718482,
80
+ 0.08099150629193834,
81
+ 0.019535409677702245
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ }
91
+ ],
92
+ "w": 256,
93
+ "h": 192,
94
+ "fl_x": 118.6514575329715,
95
+ "fl_y": 118.7964934010577,
96
+ "cx": 130.6802784645003,
97
+ "cy": 100.360570246814,
98
+ "camera_angle_y": 1.3593266161827677
99
+ }
codes/reconstruction/Reconstruction/library_floor2/sp_pose_results.csv ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sp_seq,sp_file,sp_timestamp,used_in_final_merge,livox_index,livox_csv_name,matched_livox_index,matched_pose_csv_name,matched_livox_used_in_final_merge,match_mode,livox_pose_00,livox_pose_01,livox_pose_02,livox_pose_03,livox_pose_10,livox_pose_11,livox_pose_12,livox_pose_13,livox_pose_20,livox_pose_21,livox_pose_22,livox_pose_23,livox_pose_30,livox_pose_31,livox_pose_32,livox_pose_33,sp_pose_00,sp_pose_01,sp_pose_02,sp_pose_03,sp_pose_10,sp_pose_11,sp_pose_12,sp_pose_13,sp_pose_20,sp_pose_21,sp_pose_22,sp_pose_23,sp_pose_30,sp_pose_31,sp_pose_32,sp_pose_33
2
+ 0,RawDataHistogramMap_frame_0_1772199370165348.txt,1772199370165348,True,1,1.csv,1,1.csv,True,pair_force(1),1.0,8.049459976876023e-20,0.0,0.0,8.049459976876023e-20,0.9999999999999999,0.0,3.469446951953614e-18,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,8.049459976876023e-20,0.052256455795,0.997872812763,0.049398541753,0.9999999999999999,4.2063624945524355e-21,8.03233726834847e-20,-0.08171214699999998,0.0,-0.997872812763,0.052256455795,0.013621837804,0.0,0.0,0.0,1.0
3
+ 1,RawDataHistogramMap_frame_0_1772199392175914.txt,1772199392175914,True,2,2.csv,2,2.csv,True,pair_force(2),0.9994920323509859,-0.03178634873209384,0.002303323941215427,0.00041685592229047646,0.03179141972223718,0.9994921049904234,-0.0021994758145964886,0.008722546015553733,-0.0022322407892095397,0.0022715844902093294,0.999994928489621,-0.0005924844765242583,0.0,0.0,0.0,1.0,-0.03178634873209384,0.049931486866079004,0.9974862892020013,0.052419011119498905,0.9994921049904234,0.003856104037090967,0.0316088566092803,-0.07140761092102735,0.0022715844902093294,-0.9979844010327983,0.05002869838074924,0.012733398758568515,0.0,0.0,0.0,1.0
4
+ 2,RawDataHistogramMap_frame_0_1772199414180196.txt,1772199414180196,True,3,3.csv,3,3.csv,True,pair_force(3),0.9915416554166472,-0.1297298599714963,0.0039126724104263525,0.001797910332464776,0.12975741001917532,0.9915144206221619,-0.007884684103618134,0.022733324237894575,-0.002856592153425843,0.008325690966769488,0.9999612606252275,-0.0005477220347407828,0.0,0.0,0.0,1.0,-0.1297298599714963,0.04791010326156881,0.9896369230551468,0.0614324253746381,0.9915144206221619,0.014648574264965866,0.1290693660663581,-0.051983024904005234,0.008325690966769488,-0.997983431175721,0.04940391576551891,0.012252166496863899,0.0,0.0,0.0,1.0
5
+ 3,RawDataHistogramMap_frame_0_1772199434360597.txt,1772199434360597,True,4,4.csv,4,4.csv,True,pair_force(4),0.9844739290464523,-0.17544218876375062,0.005578658407439573,0.003029276747051473,0.175491758851475,0.9844282079044276,-0.010185580851986708,0.031275333493455335,-0.00370480810004351,0.01100644737692899,0.9999325639827317,-0.0007852228107229169,0.0,0.0,0.0,1.0,-0.17544218876375062,0.04587832679807021,0.9826712895858892,0.06607260273404801,0.9844282079044276,0.019334491553205834,0.1745861926663092,-0.04063411829515111,0.01100644737692899,-0.9979991203354758,0.04855600454820706,0.011753323827159469,0.0,0.0,0.0,1.0
6
+ 4,RawDataHistogramMap_frame_0_1772199454341439.txt,1772199454341439,True,5,5.csv,5,5.csv,True,pair_force(5),0.966148026667852,-0.25783138015539936,0.008998331677571811,-0.000369964076638812,0.2579440735224728,0.9660406406704765,-0.015176808215429067,0.049450981609450106,-0.004779696690228446,0.01698410963627255,0.9998443351439327,-0.0004624985605003085,0.0,0.0,0.0,1.0,-0.25783138015539936,0.0415082811057221,0.9645630698380092,0.06854686900938099,0.9660406406704765,0.028623767378304136,0.25660229197379725,-0.016950948163044252,0.01698410963627255,-0.9979672490440342,0.047478791920897816,0.011533300692296414,0.0,0.0,0.0,1.0
7
+ 5,RawDataHistogramMap_frame_0_1772199487168857.txt,1772199487168857,True,6,6.csv,6,6.csv,True,pair_force(6),0.9497179527461735,-0.31288686446388425,0.011731166931630184,-0.0007152727037148966,0.3130550144590837,0.9495752313160696,-0.017419471664079044,0.06044751101665562,-0.005689301683118394,0.020216085600132667,0.9997794465427694,-0.0006840459778052375,0.0,0.0,0.0,1.0,-0.31288686446388425,0.037922681672340204,0.9483107540445286,0.07192586675522694,0.9495752313160696,0.033741562710764124,0.3114788079768613,-0.0019171438870984603,0.020216085600132667,-0.997950031206177,0.04656773097982117,0.011001844517711695,0.0,0.0,0.0,1.0
8
+ 6,RawDataHistogramMap_frame_0_1772199523849733.txt,1772199523849733,True,7,7.csv,7,7.csv,True,pair_force(7),0.9184351386885384,-0.39527989598391394,0.015188806836441242,-0.006271077277321444,0.39553404056950536,0.9181998528409046,-0.02149076531217757,0.07620343926279852,-0.005451492724836302,0.02574556415945921,0.9996536636021409,0.0005782478773590947,0.0,0.0,0.0,1.0,-0.39527989598391394,0.03283766782505879,0.9172751683965351,0.07160434769855123,0.9181998528409046,0.04211425753693024,0.39356963437907033,0.02042141901052335,0.02574556415945921,-0.9978120887760983,0.04679846110324564,0.011822346828942173,0.0,0.0,0.0,1.0
9
+ 7,RawDataHistogramMap_frame_0_1772199723201375.txt,1772199723201375,True,8,8.csv,8,8.csv,True,pair_force(8),0.88332498533631,-0.4684084620124152,0.01817919128495084,-0.00951665893756316,0.4687407893988823,0.8829832539210248,-0.02495286854757542,0.09037948799186873,-0.004363786695270252,0.03056282071742625,0.999523322066811,0.0003970522658319355,0.0,0.0,0.0,1.0,-0.4684084620124152,0.028018912307575392,0.8823959678071502,0.07264060233113454,0.8829832539210248,0.049394521464610576,0.46643974150199685,0.041044238077290886,0.03056282071742625,-0.9976251848395669,0.04787704219174877,0.011299478441876816,0.0,0.0,0.0,1.0
10
+ 8,RawDataHistogramMap_frame_0_1772199761530745.txt,1772199761530745,True,9,9.csv,9,9.csv,True,pair_force(9),0.7934248668458851,-0.6080798279673477,0.026756372881870966,-0.016598655369765323,0.6086635602149195,0.7928235358352496,-0.03097598250570942,0.11453281345352945,-0.0023772120411397735,0.0408627439717296,0.9991619413378463,0.0015309610673433821,0.0,0.0,0.0,1.0,-0.6080798279673477,0.014762114414017518,0.7931352968123482,0.07264735530521242,0.7928235358352496,0.062716691219468,0.605750123797487,0.07939464263159379,0.0408627439717296,-0.9971607614844794,0.049840506553541324,0.011684969621665976,0.0,0.0,0.0,1.0
11
+ 9,RawDataHistogramMap_frame_0_1772199785366866.txt,1772199785366866,True,10,10.csv,10,10.csv,True,pair_force(10),0.742369378518929,-0.6692818756456348,0.030813580929256974,-0.023116308029690863,0.6699905846233478,0.7416225490834012,-0.033295813657356454,0.1257357557714077,-0.0005677618194001022,0.045362601593224694,0.9989704260002951,0.0023285938993787593,0.0,0.0,0.0,1.0,-0.6692818756456348,0.008045557938958047,0.7424004283815193,0.06866385331999571,0.7416225490834012,0.06823632059593518,0.6668254679882826,0.0977791927176307,0.045362601593224694,-0.9968750980803843,0.051636099823092516,0.012201684837718158,0.0,0.0,0.0,1.0
12
+ 10,RawDataHistogramMap_frame_0_1772199805545220.txt,1772199805545220,True,11,11.csv,11,11.csv,True,pair_force(11),0.6823424009542303,-0.7301626568112715,0.03565588953212718,-0.024631063427860124,0.7310308604253571,0.6814183225369783,-0.03553801931253011,0.13321608040929456,0.001651958165500929,0.050314653026771135,0.9987320495132905,0.0032039631631948277,0.0,0.0,0.0,1.0,-0.7301626568112715,7.675273352834466e-05,0.6827541813228235,0.06922451324675682,0.6814183225369783,0.07366350513401873,0.72761872997396,0.11316369161616238,0.050314653026771135,-0.9965212339655323,0.05383864133761623,0.012778815151356556,0.0,0.0,0.0,1.0
13
+ 11,RawDataHistogramMap_frame_0_1772199832864200.txt,1772199832864200,True,12,12.csv,12,12.csv,True,pair_force(12),0.609190051772244,-0.7919441293398622,0.041376041689157574,-0.030957259733893842,0.7930123072561128,0.6080646466126907,-0.03726749361206431,0.14434438216021556,0.004354464613335179,0.05551469664799834,0.99844837477659,0.0040702227772104515,0.0,0.0,0.0,1.0,-0.7919441293398622,-0.009453914090168792,0.6100563557627082,0.06441091331535667,0.6080646466126907,0.07862823125431777,0.7893779544648044,0.13332411418798512,0.05551469664799834,-0.9960969392493841,0.05652057521188819,0.013349803742936716,0.0,0.0,0.0,1.0
14
+ 12,RawDataHistogramMap_frame_0_1772199852852742.txt,1772199852852742,True,13,13.csv,13,13.csv,True,pair_force(13),0.5413447464632135,-0.8395263619812304,0.046274755701637936,-0.039849367048817835,0.8407690696034003,0.540026299199359,-0.03845735002941116,0.15580087386533337,0.007296374093720278,0.059725067698708945,0.9981881982940245,0.005073572956416696,0.0,0.0,0.0,1.0,-0.8395263619812304,-0.01788756281850372,0.542611359553467,0.056122122729285365,0.540026299199359,0.08231115576479311,0.8369709515574708,0.15268307172625162,0.059725067698708945,-0.9956835824481971,0.05944263079911412,0.014150897420377178,0.0,0.0,0.0,1.0
15
+ 13,RawDataHistogramMap_frame_0_1772199874872611.txt,1772199874872611,True,14,14.csv,14,14.csv,True,pair_force(14),0.4728635512377001,-0.879641456713153,0.051292977515832124,-0.05475769465127727,0.8810785624959894,0.47136836286972383,-0.03889001408491953,0.16781587901245015,0.010031381802902275,0.06358281306366723,0.9979261482003757,0.006491891274163905,0.0,0.0,0.0,1.0,-0.879641456713153,-0.026473694486393126,0.47453807113881474,0.04117717186645429,0.47136836286972383,0.08484933069630515,0.877172089121158,0.17229360074756125,0.06358281306366723,-0.9952791679747092,0.062158126825669215,0.015385526870418945,0.0,0.0,0.0,1.0
16
+ 14,RawDataHistogramMap_frame_0_1772199904032740.txt,1772199904032740,True,15,15.csv,15,15.csv,True,pair_force(15),0.39071921247354396,-0.9187486110742421,0.05691648841249602,-0.0773332985289871,0.9204113409206123,0.3890250117189879,-0.038762143410414916,0.18427557375250336,0.013470727848904305,0.06753169556734134,0.9976261872991427,0.007826064536470391,0.0,0.0,0.0,1.0,-0.9187486110742421,-0.036377815129889135,0.3928623335122538,0.0178158895397591,0.3890250117189879,0.08677712362370817,0.9164278814297702,0.19742647123217422,0.06753169556734134,-0.9948001171118602,0.06557448184508305,0.016562841125611794,0.0,0.0,0.0,1.0
17
+ 15,RawDataHistogramMap_frame_0_1772199924198002.txt,1772199924198002,True,16,16.csv,16,16.csv,True,pair_force(16),0.28838651999253895,-0.9553930393055582,0.06369737461691109,-0.09870306979677713,0.9573424203670381,0.2864365072804607,-0.0380738422380104,0.20065068866857097,0.018130230345610024,0.07196018165254385,0.9972427121840254,0.00901608181250155,0.0,0.0,0.0,1.0,-0.9553930393055582,-0.048491820940731595,0.29110166690881417,-0.005522304471838588,0.2864365072804607,0.08802017391732658,0.9533163697351382,0.22401803050038133,0.07196018165254385,-0.9941739686338678,0.07020403365714539,0.017615946288473155,0.0,0.0,0.0,1.0
18
+ 16,RawDataHistogramMap_frame_0_1772199944374221.txt,1772199944374221,True,17,17.csv,17,17.csv,True,pair_force(17),0.17463597851251192,-0.9820226896614617,0.07164992672051394,-0.11153872861183606,0.9843329186539734,0.17232329647059255,-0.037328095955611505,0.21189790303619768,0.02431008562591547,0.07704621005336293,0.9967311077985267,0.010151921553804547,0.0,0.0,0.0,1.0,-0.9820226896614617,-0.06237165661950643,0.17800866631628462,-0.021692779880301674,0.17232329647059255,0.08868644175751791,0.9802884242362377,0.24593313001580921,0.07704621005336293,-0.9933405151924135,0.07634400859621673,0.01863450257657484,0.0,0.0,0.0,1.0
19
+ 17,RawDataHistogramMap_frame_0_1772199964549424.txt,1772199964549424,True,18,18.csv,18,18.csv,True,pair_force(18),0.07450146579401515,-0.9942767295079669,0.07657229755919526,-0.10224033042495327,0.9967996759636616,0.07201855263132571,-0.03469487102786581,0.2141498470897402,0.02898167685441846,0.07891206014190824,0.9964602095271405,0.010978211609607186,0.0,0.0,0.0,1.0,-0.9942767295079669,-0.07251623139119191,0.078344384109364,-0.0162725249584027,0.07201855263132571,0.08671028674449137,0.9928662654209252,0.2570328990370976,0.07891206014190824,-0.9928260723718482,0.08099150629193834,0.019535409677702245,0.0,0.0,0.0,1.0
20
+ 18,RawDataHistogramMap_frame_0_1772199984529489.txt,1772199984529489,True,19,19.csv,19,19.csv,True,pair_force(19),-0.023806151311320484,-0.9963854110954347,0.08154372885717506,-0.10850191967731432,0.9991275396482382,-0.026512495604841913,-0.03226836056068972,0.22257664849609057,0.03431365145556642,0.08070439971273508,0.996147264811183,0.011727625684003441,0.0,0.0,0.0,1.0,-0.9963854110954347,-0.08261429517154179,-0.01949432490770452,-0.02715034220833344,-0.026512495604841913,0.08441058382514137,0.9953159781405464,0.2736589305444172,0.08070439971273508,-0.9922351632528513,0.08629578540305101,0.02039749672541153,0.0,0.0,0.0,1.0
21
+ 19,RawDataHistogramMap_frame_0_1772200006353347.txt,1772200006353347,True,20,20.csv,20,20.csv,True,pair_force(20),-0.12226676422333771,-0.9887088508783545,0.08663513468084937,-0.12225046340160621,0.9916996744183747,-0.12520099106225285,-0.029265467628832635,0.23381246553000692,0.039781831592574694,0.08233784082572862,0.9958101655653563,0.012436132822433476,0.0,0.0,0.0,1.0,-0.9887088508783545,-0.09284007328791502,-0.11747943483722886,-0.04632061054317356,-0.12520099106225285,0.08102592469776743,0.9880608339125488,0.29263277563612583,0.08233784082572862,-0.9916130333666293,0.09173471808522415,0.021238060097061223,0.0,0.0,0.0,1.0
codes/reconstruction/Reconstruction/physics_building2/json/five_views/test.json ADDED
@@ -0,0 +1,882 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772192169568029.txt",
6
+ "transform_matrix": [
7
+ [
8
+ 0.103315811330484,
9
+ 0.054377091782674684,
10
+ 0.9924041907841717,
11
+ 0.03746656722396702
12
+ ],
13
+ [
14
+ 0.9946334280837001,
15
+ -0.01115950656572342,
16
+ -0.10277912263989493,
17
+ -0.10410592023839083
18
+ ],
19
+ [
20
+ -0.005494257692634579,
21
+ -0.9976970907676648,
22
+ 0.05523822668390917,
23
+ 0.014272021033701406
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772192189563255.txt",
35
+ "transform_matrix": [
36
+ [
37
+ 0.23545180068404248,
38
+ 0.05425773930612523,
39
+ 0.9696306775122234,
40
+ 0.01700603564559032
41
+ ],
42
+ [
43
+ 0.9718001300742811,
44
+ -0.02640756431378386,
45
+ -0.23414243152317724,
46
+ -0.13358748177952293
47
+ ],
48
+ [
49
+ -0.012921174182551369,
50
+ -0.997416475649062,
51
+ 0.05894538668458907,
52
+ 0.015218502124512596
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772192231193236.txt",
64
+ "transform_matrix": [
65
+ [
66
+ 0.33458004312356243,
67
+ 0.053243101486651144,
68
+ 0.9401448344437766,
69
+ -0.005458176641248303
70
+ ],
71
+ [
72
+ 0.9422133387801237,
73
+ -0.03693549577622652,
74
+ -0.33271503915715567,
75
+ -0.1539473367801697
76
+ ],
77
+ [
78
+ -0.017035814281974735,
79
+ -0.9971368155472145,
80
+ 0.06252424018834674,
81
+ 0.016245498353925587
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ },
91
+ {
92
+ "file_path": "RawDataHistogramMap_frame_0_1772192269326459.txt",
93
+ "transform_matrix": [
94
+ [
95
+ 0.5326291316737375,
96
+ 0.04709016972132526,
97
+ 0.844393613418668,
98
+ -0.05696750575493574
99
+ ],
100
+ [
101
+ 0.8459812375585773,
102
+ -0.059020699303035704,
103
+ -0.5295284649427265,
104
+ -0.19159926897766025
105
+ ],
106
+ [
107
+ -0.024939001410254156,
108
+ -0.9963834405454515,
109
+ 0.0712735438782428,
110
+ 0.01900140461110974
111
+ ],
112
+ [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 1.0
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "file_path": "RawDataHistogramMap_frame_0_1772192289512244.txt",
122
+ "transform_matrix": [
123
+ [
124
+ 0.612601980608444,
125
+ 0.043184196042667496,
126
+ 0.7886094854145158,
127
+ -0.08058319486620799
128
+ ],
129
+ [
130
+ 0.7899031329709677,
131
+ -0.06852046218481761,
132
+ -0.6089225894616359,
133
+ -0.20544181677099504
134
+ ],
135
+ [
136
+ -0.027782258318264696,
137
+ -0.9959522875609668,
138
+ 0.07608710259556074,
139
+ 0.019794655572238876
140
+ ],
141
+ [
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 1.0
146
+ ]
147
+ ]
148
+ },
149
+ {
150
+ "file_path": "RawDataHistogramMap_frame_0_1772192311141906.txt",
151
+ "transform_matrix": [
152
+ [
153
+ 0.7088601121272123,
154
+ 0.036119695404333116,
155
+ 0.7038870110238896,
156
+ -0.11080042379626606
157
+ ],
158
+ [
159
+ 0.7046359337829626,
160
+ -0.08112646692737127,
161
+ -0.7043733683413624,
162
+ -0.2161082477466749
163
+ ],
164
+ [
165
+ -0.03171028629338354,
166
+ -0.9952862661523939,
167
+ 0.08295855174180969,
168
+ 0.02196700573597272
169
+ ],
170
+ [
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 1.0
175
+ ]
176
+ ]
177
+ },
178
+ {
179
+ "file_path": "RawDataHistogramMap_frame_0_1772192331316667.txt",
180
+ "transform_matrix": [
181
+ [
182
+ 0.7731997905272099,
183
+ 0.03086367150147913,
184
+ 0.632928580734977,
185
+ -0.13633505727324155
186
+ ],
187
+ [
188
+ 0.6332940233076068,
189
+ -0.089794508281066,
190
+ -0.7680922933892708,
191
+ -0.22353007826121407
192
+ ],
193
+ [
194
+ -0.033177763208852094,
195
+ -0.9947186877141726,
196
+ 0.08897487369263056,
197
+ 0.023566512588100077
198
+ ],
199
+ [
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 1.0
204
+ ]
205
+ ]
206
+ },
207
+ {
208
+ "file_path": "RawDataHistogramMap_frame_0_1772192413119632.txt",
209
+ "transform_matrix": [
210
+ [
211
+ 0.8784397195648138,
212
+ 0.016600371036726194,
213
+ 0.47720143240960716,
214
+ -0.19250120768371456
215
+ ],
216
+ [
217
+ 0.4765557593912327,
218
+ -0.10397306689303254,
219
+ -0.8723016082680923,
220
+ -0.2367707114167347
221
+ ],
222
+ [
223
+ -0.03518902217929182,
224
+ -0.9936774711475004,
225
+ 0.09924507414939285,
226
+ 0.02664942847381442
227
+ ],
228
+ [
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 1.0
233
+ ]
234
+ ]
235
+ },
236
+ {
237
+ "file_path": "RawDataHistogramMap_frame_0_1772192438420386.txt",
238
+ "transform_matrix": [
239
+ [
240
+ 0.9186535130502979,
241
+ 0.008175235226147113,
242
+ 0.394679353307174,
243
+ -0.2180492375329396
244
+ ],
245
+ [
246
+ 0.3934289387827207,
247
+ -0.10973472796485081,
248
+ -0.9120789357615678,
249
+ -0.23855529132257408
250
+ ],
251
+ [
252
+ -0.0359081200934824,
253
+ -0.9931627976476309,
254
+ 0.10402456746785135,
255
+ 0.027889797365982478
256
+ ],
257
+ [
258
+ 0.0,
259
+ 0.0,
260
+ 0.0,
261
+ 1.0
262
+ ]
263
+ ]
264
+ },
265
+ {
266
+ "file_path": "RawDataHistogramMap_frame_0_1772192483721235.txt",
267
+ "transform_matrix": [
268
+ [
269
+ 0.9729034634314045,
270
+ -0.007610003869615804,
271
+ 0.2309106508638137,
272
+ -0.26926727159987385
273
+ ],
274
+ [
275
+ 0.2286043638641554,
276
+ -0.11789922913596948,
277
+ -0.9656086645012588,
278
+ -0.23602523488353747
279
+ ],
280
+ [
281
+ -0.03462507278611499,
282
+ -0.9922311964628212,
283
+ 0.11296488826866036,
284
+ 0.02966293492135638
285
+ ],
286
+ [
287
+ 0.0,
288
+ 0.0,
289
+ 0.0,
290
+ 1.0
291
+ ]
292
+ ]
293
+ },
294
+ {
295
+ "file_path": "RawDataHistogramMap_frame_0_1772192527179631.txt",
296
+ "transform_matrix": [
297
+ [
298
+ 0.9991850352802725,
299
+ -0.03464640361659324,
300
+ -0.020649865649861748,
301
+ -0.35689935541040185
302
+ ],
303
+ [
304
+ -0.02483540104753599,
305
+ -0.12440682970621435,
306
+ -0.9911548658939382,
307
+ -0.2115090401308341
308
+ ],
309
+ [
310
+ -0.031819304309933724,
311
+ -0.9908599573414375,
312
+ 0.12516589985778445,
313
+ 0.032405123509101214
314
+ ],
315
+ [
316
+ 0.0,
317
+ 0.0,
318
+ 0.0,
319
+ 1.0
320
+ ]
321
+ ]
322
+ },
323
+ {
324
+ "file_path": "RawDataHistogramMap_frame_0_1772192549001740.txt",
325
+ "transform_matrix": [
326
+ [
327
+ 0.9822150948864484,
328
+ -0.05139074439444979,
329
+ -0.1804409729757321,
330
+ -0.39864571805452054
331
+ ],
332
+ [
333
+ -0.18575785008391502,
334
+ -0.1260307089416094,
335
+ -0.9737266493319506,
336
+ -0.18409574652138178
337
+ ],
338
+ [
339
+ -0.027340967601899347,
340
+ -0.9899273404740627,
341
+ 0.1333354989346152,
342
+ 0.03297045375148561
343
+ ],
344
+ [
345
+ 0.0,
346
+ 0.0,
347
+ 0.0,
348
+ 1.0
349
+ ]
350
+ ]
351
+ },
352
+ {
353
+ "file_path": "RawDataHistogramMap_frame_0_1772192570827327.txt",
354
+ "transform_matrix": [
355
+ [
356
+ 0.9456861787914934,
357
+ -0.06567876691484918,
358
+ -0.3181248412045134,
359
+ -0.4237934141925582
360
+ ],
361
+ [
362
+ -0.324375484016176,
363
+ -0.12621229118479396,
364
+ -0.9367452859356713,
365
+ -0.15545124551896908
366
+ ],
367
+ [
368
+ -0.021405527604235506,
369
+ -0.9890589693007298,
370
+ 0.1406618011746577,
371
+ 0.032391042816485575
372
+ ],
373
+ [
374
+ 0.0,
375
+ 0.0,
376
+ 0.0,
377
+ 1.0
378
+ ]
379
+ ]
380
+ },
381
+ {
382
+ "file_path": "RawDataHistogramMap_frame_0_1772192610807128.txt",
383
+ "transform_matrix": [
384
+ [
385
+ 0.8142318592259358,
386
+ -0.09371898382764993,
387
+ -0.5724781658681758,
388
+ -0.45818834156835264
389
+ ],
390
+ [
391
+ -0.5804988067125818,
392
+ -0.11971455106221861,
393
+ -0.8047871507776216,
394
+ -0.09466490917766499
395
+ ],
396
+ [
397
+ -0.006900349755311177,
398
+ -0.9876062302142865,
399
+ 0.15187915976605582,
400
+ 0.03186196469317114
401
+ ],
402
+ [
403
+ 0.0,
404
+ 0.0,
405
+ 0.0,
406
+ 1.0
407
+ ]
408
+ ]
409
+ },
410
+ {
411
+ "file_path": "RawDataHistogramMap_frame_0_1772192636302156.txt",
412
+ "transform_matrix": [
413
+ [
414
+ 0.7484824888173589,
415
+ -0.1041174880794602,
416
+ -0.6544199313425995,
417
+ -0.4716157504822538
418
+ ],
419
+ [
420
+ -0.6631513503315014,
421
+ -0.1144457553149366,
422
+ -0.739108519016034,
423
+ -0.06687464195640336
424
+ ],
425
+ [
426
+ -0.00206167099234677,
427
+ -0.9871892449729233,
428
+ 0.1547062965857251,
429
+ 0.0315993053435434
430
+ ],
431
+ [
432
+ 0.0,
433
+ 0.0,
434
+ 0.0,
435
+ 1.0
436
+ ]
437
+ ]
438
+ },
439
+ {
440
+ "file_path": "RawDataHistogramMap_frame_0_1772192654274737.txt",
441
+ "transform_matrix": [
442
+ [
443
+ 0.6869971068641868,
444
+ -0.11444785015785697,
445
+ -0.7170317428738077,
446
+ -0.47829913592953527
447
+ ],
448
+ [
449
+ -0.7266592301163273,
450
+ -0.10977184523657174,
451
+ -0.6776426309910607,
452
+ -0.04414757009154646
453
+ ],
454
+ [
455
+ 0.0011569126966076994,
456
+ -0.9865762612243392,
457
+ 0.15857752677684586,
458
+ 0.03173811960256741
459
+ ],
460
+ [
461
+ 0.0,
462
+ 0.0,
463
+ 0.0,
464
+ 1.0
465
+ ]
466
+ ]
467
+ },
468
+ {
469
+ "file_path": "RawDataHistogramMap_frame_0_1772192677932556.txt",
470
+ "transform_matrix": [
471
+ [
472
+ 0.6422287926166674,
473
+ -0.11840214989972797,
474
+ -0.7567235732017475,
475
+ -0.4868942143025241
476
+ ],
477
+ [
478
+ -0.7665006732075692,
479
+ -0.10480118775976356,
480
+ -0.6331404508711503,
481
+ -0.026005072363535456
482
+ ],
483
+ [
484
+ 0.004346942199422357,
485
+ -0.9866501556109225,
486
+ 0.15806166788711126,
487
+ 0.031295730284066396
488
+ ],
489
+ [
490
+ 0.0,
491
+ 0.0,
492
+ 0.0,
493
+ 1.0
494
+ ]
495
+ ]
496
+ },
497
+ {
498
+ "file_path": "RawDataHistogramMap_frame_0_1772192728915992.txt",
499
+ "transform_matrix": [
500
+ [
501
+ 0.4403918731152336,
502
+ -0.13552509685597386,
503
+ -0.8868277499564007,
504
+ -0.5055122212014469
505
+ ],
506
+ [
507
+ -0.8976164822149669,
508
+ -0.0867401476880352,
509
+ -0.43181669423202074,
510
+ 0.014840743014518896
511
+ ],
512
+ [
513
+ 0.018429567278987265,
514
+ -0.9861997680617388,
515
+ 0.15984921680632805,
516
+ 0.029791945785591908
517
+ ],
518
+ [
519
+ 0.0,
520
+ 0.0,
521
+ 0.0,
522
+ 1.0
523
+ ]
524
+ ]
525
+ },
526
+ {
527
+ "file_path": "RawDataHistogramMap_frame_0_1772192752577950.txt",
528
+ "transform_matrix": [
529
+ [
530
+ 0.3414776166977553,
531
+ -0.14220488168470385,
532
+ -0.9283473679735715,
533
+ -0.499951854913202
534
+ ],
535
+ [
536
+ -0.9395610648636679,
537
+ -0.07777288949151911,
538
+ -0.3331640813411673,
539
+ 0.046440569079158146
540
+ ],
541
+ [
542
+ 0.024860464329479255,
543
+ -0.9860071180823043,
544
+ 0.16016787101175464,
545
+ 0.02791235918943408
546
+ ],
547
+ [
548
+ 0.0,
549
+ 0.0,
550
+ 0.0,
551
+ 1.0
552
+ ]
553
+ ]
554
+ },
555
+ {
556
+ "file_path": "RawDataHistogramMap_frame_0_1772192772566497.txt",
557
+ "transform_matrix": [
558
+ [
559
+ 0.2528081480137139,
560
+ -0.14655066493470725,
561
+ -0.9556091878889844,
562
+ -0.49270863103905616
563
+ ],
564
+ [
565
+ -0.9670189568999169,
566
+ -0.06994255194801932,
567
+ -0.24471171818075013,
568
+ 0.06646437891860307
569
+ ],
570
+ [
571
+ 0.031022206467008297,
572
+ -0.9859573163469024,
573
+ 0.15939931816348152,
574
+ 0.026157895781779003
575
+ ],
576
+ [
577
+ 0.0,
578
+ 0.0,
579
+ 0.0,
580
+ 1.0
581
+ ]
582
+ ]
583
+ },
584
+ {
585
+ "file_path": "RawDataHistogramMap_frame_0_1772192816030815.txt",
586
+ "transform_matrix": [
587
+ [
588
+ 0.0693271775578638,
589
+ -0.15329789086416484,
590
+ -0.9849780139564468,
591
+ -0.4727573994497204
592
+ ],
593
+ [
594
+ -0.9967664438017562,
595
+ -0.050852588330663515,
596
+ -0.06213583816179743,
597
+ 0.10789248676151028
598
+ ],
599
+ [
600
+ 0.040625102617372746,
601
+ -0.9861007344792236,
602
+ 0.15632765993946005,
603
+ 0.023874073414301165
604
+ ],
605
+ [
606
+ 0.0,
607
+ 0.0,
608
+ 0.0,
609
+ 1.0
610
+ ]
611
+ ]
612
+ },
613
+ {
614
+ "file_path": "RawDataHistogramMap_frame_0_1772192837663421.txt",
615
+ "transform_matrix": [
616
+ [
617
+ -0.04146437316944663,
618
+ -0.15576839256647637,
619
+ -0.9861543555954541,
620
+ -0.45935779941867766
621
+ ],
622
+ [
623
+ -0.9980610608857707,
624
+ -0.039398793895998485,
625
+ 0.048124511024958204,
626
+ 0.12503857452290593
627
+ ],
628
+ [
629
+ 0.04642008726021446,
630
+ -0.9862377150264484,
631
+ 0.1538327208448385,
632
+ 0.02187130615680795
633
+ ],
634
+ [
635
+ 0.0,
636
+ 0.0,
637
+ 0.0,
638
+ 1.0
639
+ ]
640
+ ]
641
+ },
642
+ {
643
+ "file_path": "RawDataHistogramMap_frame_0_1772192857661161.txt",
644
+ "transform_matrix": [
645
+ [
646
+ -0.12231004832408253,
647
+ -0.15669598696915893,
648
+ -0.9792804669290288,
649
+ -0.45151930091163467
650
+ ],
651
+ [
652
+ -0.9912228779177842,
653
+ -0.03059511162253585,
654
+ 0.12850912651177712,
655
+ 0.13700672260172883
656
+ ],
657
+ [
658
+ 0.05017427997845386,
659
+ -0.9864031601917939,
660
+ 0.1515785575807045,
661
+ 0.020638117228880638
662
+ ],
663
+ [
664
+ 0.0,
665
+ 0.0,
666
+ 0.0,
667
+ 1.0
668
+ ]
669
+ ]
670
+ },
671
+ {
672
+ "file_path": "RawDataHistogramMap_frame_0_1772192901125481.txt",
673
+ "transform_matrix": [
674
+ [
675
+ -0.3590886896189549,
676
+ -0.1552233481694285,
677
+ -0.9195856644513886,
678
+ -0.411017324789544
679
+ ],
680
+ [
681
+ -0.9313849995819198,
682
+ -0.0035433511495614914,
683
+ 0.36374181974665903,
684
+ 0.18563540039131943
685
+ ],
686
+ [
687
+ 0.05981049691766734,
688
+ -0.9871038671130298,
689
+ 0.14330032074873142,
690
+ 0.017077060801283624
691
+ ],
692
+ [
693
+ 0.0,
694
+ 0.0,
695
+ 0.0,
696
+ 1.0
697
+ ]
698
+ ]
699
+ },
700
+ {
701
+ "file_path": "RawDataHistogramMap_frame_0_1772192920932053.txt",
702
+ "transform_matrix": [
703
+ [
704
+ -0.46613212624577993,
705
+ -0.15281594292417375,
706
+ -0.8707347974861773,
707
+ -0.38476548409984357
708
+ ],
709
+ [
710
+ -0.8823445689024153,
711
+ 0.008299350943704159,
712
+ 0.4701731038977321,
713
+ 0.21193586468904257
714
+ ],
715
+ [
716
+ 0.06472173213077519,
717
+ -0.9874509081396919,
718
+ 0.13870491138269478,
719
+ 0.014304683849518173
720
+ ],
721
+ [
722
+ 0.0,
723
+ 0.0,
724
+ 0.0,
725
+ 1.0
726
+ ]
727
+ ]
728
+ },
729
+ {
730
+ "file_path": "RawDataHistogramMap_frame_0_1772192940921709.txt",
731
+ "transform_matrix": [
732
+ [
733
+ -0.5517276218640855,
734
+ -0.15005618354114147,
735
+ -0.819770140711322,
736
+ -0.3629942194889516
737
+ ],
738
+ [
739
+ -0.8312475913393658,
740
+ 0.01879579969768194,
741
+ 0.555161879450194,
742
+ 0.22905358428429917
743
+ ],
744
+ [
745
+ 0.06800053797369826,
746
+ -0.9877300984168633,
747
+ 0.1351040030023869,
748
+ 0.012748261058277446
749
+ ],
750
+ [
751
+ 0.0,
752
+ 0.0,
753
+ 0.0,
754
+ 1.0
755
+ ]
756
+ ]
757
+ },
758
+ {
759
+ "file_path": "RawDataHistogramMap_frame_0_1772192964388397.txt",
760
+ "transform_matrix": [
761
+ [
762
+ -0.615826554452921,
763
+ -0.157348565516931,
764
+ -0.7713987834604976,
765
+ -0.3427838834695409
766
+ ],
767
+ [
768
+ -0.7841700081322909,
769
+ 0.02748316174155309,
770
+ 0.6194651711959905,
771
+ 0.235754442427778
772
+ ],
773
+ [
774
+ 0.07638751976897672,
775
+ -0.9863908922806652,
776
+ 0.14031288670178843,
777
+ 0.013719264159362476
778
+ ],
779
+ [
780
+ 0.0,
781
+ 0.0,
782
+ 0.0,
783
+ 1.0
784
+ ]
785
+ ]
786
+ },
787
+ {
788
+ "file_path": "RawDataHistogramMap_frame_0_1772193017030340.txt",
789
+ "transform_matrix": [
790
+ [
791
+ -0.781275715519543,
792
+ -0.13118981414889447,
793
+ -0.609758665603808,
794
+ -0.3181144318488139
795
+ ],
796
+ [
797
+ -0.6197798388692365,
798
+ 0.04717815998820138,
799
+ 0.7827589618323291,
800
+ 0.28065164072972026
801
+ ],
802
+ [
803
+ 0.07403517860220592,
804
+ -0.9894666955019252,
805
+ 0.1181679525761638,
806
+ 0.008718626082269754
807
+ ],
808
+ [
809
+ 0.0,
810
+ 0.0,
811
+ 0.0,
812
+ 1.0
813
+ ]
814
+ ]
815
+ },
816
+ {
817
+ "file_path": "RawDataHistogramMap_frame_0_1772193037024623.txt",
818
+ "transform_matrix": [
819
+ [
820
+ -0.853069554060402,
821
+ -0.12256361078256559,
822
+ -0.5067907704091675,
823
+ -0.2807609416313793
824
+ ],
825
+ [
826
+ -0.5162242509509429,
827
+ 0.056665140697229215,
828
+ 0.8539246434015908,
829
+ 0.2899407374528719
830
+ ],
831
+ [
832
+ 0.07605825836381487,
833
+ -0.9900748005910951,
834
+ 0.11160961447542707,
835
+ 0.00686824662818857
836
+ ],
837
+ [
838
+ 0.0,
839
+ 0.0,
840
+ 0.0,
841
+ 1.0
842
+ ]
843
+ ]
844
+ },
845
+ {
846
+ "file_path": "RawDataHistogramMap_frame_0_1772193058655948.txt",
847
+ "transform_matrix": [
848
+ [
849
+ -0.8973927175113439,
850
+ -0.11502210625560853,
851
+ -0.42562950467077854,
852
+ -0.2529320303412646
853
+ ],
854
+ [
855
+ -0.4344997142697693,
856
+ 0.062490610755408224,
857
+ 0.8978154613943792,
858
+ 0.29245436409041425
859
+ ],
860
+ [
861
+ 0.076787426425855,
862
+ -0.990628954888627,
863
+ 0.10605569130750699,
864
+ 0.005200515598544427
865
+ ],
866
+ [
867
+ 0.0,
868
+ 0.0,
869
+ 0.0,
870
+ 1.0
871
+ ]
872
+ ]
873
+ }
874
+ ],
875
+ "w": 256,
876
+ "h": 192,
877
+ "fl_x": 118.6514575329715,
878
+ "fl_y": 118.7964934010577,
879
+ "cx": 130.6802784645003,
880
+ "cy": 100.360570246814,
881
+ "camera_angle_y": 1.3593266161827677
882
+ }
codes/reconstruction/Reconstruction/physics_building2/json/five_views/train.json ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772192251170492.txt",
6
+ "transform_matrix": [
7
+ [
8
+ 0.43192347763479866,
9
+ 0.05096349204301887,
10
+ 0.8997828193352139,
11
+ -0.030162246637793197
12
+ ],
13
+ [
14
+ 0.9016690609269071,
15
+ -0.04747061486773325,
16
+ -0.4294826912177948,
17
+ -0.17258882349460433
18
+ ],
19
+ [
20
+ -0.020856990076528817,
21
+ -0.9968099873228872,
22
+ 0.06645587707111836,
23
+ 0.017493045637956076
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772192507379129.txt",
35
+ "transform_matrix": [
36
+ [
37
+ 0.9938343984021715,
38
+ -0.020174692572726773,
39
+ 0.10893803558590627,
40
+ -0.3129858003949916
41
+ ],
42
+ [
43
+ 0.10576137817993876,
44
+ -0.12243964624245039,
45
+ -0.9860633567483709,
46
+ -0.22752907388206725
47
+ ],
48
+ [
49
+ -0.0332824193542674,
50
+ -0.9915051197202217,
51
+ 0.11955102887309284,
52
+ 0.031446336580559536
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772192708933968.txt",
64
+ "transform_matrix": [
65
+ [
66
+ 0.5398447133494395,
67
+ -0.12714679219654418,
68
+ -0.8314595508877263,
69
+ -0.5084074263005505
70
+ ],
71
+ [
72
+ -0.8416686861325425,
73
+ -0.09644585455081013,
74
+ -0.5308945810034896,
75
+ -0.014039524001758813
76
+ ],
77
+ [
78
+ 0.012708589716600596,
79
+ -0.9864141006686208,
80
+ 0.15908125823775734,
81
+ 0.030939486879926748
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ },
91
+ {
92
+ "file_path": "RawDataHistogramMap_frame_0_1772192881135611.txt",
93
+ "transform_matrix": [
94
+ [
95
+ -0.23855767407468723,
96
+ -0.15628978576553448,
97
+ -0.9577218171034054,
98
+ -0.43401875158277003
99
+ ],
100
+ [
101
+ -0.9697617540976503,
102
+ -0.013961684140303283,
103
+ 0.24346812949739144,
104
+ 0.1582911224157903
105
+ ],
106
+ [
107
+ 0.051501227456578244,
108
+ -0.9868431799759905,
109
+ 0.14823318989685458,
110
+ 0.019755552042774245
111
+ ],
112
+ [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 1.0
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "file_path": "RawDataHistogramMap_frame_0_1772193078644525.txt",
122
+ "transform_matrix": [
123
+ [
124
+ -0.935309165475436,
125
+ -0.1088701966463554,
126
+ -0.3363834973727127,
127
+ -0.2182330623672111
128
+ ],
129
+ [
130
+ -0.3450119386405475,
131
+ 0.06967265369752233,
132
+ 0.9352936415964633,
133
+ 0.29396371930573284
134
+ ],
135
+ [
136
+ 0.07850813443934304,
137
+ -0.9908450379513046,
138
+ 0.10272698919142399,
139
+ 0.002025165060662761
140
+ ],
141
+ [
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 1.0
146
+ ]
147
+ ]
148
+ }
149
+ ],
150
+ "w": 256,
151
+ "h": 192,
152
+ "fl_x": 118.6514575329715,
153
+ "fl_y": 118.7964934010577,
154
+ "cx": 130.6802784645003,
155
+ "cy": 100.360570246814,
156
+ "camera_angle_y": 1.3593266161827677
157
+ }
codes/reconstruction/Reconstruction/physics_building2/json/ten_views/test.json ADDED
@@ -0,0 +1,882 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772192169568029.txt",
6
+ "transform_matrix": [
7
+ [
8
+ 0.103315811330484,
9
+ 0.054377091782674684,
10
+ 0.9924041907841717,
11
+ 0.03746656722396702
12
+ ],
13
+ [
14
+ 0.9946334280837001,
15
+ -0.01115950656572342,
16
+ -0.10277912263989493,
17
+ -0.10410592023839083
18
+ ],
19
+ [
20
+ -0.005494257692634579,
21
+ -0.9976970907676648,
22
+ 0.05523822668390917,
23
+ 0.014272021033701406
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772192189563255.txt",
35
+ "transform_matrix": [
36
+ [
37
+ 0.23545180068404248,
38
+ 0.05425773930612523,
39
+ 0.9696306775122234,
40
+ 0.01700603564559032
41
+ ],
42
+ [
43
+ 0.9718001300742811,
44
+ -0.02640756431378386,
45
+ -0.23414243152317724,
46
+ -0.13358748177952293
47
+ ],
48
+ [
49
+ -0.012921174182551369,
50
+ -0.997416475649062,
51
+ 0.05894538668458907,
52
+ 0.015218502124512596
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772192231193236.txt",
64
+ "transform_matrix": [
65
+ [
66
+ 0.33458004312356243,
67
+ 0.053243101486651144,
68
+ 0.9401448344437766,
69
+ -0.005458176641248303
70
+ ],
71
+ [
72
+ 0.9422133387801237,
73
+ -0.03693549577622652,
74
+ -0.33271503915715567,
75
+ -0.1539473367801697
76
+ ],
77
+ [
78
+ -0.017035814281974735,
79
+ -0.9971368155472145,
80
+ 0.06252424018834674,
81
+ 0.016245498353925587
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ },
91
+ {
92
+ "file_path": "RawDataHistogramMap_frame_0_1772192269326459.txt",
93
+ "transform_matrix": [
94
+ [
95
+ 0.5326291316737375,
96
+ 0.04709016972132526,
97
+ 0.844393613418668,
98
+ -0.05696750575493574
99
+ ],
100
+ [
101
+ 0.8459812375585773,
102
+ -0.059020699303035704,
103
+ -0.5295284649427265,
104
+ -0.19159926897766025
105
+ ],
106
+ [
107
+ -0.024939001410254156,
108
+ -0.9963834405454515,
109
+ 0.0712735438782428,
110
+ 0.01900140461110974
111
+ ],
112
+ [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 1.0
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "file_path": "RawDataHistogramMap_frame_0_1772192289512244.txt",
122
+ "transform_matrix": [
123
+ [
124
+ 0.612601980608444,
125
+ 0.043184196042667496,
126
+ 0.7886094854145158,
127
+ -0.08058319486620799
128
+ ],
129
+ [
130
+ 0.7899031329709677,
131
+ -0.06852046218481761,
132
+ -0.6089225894616359,
133
+ -0.20544181677099504
134
+ ],
135
+ [
136
+ -0.027782258318264696,
137
+ -0.9959522875609668,
138
+ 0.07608710259556074,
139
+ 0.019794655572238876
140
+ ],
141
+ [
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 1.0
146
+ ]
147
+ ]
148
+ },
149
+ {
150
+ "file_path": "RawDataHistogramMap_frame_0_1772192311141906.txt",
151
+ "transform_matrix": [
152
+ [
153
+ 0.7088601121272123,
154
+ 0.036119695404333116,
155
+ 0.7038870110238896,
156
+ -0.11080042379626606
157
+ ],
158
+ [
159
+ 0.7046359337829626,
160
+ -0.08112646692737127,
161
+ -0.7043733683413624,
162
+ -0.2161082477466749
163
+ ],
164
+ [
165
+ -0.03171028629338354,
166
+ -0.9952862661523939,
167
+ 0.08295855174180969,
168
+ 0.02196700573597272
169
+ ],
170
+ [
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 1.0
175
+ ]
176
+ ]
177
+ },
178
+ {
179
+ "file_path": "RawDataHistogramMap_frame_0_1772192331316667.txt",
180
+ "transform_matrix": [
181
+ [
182
+ 0.7731997905272099,
183
+ 0.03086367150147913,
184
+ 0.632928580734977,
185
+ -0.13633505727324155
186
+ ],
187
+ [
188
+ 0.6332940233076068,
189
+ -0.089794508281066,
190
+ -0.7680922933892708,
191
+ -0.22353007826121407
192
+ ],
193
+ [
194
+ -0.033177763208852094,
195
+ -0.9947186877141726,
196
+ 0.08897487369263056,
197
+ 0.023566512588100077
198
+ ],
199
+ [
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 1.0
204
+ ]
205
+ ]
206
+ },
207
+ {
208
+ "file_path": "RawDataHistogramMap_frame_0_1772192413119632.txt",
209
+ "transform_matrix": [
210
+ [
211
+ 0.8784397195648138,
212
+ 0.016600371036726194,
213
+ 0.47720143240960716,
214
+ -0.19250120768371456
215
+ ],
216
+ [
217
+ 0.4765557593912327,
218
+ -0.10397306689303254,
219
+ -0.8723016082680923,
220
+ -0.2367707114167347
221
+ ],
222
+ [
223
+ -0.03518902217929182,
224
+ -0.9936774711475004,
225
+ 0.09924507414939285,
226
+ 0.02664942847381442
227
+ ],
228
+ [
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 1.0
233
+ ]
234
+ ]
235
+ },
236
+ {
237
+ "file_path": "RawDataHistogramMap_frame_0_1772192438420386.txt",
238
+ "transform_matrix": [
239
+ [
240
+ 0.9186535130502979,
241
+ 0.008175235226147113,
242
+ 0.394679353307174,
243
+ -0.2180492375329396
244
+ ],
245
+ [
246
+ 0.3934289387827207,
247
+ -0.10973472796485081,
248
+ -0.9120789357615678,
249
+ -0.23855529132257408
250
+ ],
251
+ [
252
+ -0.0359081200934824,
253
+ -0.9931627976476309,
254
+ 0.10402456746785135,
255
+ 0.027889797365982478
256
+ ],
257
+ [
258
+ 0.0,
259
+ 0.0,
260
+ 0.0,
261
+ 1.0
262
+ ]
263
+ ]
264
+ },
265
+ {
266
+ "file_path": "RawDataHistogramMap_frame_0_1772192483721235.txt",
267
+ "transform_matrix": [
268
+ [
269
+ 0.9729034634314045,
270
+ -0.007610003869615804,
271
+ 0.2309106508638137,
272
+ -0.26926727159987385
273
+ ],
274
+ [
275
+ 0.2286043638641554,
276
+ -0.11789922913596948,
277
+ -0.9656086645012588,
278
+ -0.23602523488353747
279
+ ],
280
+ [
281
+ -0.03462507278611499,
282
+ -0.9922311964628212,
283
+ 0.11296488826866036,
284
+ 0.02966293492135638
285
+ ],
286
+ [
287
+ 0.0,
288
+ 0.0,
289
+ 0.0,
290
+ 1.0
291
+ ]
292
+ ]
293
+ },
294
+ {
295
+ "file_path": "RawDataHistogramMap_frame_0_1772192527179631.txt",
296
+ "transform_matrix": [
297
+ [
298
+ 0.9991850352802725,
299
+ -0.03464640361659324,
300
+ -0.020649865649861748,
301
+ -0.35689935541040185
302
+ ],
303
+ [
304
+ -0.02483540104753599,
305
+ -0.12440682970621435,
306
+ -0.9911548658939382,
307
+ -0.2115090401308341
308
+ ],
309
+ [
310
+ -0.031819304309933724,
311
+ -0.9908599573414375,
312
+ 0.12516589985778445,
313
+ 0.032405123509101214
314
+ ],
315
+ [
316
+ 0.0,
317
+ 0.0,
318
+ 0.0,
319
+ 1.0
320
+ ]
321
+ ]
322
+ },
323
+ {
324
+ "file_path": "RawDataHistogramMap_frame_0_1772192549001740.txt",
325
+ "transform_matrix": [
326
+ [
327
+ 0.9822150948864484,
328
+ -0.05139074439444979,
329
+ -0.1804409729757321,
330
+ -0.39864571805452054
331
+ ],
332
+ [
333
+ -0.18575785008391502,
334
+ -0.1260307089416094,
335
+ -0.9737266493319506,
336
+ -0.18409574652138178
337
+ ],
338
+ [
339
+ -0.027340967601899347,
340
+ -0.9899273404740627,
341
+ 0.1333354989346152,
342
+ 0.03297045375148561
343
+ ],
344
+ [
345
+ 0.0,
346
+ 0.0,
347
+ 0.0,
348
+ 1.0
349
+ ]
350
+ ]
351
+ },
352
+ {
353
+ "file_path": "RawDataHistogramMap_frame_0_1772192570827327.txt",
354
+ "transform_matrix": [
355
+ [
356
+ 0.9456861787914934,
357
+ -0.06567876691484918,
358
+ -0.3181248412045134,
359
+ -0.4237934141925582
360
+ ],
361
+ [
362
+ -0.324375484016176,
363
+ -0.12621229118479396,
364
+ -0.9367452859356713,
365
+ -0.15545124551896908
366
+ ],
367
+ [
368
+ -0.021405527604235506,
369
+ -0.9890589693007298,
370
+ 0.1406618011746577,
371
+ 0.032391042816485575
372
+ ],
373
+ [
374
+ 0.0,
375
+ 0.0,
376
+ 0.0,
377
+ 1.0
378
+ ]
379
+ ]
380
+ },
381
+ {
382
+ "file_path": "RawDataHistogramMap_frame_0_1772192610807128.txt",
383
+ "transform_matrix": [
384
+ [
385
+ 0.8142318592259358,
386
+ -0.09371898382764993,
387
+ -0.5724781658681758,
388
+ -0.45818834156835264
389
+ ],
390
+ [
391
+ -0.5804988067125818,
392
+ -0.11971455106221861,
393
+ -0.8047871507776216,
394
+ -0.09466490917766499
395
+ ],
396
+ [
397
+ -0.006900349755311177,
398
+ -0.9876062302142865,
399
+ 0.15187915976605582,
400
+ 0.03186196469317114
401
+ ],
402
+ [
403
+ 0.0,
404
+ 0.0,
405
+ 0.0,
406
+ 1.0
407
+ ]
408
+ ]
409
+ },
410
+ {
411
+ "file_path": "RawDataHistogramMap_frame_0_1772192636302156.txt",
412
+ "transform_matrix": [
413
+ [
414
+ 0.7484824888173589,
415
+ -0.1041174880794602,
416
+ -0.6544199313425995,
417
+ -0.4716157504822538
418
+ ],
419
+ [
420
+ -0.6631513503315014,
421
+ -0.1144457553149366,
422
+ -0.739108519016034,
423
+ -0.06687464195640336
424
+ ],
425
+ [
426
+ -0.00206167099234677,
427
+ -0.9871892449729233,
428
+ 0.1547062965857251,
429
+ 0.0315993053435434
430
+ ],
431
+ [
432
+ 0.0,
433
+ 0.0,
434
+ 0.0,
435
+ 1.0
436
+ ]
437
+ ]
438
+ },
439
+ {
440
+ "file_path": "RawDataHistogramMap_frame_0_1772192654274737.txt",
441
+ "transform_matrix": [
442
+ [
443
+ 0.6869971068641868,
444
+ -0.11444785015785697,
445
+ -0.7170317428738077,
446
+ -0.47829913592953527
447
+ ],
448
+ [
449
+ -0.7266592301163273,
450
+ -0.10977184523657174,
451
+ -0.6776426309910607,
452
+ -0.04414757009154646
453
+ ],
454
+ [
455
+ 0.0011569126966076994,
456
+ -0.9865762612243392,
457
+ 0.15857752677684586,
458
+ 0.03173811960256741
459
+ ],
460
+ [
461
+ 0.0,
462
+ 0.0,
463
+ 0.0,
464
+ 1.0
465
+ ]
466
+ ]
467
+ },
468
+ {
469
+ "file_path": "RawDataHistogramMap_frame_0_1772192677932556.txt",
470
+ "transform_matrix": [
471
+ [
472
+ 0.6422287926166674,
473
+ -0.11840214989972797,
474
+ -0.7567235732017475,
475
+ -0.4868942143025241
476
+ ],
477
+ [
478
+ -0.7665006732075692,
479
+ -0.10480118775976356,
480
+ -0.6331404508711503,
481
+ -0.026005072363535456
482
+ ],
483
+ [
484
+ 0.004346942199422357,
485
+ -0.9866501556109225,
486
+ 0.15806166788711126,
487
+ 0.031295730284066396
488
+ ],
489
+ [
490
+ 0.0,
491
+ 0.0,
492
+ 0.0,
493
+ 1.0
494
+ ]
495
+ ]
496
+ },
497
+ {
498
+ "file_path": "RawDataHistogramMap_frame_0_1772192728915992.txt",
499
+ "transform_matrix": [
500
+ [
501
+ 0.4403918731152336,
502
+ -0.13552509685597386,
503
+ -0.8868277499564007,
504
+ -0.5055122212014469
505
+ ],
506
+ [
507
+ -0.8976164822149669,
508
+ -0.0867401476880352,
509
+ -0.43181669423202074,
510
+ 0.014840743014518896
511
+ ],
512
+ [
513
+ 0.018429567278987265,
514
+ -0.9861997680617388,
515
+ 0.15984921680632805,
516
+ 0.029791945785591908
517
+ ],
518
+ [
519
+ 0.0,
520
+ 0.0,
521
+ 0.0,
522
+ 1.0
523
+ ]
524
+ ]
525
+ },
526
+ {
527
+ "file_path": "RawDataHistogramMap_frame_0_1772192752577950.txt",
528
+ "transform_matrix": [
529
+ [
530
+ 0.3414776166977553,
531
+ -0.14220488168470385,
532
+ -0.9283473679735715,
533
+ -0.499951854913202
534
+ ],
535
+ [
536
+ -0.9395610648636679,
537
+ -0.07777288949151911,
538
+ -0.3331640813411673,
539
+ 0.046440569079158146
540
+ ],
541
+ [
542
+ 0.024860464329479255,
543
+ -0.9860071180823043,
544
+ 0.16016787101175464,
545
+ 0.02791235918943408
546
+ ],
547
+ [
548
+ 0.0,
549
+ 0.0,
550
+ 0.0,
551
+ 1.0
552
+ ]
553
+ ]
554
+ },
555
+ {
556
+ "file_path": "RawDataHistogramMap_frame_0_1772192772566497.txt",
557
+ "transform_matrix": [
558
+ [
559
+ 0.2528081480137139,
560
+ -0.14655066493470725,
561
+ -0.9556091878889844,
562
+ -0.49270863103905616
563
+ ],
564
+ [
565
+ -0.9670189568999169,
566
+ -0.06994255194801932,
567
+ -0.24471171818075013,
568
+ 0.06646437891860307
569
+ ],
570
+ [
571
+ 0.031022206467008297,
572
+ -0.9859573163469024,
573
+ 0.15939931816348152,
574
+ 0.026157895781779003
575
+ ],
576
+ [
577
+ 0.0,
578
+ 0.0,
579
+ 0.0,
580
+ 1.0
581
+ ]
582
+ ]
583
+ },
584
+ {
585
+ "file_path": "RawDataHistogramMap_frame_0_1772192816030815.txt",
586
+ "transform_matrix": [
587
+ [
588
+ 0.0693271775578638,
589
+ -0.15329789086416484,
590
+ -0.9849780139564468,
591
+ -0.4727573994497204
592
+ ],
593
+ [
594
+ -0.9967664438017562,
595
+ -0.050852588330663515,
596
+ -0.06213583816179743,
597
+ 0.10789248676151028
598
+ ],
599
+ [
600
+ 0.040625102617372746,
601
+ -0.9861007344792236,
602
+ 0.15632765993946005,
603
+ 0.023874073414301165
604
+ ],
605
+ [
606
+ 0.0,
607
+ 0.0,
608
+ 0.0,
609
+ 1.0
610
+ ]
611
+ ]
612
+ },
613
+ {
614
+ "file_path": "RawDataHistogramMap_frame_0_1772192837663421.txt",
615
+ "transform_matrix": [
616
+ [
617
+ -0.04146437316944663,
618
+ -0.15576839256647637,
619
+ -0.9861543555954541,
620
+ -0.45935779941867766
621
+ ],
622
+ [
623
+ -0.9980610608857707,
624
+ -0.039398793895998485,
625
+ 0.048124511024958204,
626
+ 0.12503857452290593
627
+ ],
628
+ [
629
+ 0.04642008726021446,
630
+ -0.9862377150264484,
631
+ 0.1538327208448385,
632
+ 0.02187130615680795
633
+ ],
634
+ [
635
+ 0.0,
636
+ 0.0,
637
+ 0.0,
638
+ 1.0
639
+ ]
640
+ ]
641
+ },
642
+ {
643
+ "file_path": "RawDataHistogramMap_frame_0_1772192857661161.txt",
644
+ "transform_matrix": [
645
+ [
646
+ -0.12231004832408253,
647
+ -0.15669598696915893,
648
+ -0.9792804669290288,
649
+ -0.45151930091163467
650
+ ],
651
+ [
652
+ -0.9912228779177842,
653
+ -0.03059511162253585,
654
+ 0.12850912651177712,
655
+ 0.13700672260172883
656
+ ],
657
+ [
658
+ 0.05017427997845386,
659
+ -0.9864031601917939,
660
+ 0.1515785575807045,
661
+ 0.020638117228880638
662
+ ],
663
+ [
664
+ 0.0,
665
+ 0.0,
666
+ 0.0,
667
+ 1.0
668
+ ]
669
+ ]
670
+ },
671
+ {
672
+ "file_path": "RawDataHistogramMap_frame_0_1772192901125481.txt",
673
+ "transform_matrix": [
674
+ [
675
+ -0.3590886896189549,
676
+ -0.1552233481694285,
677
+ -0.9195856644513886,
678
+ -0.411017324789544
679
+ ],
680
+ [
681
+ -0.9313849995819198,
682
+ -0.0035433511495614914,
683
+ 0.36374181974665903,
684
+ 0.18563540039131943
685
+ ],
686
+ [
687
+ 0.05981049691766734,
688
+ -0.9871038671130298,
689
+ 0.14330032074873142,
690
+ 0.017077060801283624
691
+ ],
692
+ [
693
+ 0.0,
694
+ 0.0,
695
+ 0.0,
696
+ 1.0
697
+ ]
698
+ ]
699
+ },
700
+ {
701
+ "file_path": "RawDataHistogramMap_frame_0_1772192920932053.txt",
702
+ "transform_matrix": [
703
+ [
704
+ -0.46613212624577993,
705
+ -0.15281594292417375,
706
+ -0.8707347974861773,
707
+ -0.38476548409984357
708
+ ],
709
+ [
710
+ -0.8823445689024153,
711
+ 0.008299350943704159,
712
+ 0.4701731038977321,
713
+ 0.21193586468904257
714
+ ],
715
+ [
716
+ 0.06472173213077519,
717
+ -0.9874509081396919,
718
+ 0.13870491138269478,
719
+ 0.014304683849518173
720
+ ],
721
+ [
722
+ 0.0,
723
+ 0.0,
724
+ 0.0,
725
+ 1.0
726
+ ]
727
+ ]
728
+ },
729
+ {
730
+ "file_path": "RawDataHistogramMap_frame_0_1772192940921709.txt",
731
+ "transform_matrix": [
732
+ [
733
+ -0.5517276218640855,
734
+ -0.15005618354114147,
735
+ -0.819770140711322,
736
+ -0.3629942194889516
737
+ ],
738
+ [
739
+ -0.8312475913393658,
740
+ 0.01879579969768194,
741
+ 0.555161879450194,
742
+ 0.22905358428429917
743
+ ],
744
+ [
745
+ 0.06800053797369826,
746
+ -0.9877300984168633,
747
+ 0.1351040030023869,
748
+ 0.012748261058277446
749
+ ],
750
+ [
751
+ 0.0,
752
+ 0.0,
753
+ 0.0,
754
+ 1.0
755
+ ]
756
+ ]
757
+ },
758
+ {
759
+ "file_path": "RawDataHistogramMap_frame_0_1772192964388397.txt",
760
+ "transform_matrix": [
761
+ [
762
+ -0.615826554452921,
763
+ -0.157348565516931,
764
+ -0.7713987834604976,
765
+ -0.3427838834695409
766
+ ],
767
+ [
768
+ -0.7841700081322909,
769
+ 0.02748316174155309,
770
+ 0.6194651711959905,
771
+ 0.235754442427778
772
+ ],
773
+ [
774
+ 0.07638751976897672,
775
+ -0.9863908922806652,
776
+ 0.14031288670178843,
777
+ 0.013719264159362476
778
+ ],
779
+ [
780
+ 0.0,
781
+ 0.0,
782
+ 0.0,
783
+ 1.0
784
+ ]
785
+ ]
786
+ },
787
+ {
788
+ "file_path": "RawDataHistogramMap_frame_0_1772193017030340.txt",
789
+ "transform_matrix": [
790
+ [
791
+ -0.781275715519543,
792
+ -0.13118981414889447,
793
+ -0.609758665603808,
794
+ -0.3181144318488139
795
+ ],
796
+ [
797
+ -0.6197798388692365,
798
+ 0.04717815998820138,
799
+ 0.7827589618323291,
800
+ 0.28065164072972026
801
+ ],
802
+ [
803
+ 0.07403517860220592,
804
+ -0.9894666955019252,
805
+ 0.1181679525761638,
806
+ 0.008718626082269754
807
+ ],
808
+ [
809
+ 0.0,
810
+ 0.0,
811
+ 0.0,
812
+ 1.0
813
+ ]
814
+ ]
815
+ },
816
+ {
817
+ "file_path": "RawDataHistogramMap_frame_0_1772193037024623.txt",
818
+ "transform_matrix": [
819
+ [
820
+ -0.853069554060402,
821
+ -0.12256361078256559,
822
+ -0.5067907704091675,
823
+ -0.2807609416313793
824
+ ],
825
+ [
826
+ -0.5162242509509429,
827
+ 0.056665140697229215,
828
+ 0.8539246434015908,
829
+ 0.2899407374528719
830
+ ],
831
+ [
832
+ 0.07605825836381487,
833
+ -0.9900748005910951,
834
+ 0.11160961447542707,
835
+ 0.00686824662818857
836
+ ],
837
+ [
838
+ 0.0,
839
+ 0.0,
840
+ 0.0,
841
+ 1.0
842
+ ]
843
+ ]
844
+ },
845
+ {
846
+ "file_path": "RawDataHistogramMap_frame_0_1772193058655948.txt",
847
+ "transform_matrix": [
848
+ [
849
+ -0.8973927175113439,
850
+ -0.11502210625560853,
851
+ -0.42562950467077854,
852
+ -0.2529320303412646
853
+ ],
854
+ [
855
+ -0.4344997142697693,
856
+ 0.062490610755408224,
857
+ 0.8978154613943792,
858
+ 0.29245436409041425
859
+ ],
860
+ [
861
+ 0.076787426425855,
862
+ -0.990628954888627,
863
+ 0.10605569130750699,
864
+ 0.005200515598544427
865
+ ],
866
+ [
867
+ 0.0,
868
+ 0.0,
869
+ 0.0,
870
+ 1.0
871
+ ]
872
+ ]
873
+ }
874
+ ],
875
+ "w": 256,
876
+ "h": 192,
877
+ "fl_x": 118.6514575329715,
878
+ "fl_y": 118.7964934010577,
879
+ "cx": 130.6802784645003,
880
+ "cy": 100.360570246814,
881
+ "camera_angle_y": 1.3593266161827677
882
+ }
codes/reconstruction/Reconstruction/physics_building2/json/ten_views/train.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772192149578339.txt",
6
+ "transform_matrix": [
7
+ [
8
+ -1.4305592385737082e-19,
9
+ 0.05225645579499999,
10
+ 0.9978728127629999,
11
+ 0.04939854175299999
12
+ ],
13
+ [
14
+ 0.9999999999999998,
15
+ 3.856408627034591e-21,
16
+ 7.364076390712113e-20,
17
+ -0.08171214699999998
18
+ ],
19
+ [
20
+ -1.3552527156068805e-20,
21
+ -0.9978728127629999,
22
+ 0.05225645579499999,
23
+ 0.013621837803999998
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772192251170492.txt",
35
+ "transform_matrix": [
36
+ [
37
+ 0.43192347763479866,
38
+ 0.05096349204301887,
39
+ 0.8997828193352139,
40
+ -0.030162246637793197
41
+ ],
42
+ [
43
+ 0.9016690609269071,
44
+ -0.04747061486773325,
45
+ -0.4294826912177948,
46
+ -0.17258882349460433
47
+ ],
48
+ [
49
+ -0.020856990076528817,
50
+ -0.9968099873228872,
51
+ 0.06645587707111836,
52
+ 0.017493045637956076
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772192387623288.txt",
64
+ "transform_matrix": [
65
+ [
66
+ 0.8236778973784353,
67
+ 0.02522765037846582,
68
+ 0.56606519877993,
69
+ -0.16344966986693135
70
+ ],
71
+ [
72
+ 0.5660493204803964,
73
+ -0.09609236660540234,
74
+ -0.818121050376394,
75
+ -0.2307747585429511
76
+ ],
77
+ [
78
+ -0.0338066288458407,
79
+ -0.9942890476920421,
80
+ 0.09342925283370357,
81
+ 0.025019718273770055
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ },
91
+ {
92
+ "file_path": "RawDataHistogramMap_frame_0_1772192507379129.txt",
93
+ "transform_matrix": [
94
+ [
95
+ 0.9938343984021715,
96
+ -0.020174692572726773,
97
+ 0.10893803558590627,
98
+ -0.3129858003949916
99
+ ],
100
+ [
101
+ 0.10576137817993876,
102
+ -0.12243964624245039,
103
+ -0.9860633567483709,
104
+ -0.22752907388206725
105
+ ],
106
+ [
107
+ -0.0332824193542674,
108
+ -0.9915051197202217,
109
+ 0.11955102887309284,
110
+ 0.031446336580559536
111
+ ],
112
+ [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 1.0
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "file_path": "RawDataHistogramMap_frame_0_1772192590998869.txt",
122
+ "transform_matrix": [
123
+ [
124
+ 0.8980613281578492,
125
+ -0.07788370341869455,
126
+ -0.4325806894193004,
127
+ -0.432030110271061
128
+ ],
129
+ [
130
+ -0.4395962650954227,
131
+ -0.1242063304275481,
132
+ -0.8888770215855955,
133
+ -0.13359120275902278
134
+ ],
135
+ [
136
+ -0.01552335600049572,
137
+ -0.9884269339952766,
138
+ 0.14578228720403488,
139
+ 0.03221909546079682
140
+ ],
141
+ [
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 1.0
146
+ ]
147
+ ]
148
+ },
149
+ {
150
+ "file_path": "RawDataHistogramMap_frame_0_1772192708933968.txt",
151
+ "transform_matrix": [
152
+ [
153
+ 0.5398447133494395,
154
+ -0.12714679219654418,
155
+ -0.8314595508877263,
156
+ -0.5084074263005505
157
+ ],
158
+ [
159
+ -0.8416686861325425,
160
+ -0.09644585455081013,
161
+ -0.5308945810034896,
162
+ -0.014039524001758813
163
+ ],
164
+ [
165
+ 0.012708589716600596,
166
+ -0.9864141006686208,
167
+ 0.15908125823775734,
168
+ 0.030939486879926748
169
+ ],
170
+ [
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 1.0
175
+ ]
176
+ ]
177
+ },
178
+ {
179
+ "file_path": "RawDataHistogramMap_frame_0_1772192792370282.txt",
180
+ "transform_matrix": [
181
+ [
182
+ 0.15848607342006243,
183
+ -0.15092867077909455,
184
+ -0.9749983309253774,
185
+ -0.4819210260955373
186
+ ],
187
+ [
188
+ -0.9867023888572626,
189
+ -0.06027769800028842,
190
+ -0.15081399946660334,
191
+ 0.09214449390628099
192
+ ],
193
+ [
194
+ 0.03606328264692821,
195
+ -0.9859351008481408,
196
+ 0.15847485567564998,
197
+ 0.024866072646974036
198
+ ],
199
+ [
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 1.0
204
+ ]
205
+ ]
206
+ },
207
+ {
208
+ "file_path": "RawDataHistogramMap_frame_0_1772192881135611.txt",
209
+ "transform_matrix": [
210
+ [
211
+ -0.23855767407468723,
212
+ -0.15628978576553448,
213
+ -0.9577218171034054,
214
+ -0.43401875158277003
215
+ ],
216
+ [
217
+ -0.9697617540976503,
218
+ -0.013961684140303283,
219
+ 0.24346812949739144,
220
+ 0.1582911224157903
221
+ ],
222
+ [
223
+ 0.051501227456578244,
224
+ -0.9868431799759905,
225
+ 0.14823318989685458,
226
+ 0.019755552042774245
227
+ ],
228
+ [
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 1.0
233
+ ]
234
+ ]
235
+ },
236
+ {
237
+ "file_path": "RawDataHistogramMap_frame_0_1772192986218825.txt",
238
+ "transform_matrix": [
239
+ [
240
+ -0.6622274368401254,
241
+ -0.15829001028726322,
242
+ -0.7318102087090619,
243
+ -0.3256140338374331
244
+ ],
245
+ [
246
+ -0.7449545119476008,
247
+ 0.034018025246355374,
248
+ 0.6657397983443846,
249
+ 0.24158286751999766
250
+ ],
251
+ [
252
+ 0.0806076734875806,
253
+ -0.9860364771271858,
254
+ 0.14044652702498467,
255
+ 0.012984624823873213
256
+ ],
257
+ [
258
+ 0.0,
259
+ 0.0,
260
+ 0.0,
261
+ 1.0
262
+ ]
263
+ ]
264
+ },
265
+ {
266
+ "file_path": "RawDataHistogramMap_frame_0_1772193078644525.txt",
267
+ "transform_matrix": [
268
+ [
269
+ -0.935309165475436,
270
+ -0.1088701966463554,
271
+ -0.3363834973727127,
272
+ -0.2182330623672111
273
+ ],
274
+ [
275
+ -0.3450119386405475,
276
+ 0.06967265369752233,
277
+ 0.9352936415964633,
278
+ 0.29396371930573284
279
+ ],
280
+ [
281
+ 0.07850813443934304,
282
+ -0.9908450379513046,
283
+ 0.10272698919142399,
284
+ 0.002025165060662761
285
+ ],
286
+ [
287
+ 0.0,
288
+ 0.0,
289
+ 0.0,
290
+ 1.0
291
+ ]
292
+ ]
293
+ }
294
+ ],
295
+ "w": 256,
296
+ "h": 192,
297
+ "fl_x": 118.6514575329715,
298
+ "fl_y": 118.7964934010577,
299
+ "cx": 130.6802784645003,
300
+ "cy": 100.360570246814,
301
+ "camera_angle_y": 1.3593266161827677
302
+ }
codes/reconstruction/Reconstruction/physics_building2/json/three_views/test.json ADDED
@@ -0,0 +1,882 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772192169568029.txt",
6
+ "transform_matrix": [
7
+ [
8
+ 0.103315811330484,
9
+ 0.054377091782674684,
10
+ 0.9924041907841717,
11
+ 0.03746656722396702
12
+ ],
13
+ [
14
+ 0.9946334280837001,
15
+ -0.01115950656572342,
16
+ -0.10277912263989493,
17
+ -0.10410592023839083
18
+ ],
19
+ [
20
+ -0.005494257692634579,
21
+ -0.9976970907676648,
22
+ 0.05523822668390917,
23
+ 0.014272021033701406
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772192189563255.txt",
35
+ "transform_matrix": [
36
+ [
37
+ 0.23545180068404248,
38
+ 0.05425773930612523,
39
+ 0.9696306775122234,
40
+ 0.01700603564559032
41
+ ],
42
+ [
43
+ 0.9718001300742811,
44
+ -0.02640756431378386,
45
+ -0.23414243152317724,
46
+ -0.13358748177952293
47
+ ],
48
+ [
49
+ -0.012921174182551369,
50
+ -0.997416475649062,
51
+ 0.05894538668458907,
52
+ 0.015218502124512596
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772192231193236.txt",
64
+ "transform_matrix": [
65
+ [
66
+ 0.33458004312356243,
67
+ 0.053243101486651144,
68
+ 0.9401448344437766,
69
+ -0.005458176641248303
70
+ ],
71
+ [
72
+ 0.9422133387801237,
73
+ -0.03693549577622652,
74
+ -0.33271503915715567,
75
+ -0.1539473367801697
76
+ ],
77
+ [
78
+ -0.017035814281974735,
79
+ -0.9971368155472145,
80
+ 0.06252424018834674,
81
+ 0.016245498353925587
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ },
91
+ {
92
+ "file_path": "RawDataHistogramMap_frame_0_1772192269326459.txt",
93
+ "transform_matrix": [
94
+ [
95
+ 0.5326291316737375,
96
+ 0.04709016972132526,
97
+ 0.844393613418668,
98
+ -0.05696750575493574
99
+ ],
100
+ [
101
+ 0.8459812375585773,
102
+ -0.059020699303035704,
103
+ -0.5295284649427265,
104
+ -0.19159926897766025
105
+ ],
106
+ [
107
+ -0.024939001410254156,
108
+ -0.9963834405454515,
109
+ 0.0712735438782428,
110
+ 0.01900140461110974
111
+ ],
112
+ [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 1.0
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "file_path": "RawDataHistogramMap_frame_0_1772192289512244.txt",
122
+ "transform_matrix": [
123
+ [
124
+ 0.612601980608444,
125
+ 0.043184196042667496,
126
+ 0.7886094854145158,
127
+ -0.08058319486620799
128
+ ],
129
+ [
130
+ 0.7899031329709677,
131
+ -0.06852046218481761,
132
+ -0.6089225894616359,
133
+ -0.20544181677099504
134
+ ],
135
+ [
136
+ -0.027782258318264696,
137
+ -0.9959522875609668,
138
+ 0.07608710259556074,
139
+ 0.019794655572238876
140
+ ],
141
+ [
142
+ 0.0,
143
+ 0.0,
144
+ 0.0,
145
+ 1.0
146
+ ]
147
+ ]
148
+ },
149
+ {
150
+ "file_path": "RawDataHistogramMap_frame_0_1772192311141906.txt",
151
+ "transform_matrix": [
152
+ [
153
+ 0.7088601121272123,
154
+ 0.036119695404333116,
155
+ 0.7038870110238896,
156
+ -0.11080042379626606
157
+ ],
158
+ [
159
+ 0.7046359337829626,
160
+ -0.08112646692737127,
161
+ -0.7043733683413624,
162
+ -0.2161082477466749
163
+ ],
164
+ [
165
+ -0.03171028629338354,
166
+ -0.9952862661523939,
167
+ 0.08295855174180969,
168
+ 0.02196700573597272
169
+ ],
170
+ [
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 1.0
175
+ ]
176
+ ]
177
+ },
178
+ {
179
+ "file_path": "RawDataHistogramMap_frame_0_1772192331316667.txt",
180
+ "transform_matrix": [
181
+ [
182
+ 0.7731997905272099,
183
+ 0.03086367150147913,
184
+ 0.632928580734977,
185
+ -0.13633505727324155
186
+ ],
187
+ [
188
+ 0.6332940233076068,
189
+ -0.089794508281066,
190
+ -0.7680922933892708,
191
+ -0.22353007826121407
192
+ ],
193
+ [
194
+ -0.033177763208852094,
195
+ -0.9947186877141726,
196
+ 0.08897487369263056,
197
+ 0.023566512588100077
198
+ ],
199
+ [
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 1.0
204
+ ]
205
+ ]
206
+ },
207
+ {
208
+ "file_path": "RawDataHistogramMap_frame_0_1772192413119632.txt",
209
+ "transform_matrix": [
210
+ [
211
+ 0.8784397195648138,
212
+ 0.016600371036726194,
213
+ 0.47720143240960716,
214
+ -0.19250120768371456
215
+ ],
216
+ [
217
+ 0.4765557593912327,
218
+ -0.10397306689303254,
219
+ -0.8723016082680923,
220
+ -0.2367707114167347
221
+ ],
222
+ [
223
+ -0.03518902217929182,
224
+ -0.9936774711475004,
225
+ 0.09924507414939285,
226
+ 0.02664942847381442
227
+ ],
228
+ [
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 1.0
233
+ ]
234
+ ]
235
+ },
236
+ {
237
+ "file_path": "RawDataHistogramMap_frame_0_1772192438420386.txt",
238
+ "transform_matrix": [
239
+ [
240
+ 0.9186535130502979,
241
+ 0.008175235226147113,
242
+ 0.394679353307174,
243
+ -0.2180492375329396
244
+ ],
245
+ [
246
+ 0.3934289387827207,
247
+ -0.10973472796485081,
248
+ -0.9120789357615678,
249
+ -0.23855529132257408
250
+ ],
251
+ [
252
+ -0.0359081200934824,
253
+ -0.9931627976476309,
254
+ 0.10402456746785135,
255
+ 0.027889797365982478
256
+ ],
257
+ [
258
+ 0.0,
259
+ 0.0,
260
+ 0.0,
261
+ 1.0
262
+ ]
263
+ ]
264
+ },
265
+ {
266
+ "file_path": "RawDataHistogramMap_frame_0_1772192483721235.txt",
267
+ "transform_matrix": [
268
+ [
269
+ 0.9729034634314045,
270
+ -0.007610003869615804,
271
+ 0.2309106508638137,
272
+ -0.26926727159987385
273
+ ],
274
+ [
275
+ 0.2286043638641554,
276
+ -0.11789922913596948,
277
+ -0.9656086645012588,
278
+ -0.23602523488353747
279
+ ],
280
+ [
281
+ -0.03462507278611499,
282
+ -0.9922311964628212,
283
+ 0.11296488826866036,
284
+ 0.02966293492135638
285
+ ],
286
+ [
287
+ 0.0,
288
+ 0.0,
289
+ 0.0,
290
+ 1.0
291
+ ]
292
+ ]
293
+ },
294
+ {
295
+ "file_path": "RawDataHistogramMap_frame_0_1772192527179631.txt",
296
+ "transform_matrix": [
297
+ [
298
+ 0.9991850352802725,
299
+ -0.03464640361659324,
300
+ -0.020649865649861748,
301
+ -0.35689935541040185
302
+ ],
303
+ [
304
+ -0.02483540104753599,
305
+ -0.12440682970621435,
306
+ -0.9911548658939382,
307
+ -0.2115090401308341
308
+ ],
309
+ [
310
+ -0.031819304309933724,
311
+ -0.9908599573414375,
312
+ 0.12516589985778445,
313
+ 0.032405123509101214
314
+ ],
315
+ [
316
+ 0.0,
317
+ 0.0,
318
+ 0.0,
319
+ 1.0
320
+ ]
321
+ ]
322
+ },
323
+ {
324
+ "file_path": "RawDataHistogramMap_frame_0_1772192549001740.txt",
325
+ "transform_matrix": [
326
+ [
327
+ 0.9822150948864484,
328
+ -0.05139074439444979,
329
+ -0.1804409729757321,
330
+ -0.39864571805452054
331
+ ],
332
+ [
333
+ -0.18575785008391502,
334
+ -0.1260307089416094,
335
+ -0.9737266493319506,
336
+ -0.18409574652138178
337
+ ],
338
+ [
339
+ -0.027340967601899347,
340
+ -0.9899273404740627,
341
+ 0.1333354989346152,
342
+ 0.03297045375148561
343
+ ],
344
+ [
345
+ 0.0,
346
+ 0.0,
347
+ 0.0,
348
+ 1.0
349
+ ]
350
+ ]
351
+ },
352
+ {
353
+ "file_path": "RawDataHistogramMap_frame_0_1772192570827327.txt",
354
+ "transform_matrix": [
355
+ [
356
+ 0.9456861787914934,
357
+ -0.06567876691484918,
358
+ -0.3181248412045134,
359
+ -0.4237934141925582
360
+ ],
361
+ [
362
+ -0.324375484016176,
363
+ -0.12621229118479396,
364
+ -0.9367452859356713,
365
+ -0.15545124551896908
366
+ ],
367
+ [
368
+ -0.021405527604235506,
369
+ -0.9890589693007298,
370
+ 0.1406618011746577,
371
+ 0.032391042816485575
372
+ ],
373
+ [
374
+ 0.0,
375
+ 0.0,
376
+ 0.0,
377
+ 1.0
378
+ ]
379
+ ]
380
+ },
381
+ {
382
+ "file_path": "RawDataHistogramMap_frame_0_1772192610807128.txt",
383
+ "transform_matrix": [
384
+ [
385
+ 0.8142318592259358,
386
+ -0.09371898382764993,
387
+ -0.5724781658681758,
388
+ -0.45818834156835264
389
+ ],
390
+ [
391
+ -0.5804988067125818,
392
+ -0.11971455106221861,
393
+ -0.8047871507776216,
394
+ -0.09466490917766499
395
+ ],
396
+ [
397
+ -0.006900349755311177,
398
+ -0.9876062302142865,
399
+ 0.15187915976605582,
400
+ 0.03186196469317114
401
+ ],
402
+ [
403
+ 0.0,
404
+ 0.0,
405
+ 0.0,
406
+ 1.0
407
+ ]
408
+ ]
409
+ },
410
+ {
411
+ "file_path": "RawDataHistogramMap_frame_0_1772192636302156.txt",
412
+ "transform_matrix": [
413
+ [
414
+ 0.7484824888173589,
415
+ -0.1041174880794602,
416
+ -0.6544199313425995,
417
+ -0.4716157504822538
418
+ ],
419
+ [
420
+ -0.6631513503315014,
421
+ -0.1144457553149366,
422
+ -0.739108519016034,
423
+ -0.06687464195640336
424
+ ],
425
+ [
426
+ -0.00206167099234677,
427
+ -0.9871892449729233,
428
+ 0.1547062965857251,
429
+ 0.0315993053435434
430
+ ],
431
+ [
432
+ 0.0,
433
+ 0.0,
434
+ 0.0,
435
+ 1.0
436
+ ]
437
+ ]
438
+ },
439
+ {
440
+ "file_path": "RawDataHistogramMap_frame_0_1772192654274737.txt",
441
+ "transform_matrix": [
442
+ [
443
+ 0.6869971068641868,
444
+ -0.11444785015785697,
445
+ -0.7170317428738077,
446
+ -0.47829913592953527
447
+ ],
448
+ [
449
+ -0.7266592301163273,
450
+ -0.10977184523657174,
451
+ -0.6776426309910607,
452
+ -0.04414757009154646
453
+ ],
454
+ [
455
+ 0.0011569126966076994,
456
+ -0.9865762612243392,
457
+ 0.15857752677684586,
458
+ 0.03173811960256741
459
+ ],
460
+ [
461
+ 0.0,
462
+ 0.0,
463
+ 0.0,
464
+ 1.0
465
+ ]
466
+ ]
467
+ },
468
+ {
469
+ "file_path": "RawDataHistogramMap_frame_0_1772192677932556.txt",
470
+ "transform_matrix": [
471
+ [
472
+ 0.6422287926166674,
473
+ -0.11840214989972797,
474
+ -0.7567235732017475,
475
+ -0.4868942143025241
476
+ ],
477
+ [
478
+ -0.7665006732075692,
479
+ -0.10480118775976356,
480
+ -0.6331404508711503,
481
+ -0.026005072363535456
482
+ ],
483
+ [
484
+ 0.004346942199422357,
485
+ -0.9866501556109225,
486
+ 0.15806166788711126,
487
+ 0.031295730284066396
488
+ ],
489
+ [
490
+ 0.0,
491
+ 0.0,
492
+ 0.0,
493
+ 1.0
494
+ ]
495
+ ]
496
+ },
497
+ {
498
+ "file_path": "RawDataHistogramMap_frame_0_1772192728915992.txt",
499
+ "transform_matrix": [
500
+ [
501
+ 0.4403918731152336,
502
+ -0.13552509685597386,
503
+ -0.8868277499564007,
504
+ -0.5055122212014469
505
+ ],
506
+ [
507
+ -0.8976164822149669,
508
+ -0.0867401476880352,
509
+ -0.43181669423202074,
510
+ 0.014840743014518896
511
+ ],
512
+ [
513
+ 0.018429567278987265,
514
+ -0.9861997680617388,
515
+ 0.15984921680632805,
516
+ 0.029791945785591908
517
+ ],
518
+ [
519
+ 0.0,
520
+ 0.0,
521
+ 0.0,
522
+ 1.0
523
+ ]
524
+ ]
525
+ },
526
+ {
527
+ "file_path": "RawDataHistogramMap_frame_0_1772192752577950.txt",
528
+ "transform_matrix": [
529
+ [
530
+ 0.3414776166977553,
531
+ -0.14220488168470385,
532
+ -0.9283473679735715,
533
+ -0.499951854913202
534
+ ],
535
+ [
536
+ -0.9395610648636679,
537
+ -0.07777288949151911,
538
+ -0.3331640813411673,
539
+ 0.046440569079158146
540
+ ],
541
+ [
542
+ 0.024860464329479255,
543
+ -0.9860071180823043,
544
+ 0.16016787101175464,
545
+ 0.02791235918943408
546
+ ],
547
+ [
548
+ 0.0,
549
+ 0.0,
550
+ 0.0,
551
+ 1.0
552
+ ]
553
+ ]
554
+ },
555
+ {
556
+ "file_path": "RawDataHistogramMap_frame_0_1772192772566497.txt",
557
+ "transform_matrix": [
558
+ [
559
+ 0.2528081480137139,
560
+ -0.14655066493470725,
561
+ -0.9556091878889844,
562
+ -0.49270863103905616
563
+ ],
564
+ [
565
+ -0.9670189568999169,
566
+ -0.06994255194801932,
567
+ -0.24471171818075013,
568
+ 0.06646437891860307
569
+ ],
570
+ [
571
+ 0.031022206467008297,
572
+ -0.9859573163469024,
573
+ 0.15939931816348152,
574
+ 0.026157895781779003
575
+ ],
576
+ [
577
+ 0.0,
578
+ 0.0,
579
+ 0.0,
580
+ 1.0
581
+ ]
582
+ ]
583
+ },
584
+ {
585
+ "file_path": "RawDataHistogramMap_frame_0_1772192816030815.txt",
586
+ "transform_matrix": [
587
+ [
588
+ 0.0693271775578638,
589
+ -0.15329789086416484,
590
+ -0.9849780139564468,
591
+ -0.4727573994497204
592
+ ],
593
+ [
594
+ -0.9967664438017562,
595
+ -0.050852588330663515,
596
+ -0.06213583816179743,
597
+ 0.10789248676151028
598
+ ],
599
+ [
600
+ 0.040625102617372746,
601
+ -0.9861007344792236,
602
+ 0.15632765993946005,
603
+ 0.023874073414301165
604
+ ],
605
+ [
606
+ 0.0,
607
+ 0.0,
608
+ 0.0,
609
+ 1.0
610
+ ]
611
+ ]
612
+ },
613
+ {
614
+ "file_path": "RawDataHistogramMap_frame_0_1772192837663421.txt",
615
+ "transform_matrix": [
616
+ [
617
+ -0.04146437316944663,
618
+ -0.15576839256647637,
619
+ -0.9861543555954541,
620
+ -0.45935779941867766
621
+ ],
622
+ [
623
+ -0.9980610608857707,
624
+ -0.039398793895998485,
625
+ 0.048124511024958204,
626
+ 0.12503857452290593
627
+ ],
628
+ [
629
+ 0.04642008726021446,
630
+ -0.9862377150264484,
631
+ 0.1538327208448385,
632
+ 0.02187130615680795
633
+ ],
634
+ [
635
+ 0.0,
636
+ 0.0,
637
+ 0.0,
638
+ 1.0
639
+ ]
640
+ ]
641
+ },
642
+ {
643
+ "file_path": "RawDataHistogramMap_frame_0_1772192857661161.txt",
644
+ "transform_matrix": [
645
+ [
646
+ -0.12231004832408253,
647
+ -0.15669598696915893,
648
+ -0.9792804669290288,
649
+ -0.45151930091163467
650
+ ],
651
+ [
652
+ -0.9912228779177842,
653
+ -0.03059511162253585,
654
+ 0.12850912651177712,
655
+ 0.13700672260172883
656
+ ],
657
+ [
658
+ 0.05017427997845386,
659
+ -0.9864031601917939,
660
+ 0.1515785575807045,
661
+ 0.020638117228880638
662
+ ],
663
+ [
664
+ 0.0,
665
+ 0.0,
666
+ 0.0,
667
+ 1.0
668
+ ]
669
+ ]
670
+ },
671
+ {
672
+ "file_path": "RawDataHistogramMap_frame_0_1772192901125481.txt",
673
+ "transform_matrix": [
674
+ [
675
+ -0.3590886896189549,
676
+ -0.1552233481694285,
677
+ -0.9195856644513886,
678
+ -0.411017324789544
679
+ ],
680
+ [
681
+ -0.9313849995819198,
682
+ -0.0035433511495614914,
683
+ 0.36374181974665903,
684
+ 0.18563540039131943
685
+ ],
686
+ [
687
+ 0.05981049691766734,
688
+ -0.9871038671130298,
689
+ 0.14330032074873142,
690
+ 0.017077060801283624
691
+ ],
692
+ [
693
+ 0.0,
694
+ 0.0,
695
+ 0.0,
696
+ 1.0
697
+ ]
698
+ ]
699
+ },
700
+ {
701
+ "file_path": "RawDataHistogramMap_frame_0_1772192920932053.txt",
702
+ "transform_matrix": [
703
+ [
704
+ -0.46613212624577993,
705
+ -0.15281594292417375,
706
+ -0.8707347974861773,
707
+ -0.38476548409984357
708
+ ],
709
+ [
710
+ -0.8823445689024153,
711
+ 0.008299350943704159,
712
+ 0.4701731038977321,
713
+ 0.21193586468904257
714
+ ],
715
+ [
716
+ 0.06472173213077519,
717
+ -0.9874509081396919,
718
+ 0.13870491138269478,
719
+ 0.014304683849518173
720
+ ],
721
+ [
722
+ 0.0,
723
+ 0.0,
724
+ 0.0,
725
+ 1.0
726
+ ]
727
+ ]
728
+ },
729
+ {
730
+ "file_path": "RawDataHistogramMap_frame_0_1772192940921709.txt",
731
+ "transform_matrix": [
732
+ [
733
+ -0.5517276218640855,
734
+ -0.15005618354114147,
735
+ -0.819770140711322,
736
+ -0.3629942194889516
737
+ ],
738
+ [
739
+ -0.8312475913393658,
740
+ 0.01879579969768194,
741
+ 0.555161879450194,
742
+ 0.22905358428429917
743
+ ],
744
+ [
745
+ 0.06800053797369826,
746
+ -0.9877300984168633,
747
+ 0.1351040030023869,
748
+ 0.012748261058277446
749
+ ],
750
+ [
751
+ 0.0,
752
+ 0.0,
753
+ 0.0,
754
+ 1.0
755
+ ]
756
+ ]
757
+ },
758
+ {
759
+ "file_path": "RawDataHistogramMap_frame_0_1772192964388397.txt",
760
+ "transform_matrix": [
761
+ [
762
+ -0.615826554452921,
763
+ -0.157348565516931,
764
+ -0.7713987834604976,
765
+ -0.3427838834695409
766
+ ],
767
+ [
768
+ -0.7841700081322909,
769
+ 0.02748316174155309,
770
+ 0.6194651711959905,
771
+ 0.235754442427778
772
+ ],
773
+ [
774
+ 0.07638751976897672,
775
+ -0.9863908922806652,
776
+ 0.14031288670178843,
777
+ 0.013719264159362476
778
+ ],
779
+ [
780
+ 0.0,
781
+ 0.0,
782
+ 0.0,
783
+ 1.0
784
+ ]
785
+ ]
786
+ },
787
+ {
788
+ "file_path": "RawDataHistogramMap_frame_0_1772193017030340.txt",
789
+ "transform_matrix": [
790
+ [
791
+ -0.781275715519543,
792
+ -0.13118981414889447,
793
+ -0.609758665603808,
794
+ -0.3181144318488139
795
+ ],
796
+ [
797
+ -0.6197798388692365,
798
+ 0.04717815998820138,
799
+ 0.7827589618323291,
800
+ 0.28065164072972026
801
+ ],
802
+ [
803
+ 0.07403517860220592,
804
+ -0.9894666955019252,
805
+ 0.1181679525761638,
806
+ 0.008718626082269754
807
+ ],
808
+ [
809
+ 0.0,
810
+ 0.0,
811
+ 0.0,
812
+ 1.0
813
+ ]
814
+ ]
815
+ },
816
+ {
817
+ "file_path": "RawDataHistogramMap_frame_0_1772193037024623.txt",
818
+ "transform_matrix": [
819
+ [
820
+ -0.853069554060402,
821
+ -0.12256361078256559,
822
+ -0.5067907704091675,
823
+ -0.2807609416313793
824
+ ],
825
+ [
826
+ -0.5162242509509429,
827
+ 0.056665140697229215,
828
+ 0.8539246434015908,
829
+ 0.2899407374528719
830
+ ],
831
+ [
832
+ 0.07605825836381487,
833
+ -0.9900748005910951,
834
+ 0.11160961447542707,
835
+ 0.00686824662818857
836
+ ],
837
+ [
838
+ 0.0,
839
+ 0.0,
840
+ 0.0,
841
+ 1.0
842
+ ]
843
+ ]
844
+ },
845
+ {
846
+ "file_path": "RawDataHistogramMap_frame_0_1772193058655948.txt",
847
+ "transform_matrix": [
848
+ [
849
+ -0.8973927175113439,
850
+ -0.11502210625560853,
851
+ -0.42562950467077854,
852
+ -0.2529320303412646
853
+ ],
854
+ [
855
+ -0.4344997142697693,
856
+ 0.062490610755408224,
857
+ 0.8978154613943792,
858
+ 0.29245436409041425
859
+ ],
860
+ [
861
+ 0.076787426425855,
862
+ -0.990628954888627,
863
+ 0.10605569130750699,
864
+ 0.005200515598544427
865
+ ],
866
+ [
867
+ 0.0,
868
+ 0.0,
869
+ 0.0,
870
+ 1.0
871
+ ]
872
+ ]
873
+ }
874
+ ],
875
+ "w": 256,
876
+ "h": 192,
877
+ "fl_x": 118.6514575329715,
878
+ "fl_y": 118.7964934010577,
879
+ "cx": 130.6802784645003,
880
+ "cy": 100.360570246814,
881
+ "camera_angle_y": 1.3593266161827677
882
+ }
codes/reconstruction/Reconstruction/physics_building2/json/three_views/train.json ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "camera_angle_x": 1.6465637264171746,
3
+ "frames": [
4
+ {
5
+ "file_path": "RawDataHistogramMap_frame_0_1772192387623288.txt",
6
+ "transform_matrix": [
7
+ [
8
+ 0.8236778973784353,
9
+ 0.02522765037846582,
10
+ 0.56606519877993,
11
+ -0.16344966986693135
12
+ ],
13
+ [
14
+ 0.5660493204803964,
15
+ -0.09609236660540234,
16
+ -0.818121050376394,
17
+ -0.2307747585429511
18
+ ],
19
+ [
20
+ -0.0338066288458407,
21
+ -0.9942890476920421,
22
+ 0.09342925283370357,
23
+ 0.025019718273770055
24
+ ],
25
+ [
26
+ 0.0,
27
+ 0.0,
28
+ 0.0,
29
+ 1.0
30
+ ]
31
+ ]
32
+ },
33
+ {
34
+ "file_path": "RawDataHistogramMap_frame_0_1772192708933968.txt",
35
+ "transform_matrix": [
36
+ [
37
+ 0.5398447133494395,
38
+ -0.12714679219654418,
39
+ -0.8314595508877263,
40
+ -0.5084074263005505
41
+ ],
42
+ [
43
+ -0.8416686861325425,
44
+ -0.09644585455081013,
45
+ -0.5308945810034896,
46
+ -0.014039524001758813
47
+ ],
48
+ [
49
+ 0.012708589716600596,
50
+ -0.9864141006686208,
51
+ 0.15908125823775734,
52
+ 0.030939486879926748
53
+ ],
54
+ [
55
+ 0.0,
56
+ 0.0,
57
+ 0.0,
58
+ 1.0
59
+ ]
60
+ ]
61
+ },
62
+ {
63
+ "file_path": "RawDataHistogramMap_frame_0_1772192986218825.txt",
64
+ "transform_matrix": [
65
+ [
66
+ -0.6622274368401254,
67
+ -0.15829001028726322,
68
+ -0.7318102087090619,
69
+ -0.3256140338374331
70
+ ],
71
+ [
72
+ -0.7449545119476008,
73
+ 0.034018025246355374,
74
+ 0.6657397983443846,
75
+ 0.24158286751999766
76
+ ],
77
+ [
78
+ 0.0806076734875806,
79
+ -0.9860364771271858,
80
+ 0.14044652702498467,
81
+ 0.012984624823873213
82
+ ],
83
+ [
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 1.0
88
+ ]
89
+ ]
90
+ }
91
+ ],
92
+ "w": 256,
93
+ "h": 192,
94
+ "fl_x": 118.6514575329715,
95
+ "fl_y": 118.7964934010577,
96
+ "cx": 130.6802784645003,
97
+ "cy": 100.360570246814,
98
+ "camera_angle_y": 1.3593266161827677
99
+ }
codes/reconstruction/Reconstruction/physics_building2/sp_pose_results.csv ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sp_seq,sp_file,sp_timestamp,used_in_final_merge,livox_index,livox_csv_name,matched_livox_index,matched_pose_csv_name,matched_livox_used_in_final_merge,match_mode,livox_pose_00,livox_pose_01,livox_pose_02,livox_pose_03,livox_pose_10,livox_pose_11,livox_pose_12,livox_pose_13,livox_pose_20,livox_pose_21,livox_pose_22,livox_pose_23,livox_pose_30,livox_pose_31,livox_pose_32,livox_pose_33,sp_pose_00,sp_pose_01,sp_pose_02,sp_pose_03,sp_pose_10,sp_pose_11,sp_pose_12,sp_pose_13,sp_pose_20,sp_pose_21,sp_pose_22,sp_pose_23,sp_pose_30,sp_pose_31,sp_pose_32,sp_pose_33
2
+ 0,RawDataHistogramMap_frame_0_1772192149578339.txt,1772192149578339,True,1,1.csv,1,1.csv,True,pair_force(1),0.9999999999999999,-1.4305592385737082e-19,-1.0842021724855044e-19,0.0,7.379774552953092e-20,0.9999999999999998,0.0,-8.673617379884035e-19,-1.0842021724855044e-19,-1.3552527156068805e-20,0.9999999999999999,0.0,0.0,0.0,0.0,1.0,-1.4305592385737082e-19,0.05225645579499999,0.9978728127629999,0.04939854175299999,0.9999999999999998,3.856408627034591e-21,7.364076390712113e-20,-0.08171214699999998,-1.3552527156068805e-20,-0.9978728127629999,0.05225645579499999,0.013621837803999998,0.0,0.0,0.0,1.0
3
+ 1,RawDataHistogramMap_frame_0_1772192169568029.txt,1772192169568029,True,2,2.csv,2,2.csv,True,pair_force(2),0.9946456939321827,0.103315811330484,-0.0024055501014943444,-0.0031925548410108463,-0.10330057364342171,0.9946334280837001,0.005773666374951304,-0.017808037598362164,0.002989151569756033,-0.005494257692634579,0.9999804388613298,5.3842367498556885e-05,0.0,0.0,0.0,1.0,0.103315811330484,0.054377091782674684,0.9924041907841717,0.03746656722396702,0.9946334280837001,-0.01115950656572342,-0.10277912263989493,-0.10410592023839083,-0.005494257692634579,-0.9976970907676648,0.05523822668390917,0.014272021033701406,0.0,0.0,0.0,1.0
4
+ 2,RawDataHistogramMap_frame_0_1772192189563255.txt,1772192189563255,True,3,3.csv,3,3.csv,True,pair_force(3),0.9718798033033837,0.23545180068404248,-0.0034781439902531854,-0.01171675853458595,-0.23538190401193684,0.9718001300742811,0.014137413176714856,-0.04274466143230119,0.006708740171617124,-0.012921174182551369,0.9998940124148418,0.00021088920051195916,0.0,0.0,0.0,1.0,0.23545180068404248,0.05425773930612523,0.9696306775122234,0.01700603564559032,0.9718001300742811,-0.02640756431378386,-0.23414243152317724,-0.13358748177952293,-0.012921174182551369,-0.997416475649062,0.05894538668458907,0.015218502124512596,0.0,0.0,0.0,1.0
5
+ 3,RawDataHistogramMap_frame_0_1772192231193236.txt,1772192231193236,True,4,4.csv,4,4.csv,True,pair_force(4),0.9423588150690385,0.33458004312356243,-0.004007293988594803,-0.024615487538019353,-0.33444547032773964,0.9422133387801237,0.01950004107871062,-0.060701569803066395,0.010300050433493935,-0.017035814281974735,0.9998018253598133,0.0007255196204607019,0.0,0.0,0.0,1.0,0.33458004312356243,0.053243101486651144,0.9401448344437766,-0.005458176641248303,0.9422133387801237,-0.03693549577622652,-0.33271503915715567,-0.1539473367801697,-0.017035814281974735,-0.9971368155472145,0.06252424018834674,0.016245498353925587,0.0,0.0,0.0,1.0
6
+ 4,RawDataHistogramMap_frame_0_1772192251170492.txt,1772192251170492,True,5,5.csv,5,5.csv,True,pair_force(5),0.9019020748790297,0.43192347763479866,-0.003841457635337449,-0.03936917153073689,-0.4317055564596149,0.9016690609269071,0.024964316315191616,-0.07792594355475385,0.014246397818278139,-0.020856990076528817,0.9996809621645042,0.0014675329990376145,0.0,0.0,0.0,1.0,0.43192347763479866,0.05096349204301887,0.8997828193352139,-0.030162246637793197,0.9016690609269071,-0.04747061486773325,-0.4294826912177948,-0.17258882349460433,-0.020856990076528817,-0.9968099873228872,0.06645587707111836,0.017493045637956076,0.0,0.0,0.0,1.0
7
+ 5,RawDataHistogramMap_frame_0_1772192269326459.txt,1772192269326459,True,6,6.csv,6,6.csv,True,pair_force(6),0.8463438869468064,0.5326291316737375,-0.0028693414321941508,-0.05521430398427343,-0.5322948870653222,0.8459812375585773,0.03127137513727763,-0.09660370813145515,0.019083454401397748,-0.024939001410254156,0.999506812371365,0.0024057707606871337,0.0,0.0,0.0,1.0,0.5326291316737375,0.04709016972132526,0.844393613418668,-0.05696750575493574,0.8459812375585773,-0.059020699303035704,-0.5295284649427265,-0.19159926897766025,-0.024939001410254156,-0.9963834405454515,0.0712735438782428,0.01900140461110974,0.0,0.0,0.0,1.0
8
+ 6,RawDataHistogramMap_frame_0_1772192289512244.txt,1772192289512244,True,7,7.csv,7,7.csv,True,pair_force(7),0.7903893085944163,0.612601980608444,-0.001885262383343014,-0.06954457029756186,-0.6121378397725673,0.7899031329709677,0.03661018493844092,-0.11115711721852027,0.023916646466805386,-0.027782258318264696,0.999327844175533,0.002730378331082534,0.0,0.0,0.0,1.0,0.612601980608444,0.043184196042667496,0.7886094854145158,-0.08058319486620799,0.7899031329709677,-0.06852046218481761,-0.6089225894616359,-0.20544181677099504,-0.027782258318264696,-0.9959522875609668,0.07608710259556074,0.019794655572238876,0.0,0.0,0.0,1.0
9
+ 7,RawDataHistogramMap_frame_0_1772192311141906.txt,1772192311141906,True,8,8.csv,8,8.csv,True,pair_force(8),0.7053487027678891,0.7088601121272123,0.0007409039433297646,-0.08773123192913915,-0.7081902364878943,0.7046359337829626,0.044213004478727606,-0.12414963015354176,0.030818767770320582,-0.03171028629338354,0.9990218522616552,0.004244974340317572,0.0,0.0,0.0,1.0,0.7088601121272123,0.036119695404333116,0.7038870110238896,-0.11080042379626606,0.7046359337829626,-0.08112646692737127,-0.7043733683413624,-0.2161082477466749,-0.03171028629338354,-0.9952862661523939,0.08295855174180969,0.02196700573597272,0.0,0.0,0.0,1.0
10
+ 8,RawDataHistogramMap_frame_0_1772192331316667.txt,1772192331316667,True,9,9.csv,9,9.csv,True,pair_force(9),0.6341584071063024,0.7731997905272099,0.0022800493583938807,-0.10451280134331477,-0.772324006975995,0.6332940233076068,0.049540975882713875,-0.13430542336715973,0.03686113054351137,-0.033177763208852094,0.9987694894636654,0.005429524238372796,0.0,0.0,0.0,1.0,0.7731997905272099,0.03086367150147913,0.632928580734977,-0.13633505727324155,0.6332940233076068,-0.089794508281066,-0.7680922933892708,-0.22353007826121407,-0.033177763208852094,-0.9947186877141726,0.08897487369263056,0.023566512588100077,0.0,0.0,0.0,1.0
11
+ 9,RawDataHistogramMap_frame_0_1772192387623288.txt,1772192387623288,True,10,10.csv,10,10.csv,True,pair_force(10),0.567040778374831,0.8236778973784353,0.004413278861107598,-0.12421628497072627,-0.8226519009114468,0.5660493204803964,0.05321669578682365,-0.14460875818172084,0.041335282590698845,-0.0338066288458407,0.9985732353008585,0.0066130007183317656,0.0,0.0,0.0,1.0,0.8236778973784353,0.02522765037846582,0.56606519877993,-0.16344966986693135,0.5660493204803964,-0.09609236660540234,-0.818121050376394,-0.2307747585429511,-0.0338066288458407,-0.9942890476920421,0.09342925283370357,0.025019718273770055,0.0,0.0,0.0,1.0
12
+ 10,RawDataHistogramMap_frame_0_1772192413119632.txt,1772192413119632,True,11,11.csv,11,11.csv,True,pair_force(11),0.4777796130917142,0.8784397195648138,0.008384533667558999,-0.14443784111172062,-0.8772119068583982,0.4765557593912327,0.058257005217403304,-0.15529089562050657,0.04717956951677731,-0.03518902217929182,0.9982664077981751,0.007845232893842317,0.0,0.0,0.0,1.0,0.8784397195648138,0.016600371036726194,0.47720143240960716,-0.19250120768371456,0.4765557593912327,-0.10397306689303254,-0.8723016082680923,-0.2367707114167347,-0.03518902217929182,-0.9936774711475004,0.09924507414939285,0.02664942847381442,0.0,0.0,0.0,1.0
13
+ 11,RawDataHistogramMap_frame_0_1772192438420386.txt,1772192438420386,True,12,12.csv,12,12.csv,True,pair_force(12),0.3948668523647004,0.9186535130502979,0.012485666339442349,-0.1626600110476713,-0.9172665520228067,0.3934289387827207,0.061933372817039714,-0.16193938433314584,0.051983088055505756,-0.0359081200934824,0.9980021871056002,0.008793155111860667,0.0,0.0,0.0,1.0,0.9186535130502979,0.008175235226147113,0.394679353307174,-0.2180492375329396,0.3934289387827207,-0.10973472796485081,-0.9120789357615678,-0.23855529132257408,-0.0359081200934824,-0.9931627976476309,0.10402456746785135,0.027889797365982478,0.0,0.0,0.0,1.0
14
+ 12,RawDataHistogramMap_frame_0_1772192483721235.txt,1772192483721235,True,13,13.csv,13,13.csv,True,pair_force(13),0.23037174941926705,0.9729034634314045,0.01969029996433739,-0.20141748733398346,-0.9711909781643906,0.2286043638641554,0.06729137206483574,-0.17028669556951337,0.06096672044328872,-0.03462507278611499,0.9975390535377265,0.01023366360816379,0.0,0.0,0.0,1.0,0.9729034634314045,-0.007610003869615804,0.2309106508638137,-0.26926727159987385,0.2286043638641554,-0.11789922913596948,-0.9656086645012588,-0.23602523488353747,-0.03462507278611499,-0.9922311964628212,0.11296488826866036,0.02966293492135638,0.0,0.0,0.0,1.0
15
+ 13,RawDataHistogramMap_frame_0_1772192507379129.txt,1772192507379129,True,14,14.csv,14,14.csv,True,pair_force(14),0.10781583041871945,0.9938343984021715,0.025863782857799455,-0.2374557149947571,-0.9918708405919855,0.10576137817993876,0.07075850810204966,-0.17085397238935823,0.06758685001144886,-0.0332824193542674,0.9971581109670885,0.011804940752986975,0.0,0.0,0.0,1.0,0.9938343984021715,-0.020174692572726773,0.10893803558590627,-0.3129858003949916,0.10576137817993876,-0.12243964624245039,-0.9860633567483709,-0.22752907388206725,-0.0332824193542674,-0.9915051197202217,0.11955102887309284,0.031446336580559536,0.0,0.0,0.0,1.0
16
+ 14,RawDataHistogramMap_frame_0_1772192527179631.txt,1772192527179631,True,15,15.csv,15,15.csv,True,pair_force(15),-0.02245054267548265,0.9991850352802725,0.033544573414135276,-0.2746017155958994,-0.9970622034435533,-0.02483540104753599,0.07245802453210393,-0.16527198664266435,0.07323206673215876,-0.031819304309933724,0.9968072011554506,0.012609196515764396,0.0,0.0,0.0,1.0,0.9991850352802725,-0.03464640361659324,-0.020649865649861748,-0.35689935541040185,-0.02483540104753599,-0.12440682970621435,-0.9911548658939382,-0.2115090401308341,-0.031819304309933724,-0.9908599573414375,0.12516589985778445,0.032405123509101214,0.0,0.0,0.0,1.0
17
+ 15,RawDataHistogramMap_frame_0_1772192549001740.txt,1772192549001740,True,16,16.csv,16,16.csv,True,pair_force(16),-0.18302066836612307,0.9822150948864484,0.04191589588716271,-0.30991683124277847,-0.9797295879441639,-0.18575785008391502,0.07499303726989602,-0.1518987493072532,0.08144549992221561,-0.027340967601899347,0.9963027160622457,0.01314160165729087,0.0,0.0,0.0,1.0,0.9822150948864484,-0.05139074439444979,-0.1804409729757321,-0.39864571805452054,-0.18575785008391502,-0.1260307089416094,-0.9737266493319506,-0.18409574652138178,-0.027340967601899347,-0.9899273404740627,0.1333354989346152,0.03297045375148561,0.0,0.0,0.0,1.0
18
+ 16,RawDataHistogramMap_frame_0_1772192570827327.txt,1772192570827327,True,17,17.csv,17,17.csv,True,pair_force(17),-0.3213684644942213,0.9456861787914934,0.048989399581638234,-0.33131155827908054,-0.9427802494792175,-0.324375484016176,0.07710996408493115,-0.13643507265812932,0.08881278748318458,-0.021405527604235506,0.995818302787937,0.01268985360475548,0.0,0.0,0.0,1.0,0.9456861787914934,-0.06567876691484918,-0.3181248412045134,-0.4237934141925582,-0.324375484016176,-0.12621229118479396,-0.9367452859356713,-0.15545124551896908,-0.021405527604235506,-0.9890589693007298,0.1406618011746577,0.032391042816485575,0.0,0.0,0.0,1.0
19
+ 17,RawDataHistogramMap_frame_0_1772192590998869.txt,1772192590998869,True,18,18.csv,18,18.csv,True,pair_force(18),-0.4363933661660811,0.8980613281578492,0.055196746585265584,-0.33784227621961715,-0.89483615302019,-0.4395962650954227,0.07761045652606066,-0.12636515337678156,0.09396323331103318,-0.01552335600049572,0.9954546379439968,0.012749080390076356,0.0,0.0,0.0,1.0,0.8980613281578492,-0.07788370341869455,-0.4325806894193004,-0.432030110271061,-0.4395962650954227,-0.1242063304275481,-0.8888770215855955,-0.13359120275902278,-0.01552335600049572,-0.9884269339952766,0.14578228720403488,0.03221909546079682,0.0,0.0,0.0,1.0
20
+ 18,RawDataHistogramMap_frame_0_1772192610807128.txt,1772192610807128,True,19,19.csv,19,19.csv,True,pair_force(19),-0.5770343996538313,0.8142318592259358,0.06370071457698107,-0.3640187711129491,-0.8105624113583672,-0.5804988067125818,0.07752233676933964,-0.1031141085818484,0.10009934519791579,-0.006900349755311177,0.9949535196501379,0.012800265149213425,0.0,0.0,0.0,1.0,0.8142318592259358,-0.09371898382764993,-0.5724781658681758,-0.45818834156835264,-0.5804988067125818,-0.11971455106221861,-0.8047871507776216,-0.09466490917766499,-0.006900349755311177,-0.9876062302142865,0.15187915976605582,0.03186196469317114,0.0,0.0,0.0,1.0
21
+ 19,RawDataHistogramMap_frame_0_1772192636302156.txt,1772192636302156,True,20,20.csv,20,20.csv,True,pair_force(20),-0.6594704782956399,0.7484824888173589,0.06980438517953713,-0.3788296233850495,-0.7446480304000622,-0.6631513503315014,0.07569410396336897,-0.08530872856384095,0.10294658361417362,-0.00206167099234677,0.9946847492722942,0.012795996350658069,0.0,0.0,0.0,1.0,0.7484824888173589,-0.1041174880794602,-0.6544199313425995,-0.4716157504822538,-0.6631513503315014,-0.1144457553149366,-0.739108519016034,-0.06687464195640336,-0.00206167099234677,-0.9871892449729233,0.1547062965857251,0.0315993053435434,0.0,0.0,0.0,1.0
22
+ 20,RawDataHistogramMap_frame_0_1772192654274737.txt,1772192654274737,True,21,21.csv,21,21.csv,True,pair_force(21),-0.7225848086501269,0.6869971068641868,0.07685160680362871,-0.38751535162754314,-0.6829749615300076,-0.7266592301163273,0.07423991655325511,-0.07079777287019591,0.10684753731905337,0.0011569126966076994,0.9942747433792447,0.01301069160251251,0.0,0.0,0.0,1.0,0.6869971068641868,-0.11444785015785697,-0.7170317428738077,-0.47829913592953527,-0.7266592301163273,-0.10977184523657174,-0.6776426309910607,-0.04414757009154646,0.0011569126966076994,-0.9865762612243392,0.15857752677684586,0.03173811960256741,0.0,0.0,0.0,1.0
23
+ 21,RawDataHistogramMap_frame_0_1772192677932556.txt,1772192677932556,True,22,22.csv,22,22.csv,True,pair_force(22),-0.7624594187265046,0.6422287926166674,0.07872618833260377,-0.397824332730063,-0.6382397391069229,-0.7665006732075692,0.07160135052550012,-0.05808471763097987,0.10632812525372233,0.004346942199422357,0.994321594793928,0.012853986439904385,0.0,0.0,0.0,1.0,0.6422287926166674,-0.11840214989972797,-0.7567235732017475,-0.4868942143025241,-0.7665006732075692,-0.10480118775976356,-0.6331404508711503,-0.026005072363535456,0.004346942199422357,-0.9866501556109225,0.15806166788711126,0.031295730284066396,0.0,0.0,0.0,1.0
24
+ 22,RawDataHistogramMap_frame_0_1772192708933968.txt,1772192708933968,True,23,23.csv,23,23.csv,True,pair_force(23),-0.8376075414515117,0.5398447133494395,0.08355412600355808,-0.4240571253694234,-0.5356188525894287,-0.8416686861325425,0.06860224146998659,-0.05728977776128014,0.10735944883586263,0.012708589716600596,0.9941390448488936,0.013132531991559768,0.0,0.0,0.0,1.0,0.5398447133494395,-0.12714679219654418,-0.8314595508877263,-0.5084074263005505,-0.8416686861325425,-0.09644585455081013,-0.5308945810034896,-0.014039524001758813,0.012708589716600596,-0.9864141006686208,0.15908125823775734,0.030939486879926748,0.0,0.0,0.0,1.0
25
+ 23,RawDataHistogramMap_frame_0_1772192728915992.txt,1772192728915992,True,24,24.csv,24,24.csv,True,pair_force(24),-0.8933805079044603,0.4403918731152336,0.08902958042374264,-0.42660790791110514,-0.4360933467648892,-0.8976164822149669,0.06408778170160546,-0.03783604489903991,0.10813815702040526,0.018429567278987265,0.9939650346194953,0.012416367547139935,0.0,0.0,0.0,1.0,0.4403918731152336,-0.13552509685597386,-0.8868277499564007,-0.5055122212014469,-0.8976164822149669,-0.0867401476880352,-0.43181669423202074,0.014840743014518896,0.018429567278987265,-0.9861997680617388,0.15984921680632805,0.029791945785591908,0.0,0.0,0.0,1.0
26
+ 24,RawDataHistogramMap_frame_0_1772192752577950.txt,1772192752577950,True,25,25.csv,25,25.csv,True,pair_force(25),-0.935224433425851,0.3414776166977553,0.09353232819576687,-0.4271243446814859,-0.33703150324903075,-0.9395610648636679,0.060289063767440525,-0.014505365831129899,0.10846669968703829,0.024860464329479255,0.9937891790376472,0.011048429303691328,0.0,0.0,0.0,1.0,0.3414776166977553,-0.14220488168470385,-0.9283473679735715,-0.499951854913202,-0.9395610648636679,-0.07777288949151911,-0.3331640813411673,0.046440569079158146,0.024860464329479255,-0.9860071180823043,0.16016787101175464,0.02791235918943408,0.0,0.0,0.0,1.0
27
+ 25,RawDataHistogramMap_frame_0_1772192772566497.txt,1772192772566497,True,26,26.csv,26,26.csv,True,pair_force(26),-0.962697091631268,0.2528081480137139,0.09644869134716187,-0.42580911043926206,-0.24822319934533932,-0.9670189568999169,0.05709273423973632,-0.0010686601280661644,0.10770122130908182,0.031022206467008297,0.9936991846803774,0.009836494479506623,0.0,0.0,0.0,1.0,0.2528081480137139,-0.14655066493470725,-0.9556091878889844,-0.49270863103905616,-0.9670189568999169,-0.06994255194801932,-0.24471171818075013,0.06646437891860307,0.031022206467008297,-0.9859573163469024,0.15939931816348152,0.026157895781779003,0.0,0.0,0.0,1.0
28
+ 26,RawDataHistogramMap_frame_0_1772192792370282.txt,1772192792370282,True,27,27.csv,27,27.csv,True,pair_force(27),-0.9823035538182969,0.15848607342006243,0.09980928157161058,-0.42180601149427316,-0.15387684493230136,-0.9867023888572626,0.05234799343873498,0.01840713913594607,0.10677848448836014,0.03606328264692821,0.9936286000790703,0.009003131847909386,0.0,0.0,0.0,1.0,0.15848607342006243,-0.15092867077909455,-0.9749983309253774,-0.4819210260955373,-0.9867023888572626,-0.06027769800028842,-0.15081399946660334,0.09214449390628099,0.03606328264692821,-0.9859351008481408,0.15847485567564998,0.024866072646974036,0.0,0.0,0.0,1.0
29
+ 27,RawDataHistogramMap_frame_0_1772192816030815.txt,1772192816030815,True,28,28.csv,28,28.csv,True,pair_force(28),-0.9924011546300006,0.0693271775578638,0.10165476250972622,-0.41945408174021326,-0.06475941646508987,-0.9967664438017562,0.04756968036378356,0.02899559484876102,0.10462392779928313,0.040625102617372746,0.9936817572891112,0.0084895965789203,0.0,0.0,0.0,1.0,0.0693271775578638,-0.15329789086416484,-0.9849780139564468,-0.4727573994497204,-0.9967664438017562,-0.050852588330663515,-0.06213583816179743,0.10789248676151028,0.040625102617372746,-0.9861007344792236,0.15632765993946005,0.023874073414301165,0.0,0.0,0.0,1.0
30
+ 28,RawDataHistogramMap_frame_0_1772192837663421.txt,1772192837663421,True,29,29.csv,29,29.csv,True,pair_force(29),-0.9937060759552203,-0.04146437316944663,0.10406219470753558,-0.41507582962891293,0.04603322949636105,-0.9980610608857707,0.041893442514507016,0.040640222312546645,0.10212333911413055,0.04642008726021446,0.9936880793825253,0.007083789274465229,0.0,0.0,0.0,1.0,-0.04146437316944663,-0.15576839256647637,-0.9861543555954541,-0.45935779941867766,-0.9980610608857707,-0.039398793895998485,0.048124511024958204,0.12503857452290593,0.04642008726021446,-0.9862377150264484,0.1538327208448385,0.02187130615680795,0.0,0.0,0.0,1.0
31
+ 29,RawDataHistogramMap_frame_0_1772192857661161.txt,1772192857661161,True,30,30.csv,30,30.csv,True,pair_force(30),-0.9868849200305492,-0.12231004832408253,0.1053489757675141,-0.41419788829305665,0.12682963991564247,-0.9912228779177842,0.03730212770424881,0.0492384502953256,0.09986188990386925,0.05017427997845386,0.9937354499933408,0.006268430512255201,0.0,0.0,0.0,1.0,-0.12231004832408253,-0.15669598696915893,-0.9792804669290288,-0.45151930091163467,-0.9912228779177842,-0.03059511162253585,0.12850912651177712,0.13700672260172883,0.05017427997845386,-0.9864031601917939,0.1515785575807045,0.020638117228880638,0.0,0.0,0.0,1.0
32
+ 30,RawDataHistogramMap_frame_0_1772192881135611.txt,1772192881135611,True,31,31.csv,31,31.csv,True,pair_force(31),-0.96531814049273,-0.23855767407468723,0.10607131457534102,-0.4072713890894829,0.24258915926377733,-0.9697617540976503,0.026695319761200736,0.06670261738135538,0.09649553069111486,0.051501227456578244,0.994000118776203,0.005656981014437503,0.0,0.0,0.0,1.0,-0.23855767407468723,-0.15628978576553448,-0.9577218171034054,-0.43401875158277003,-0.9697617540976503,-0.013961684140303283,0.24346812949739144,0.1582911224157903,0.051501227456578244,-0.9868431799759905,0.14823318989685458,0.019755552042774245,0.0,0.0,0.0,1.0
33
+ 31,RawDataHistogramMap_frame_0_1772192901125481.txt,1772192901125481,True,32,32.csv,32,32.csv,True,pair_force(32),-0.9271493997223152,-0.3590886896189549,0.10700141859946423,-0.39601696021723354,0.36333485629432055,-0.9313849995819198,0.02257797057713738,0.09127416686976617,0.09155202234872759,0.05981049691766734,0.9940024807123565,0.0039016279499605377,0.0,0.0,0.0,1.0,-0.3590886896189549,-0.1552233481694285,-0.9195856644513886,-0.411017324789544,-0.9313849995819198,-0.0035433511495614914,0.36374181974665903,0.18563540039131943,0.05981049691766734,-0.9871038671130298,0.14330032074873142,0.017077060801283624,0.0,0.0,0.0,1.0
34
+ 32,RawDataHistogramMap_frame_0_1772192920932053.txt,1772192920932053,True,33,33.csv,33,33.csv,True,pair_force(33),-0.8782022890704788,-0.46613212624577993,0.10715213648343933,-0.3809318375003626,0.4703211229763606,-0.8823445689024153,0.016312664119481214,0.11638220947478449,0.08694124886170634,0.06472173213077519,0.9941088052302709,0.0017568757231547572,0.0,0.0,0.0,1.0,-0.46613212624577993,-0.15281594292417375,-0.8707347974861773,-0.38476548409984357,-0.8823445689024153,0.008299350943704159,0.4701731038977321,0.21193586468904257,0.06472173213077519,-0.9874509081396919,0.13870491138269478,0.014304683849518173,0.0,0.0,0.0,1.0
35
+ 33,RawDataHistogramMap_frame_0_1772192940921709.txt,1772192940921709,True,34,34.csv,34,34.csv,True,pair_force(34),-0.8271242351149326,-0.5517276218640855,0.10706134203223187,-0.36867670920366863,0.5558074820866168,-0.8312475913393658,0.010270576860521935,0.1335345756647479,0.08332792174342459,0.06800053797369826,0.9941993684836096,0.0006456306495071238,0.0,0.0,0.0,1.0,-0.5517276218640855,-0.15005618354114147,-0.819770140711322,-0.3629942194889516,-0.8312475913393658,0.01879579969768194,0.555161879450194,0.22905358428429917,0.06800053797369826,-0.9877300984168633,0.1351040030023869,0.012748261058277446,0.0,0.0,0.0,1.0
36
+ 34,RawDataHistogramMap_frame_0_1772192964388397.txt,1772192964388397,True,35,35.csv,35,35.csv,True,pair_force(35),-0.7791639898320717,-0.615826554452921,0.1168808443655998,-0.3562069604336906,0.6205262745601549,-0.7841700081322909,0.004953879924785312,0.14095765341875177,0.08860372187142718,0.07638751976897672,0.993133589852883,0.002055853070673381,0.0,0.0,0.0,1.0,-0.615826554452921,-0.157348565516931,-0.7713987834604976,-0.3427838834695409,-0.7841700081322909,0.02748316174155309,0.6194651711959905,0.235754442427778,0.07638751976897672,-0.9863908922806652,0.14031288670178843,0.013719264159362476,0.0,0.0,0.0,1.0
37
+ 35,RawDataHistogramMap_frame_0_1772192986218825.txt,1772192986218825,True,36,36.csv,36,36.csv,True,pair_force(36),-0.7396487959385106,-0.6622274368401254,0.11989362186069724,-0.3448216590459425,0.6671147288155945,-0.7449545119476008,0.0008448231872916825,0.1477450321015533,0.0887558294649623,0.0806076734875806,0.9927863847328412,0.0016632672347210104,0.0,0.0,0.0,1.0,-0.6622274368401254,-0.15829001028726322,-0.7318102087090619,-0.3256140338374331,-0.7449545119476008,0.034018025246355374,0.6657397983443846,0.24158286751999766,0.0806076734875806,-0.9860364771271858,0.14044652702498467,0.012984624823873213,0.0,0.0,0.0,1.0
38
+ 36,RawDataHistogramMap_frame_0_1772193017030340.txt,1772193017030340,True,37,37.csv,37,37.csv,True,pair_force(37),-0.6162532674419586,-0.781275715519543,0.09919761441962371,-0.35286338901489056,0.7847513759183855,-0.6197798388692365,-0.006182986773006923,0.19132674946233852,0.06631129889633589,0.07403517860220592,0.995048543523389,-0.002061871854823891,0.0,0.0,0.0,1.0,-0.781275715519543,-0.13118981414889447,-0.609758665603808,-0.3181144318488139,-0.6197798388692365,0.04717815998820138,0.7827589618323291,0.28065164072972026,0.07403517860220592,-0.9894666955019252,0.1181679525761638,0.008718626082269754,0.0,0.0,0.0,1.0
39
+ 37,RawDataHistogramMap_frame_0_1772193037024623.txt,1772193037024623,True,38,38.csv,38,38.csv,True,pair_force(38),-0.5128966190611874,-0.853069554060402,0.09596558805529211,-0.3264379690575754,0.8563702278304592,-0.5162242509509429,-0.011939665646830733,0.2056181453075696,0.0597251290598817,0.07605825836381487,0.9953130413560557,-0.0034251968789494242,0.0,0.0,0.0,1.0,-0.853069554060402,-0.12256361078256559,-0.5067907704091675,-0.2807609416313793,-0.5162242509509429,0.056665140697229215,0.8539246434015908,0.2899407374528719,0.07605825836381487,-0.9900748005910951,0.11160961447542707,0.00686824662818857,0.0,0.0,0.0,1.0
40
+ 38,RawDataHistogramMap_frame_0_1772193058655948.txt,1772193058655948,True,39,39.csv,39,39.csv,True,pair_force(39),-0.4313900886543928,-0.8973927175113439,0.09267632906179138,-0.30621229660780647,0.9005391978830233,-0.4344997142697693,-0.01546451989892459,0.21267579158148708,0.05414558603402296,0.076787426425855,0.9955761882728634,-0.004761309276214274,0.0,0.0,0.0,1.0,-0.8973927175113439,-0.11502210625560853,-0.42562950467077854,-0.2529320303412646,-0.4344997142697693,0.062490610755408224,0.8978154613943792,0.29245436409041425,0.076787426425855,-0.990628954888627,0.10605569130750699,0.005200515598544427,0.0,0.0,0.0,1.0
41
+ 39,RawDataHistogramMap_frame_0_1772193078644525.txt,1772193078644525,True,40,40.csv,40,40.csv,True,pair_force(40),-0.3418764660795616,-0.935309165475436,0.09119894143356336,-0.27901328069109244,0.9383704329854891,-0.3450119386405475,-0.020680732436972864,0.21969963162809142,0.050807602183004556,0.07850813443934304,0.9956179289201581,-0.0076317341176456365,0.0,0.0,0.0,1.0,-0.935309165475436,-0.1088701966463554,-0.3363834973727127,-0.2182330623672111,-0.3450119386405475,0.06967265369752233,0.9352936415964633,0.29396371930573284,0.07850813443934304,-0.9908450379513046,0.10272698919142399,0.002025165060662761,0.0,0.0,0.0,1.0
codes/reconstruction/config/IRF_global.csv ADDED
@@ -0,0 +1,502 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ t_ps,irf,irf_std
2
+ -1.875000000000000000e+05,1.819323145871034091e-07,4.214091311919881012e-07
3
+ -1.867500000000000000e+05,-1.826940935423844464e-07,4.235333670144294901e-07
4
+ -1.860000000000000000e+05,1.834606152288399372e-07,4.256733987032263046e-07
5
+ -1.852500000000000000e+05,-1.842319296036020694e-07,4.278294408733125881e-07
6
+ -1.845000000000000000e+05,1.850080874263158474e-07,4.300017120311662354e-07
7
+ -1.837500000000000000e+05,-1.857891399929540641e-07,4.321904347467294168e-07
8
+ -1.830000000000000000e+05,1.865751394435072612e-07,4.343958356823572531e-07
9
+ -1.822500000000000000e+05,-1.873661387451924912e-07,4.366181456724565939e-07
10
+ -1.815000000000000000e+05,1.881621914381565835e-07,4.388575999005052100e-07
11
+ -1.807500000000000000e+05,-1.889633520061575614e-07,4.411144379508588699e-07
12
+ -1.800000000000000000e+05,1.897696755677601993e-07,4.433889039237238856e-07
13
+ -1.792500000000000000e+05,-1.905812180631071055e-07,4.456812465165836608e-07
14
+ -1.785000000000000000e+05,1.913980363311275486e-07,4.479917191808730519e-07
15
+ -1.777500000000000000e+05,-1.922201879837601851e-07,4.503205802001291739e-07
16
+ -1.770000000000000000e+05,1.930477314587019306e-07,4.526680928256253047e-07
17
+ -1.762500000000000000e+05,-1.938807261125642460e-07,4.550345253902725170e-07
18
+ -1.755000000000000000e+05,1.947192320586532523e-07,4.574201514259518994e-07
19
+ -1.747500000000000000e+05,-1.955633104369168543e-07,4.598252498114476437e-07
20
+ -1.740000000000000000e+05,1.964130231878297188e-07,4.622501048885871198e-07
21
+ -1.732500000000000000e+05,-1.972684331913950873e-07,4.646950065883567763e-07
22
+ -1.725000000000000000e+05,1.981296043660677420e-07,4.671602505844300913e-07
23
+ -1.717500000000000000e+05,-1.989966015028602736e-07,4.696461384384753334e-07
24
+ -1.710000000000000000e+05,1.998694902891130230e-07,4.721529777625374952e-07
25
+ -1.702500000000000000e+05,-2.007483375482807709e-07,4.746810823034804372e-07
26
+ -1.695000000000000000e+05,2.016332111786589561e-07,4.772307721900880507e-07
27
+ -1.687500000000000000e+05,-2.025241798675633136e-07,4.798023740536956195e-07
28
+ -1.680000000000000000e+05,2.034213135179677174e-07,4.823962211532658289e-07
29
+ -1.672500000000000000e+05,-2.043246830825908605e-07,4.850126536359286880e-07
30
+ -1.665000000000000000e+05,2.052343606413350250e-07,4.876520186391697026e-07
31
+ -1.657500000000000000e+05,-2.061504194054944325e-07,4.903146704827894578e-07
32
+ -1.650000000000000000e+05,2.070729335961655706e-07,4.930009709225801390e-07
33
+ -1.642500000000000000e+05,-2.080019787249363887e-07,4.957112892586791509e-07
34
+ -1.635000000000000000e+05,2.089376313694461778e-07,4.984460025831597073e-07
35
+ -1.627500000000000000e+05,-2.098799694782862501e-07,5.012054959798833841e-07
36
+ -1.620000000000000000e+05,2.108290721527773851e-07,5.039901627032710815e-07
37
+ -1.612500000000000000e+05,-2.117850197047957896e-07,5.068004044805944720e-07
38
+ -1.605000000000000000e+05,2.127478937661689907e-07,5.096366316486711297e-07
39
+ -1.597500000000000000e+05,-2.137177773008665728e-07,5.124992634213293716e-07
40
+ -1.590000000000000000e+05,2.146947546193256479e-07,5.153887281734521805e-07
41
+ -1.582500000000000000e+05,-2.156789112978616008e-07,5.183054636130173250e-07
42
+ -1.575000000000000000e+05,2.166703344205304057e-07,5.212499171001171790e-07
43
+ -1.567500000000000000e+05,-2.176691124527160529e-07,5.242225458733002188e-07
44
+ -1.560000000000000000e+05,2.186753353102281350e-07,5.272238173492092456e-07
45
+ -1.552500000000000000e+05,-2.196890943557977772e-07,5.302542094189757898e-07
46
+ -1.545000000000000000e+05,2.207104824791837937e-07,5.333142107089929683e-07
47
+ -1.537500000000000000e+05,-2.217395941734620859e-07,5.364043208692602163e-07
48
+ -1.530000000000000000e+05,2.227765254084057312e-07,5.395250509878748377e-07
49
+ -1.522500000000000000e+05,-2.238213738534048909e-07,5.426769237810869272e-07
50
+ -1.515000000000000000e+05,2.248742387797954940e-07,5.458604739685904478e-07
51
+ -1.507500000000000000e+05,-2.259352211449498619e-07,5.490762487173995168e-07
52
+ -1.500000000000000000e+05,2.270044235848069636e-07,5.523248079320495174e-07
53
+ -1.492500000000000000e+05,-2.280819505356244815e-07,5.556067245328011523e-07
54
+ -1.485000000000000000e+05,2.291679082657122651e-07,5.589225849722458387e-07
55
+ -1.477500000000000000e+05,-2.302624047922869949e-07,5.622729896116927390e-07
56
+ -1.470000000000000000e+05,2.313655499731301205e-07,5.656585530961704693e-07
57
+ -1.462500000000000000e+05,-2.324774556637726647e-07,5.690799047899999229e-07
58
+ -1.455000000000000000e+05,2.335982357042129524e-07,5.725376892036409594e-07
59
+ -1.447500000000000000e+05,-2.347280058525172482e-07,5.760325665018159291e-07
60
+ -1.440000000000000000e+05,2.358668839304280818e-07,5.795652129194353549e-07
61
+ -1.432500000000000000e+05,-2.370149897898657092e-07,5.831363213072272287e-07
62
+ -1.425000000000000000e+05,2.381724455793768586e-07,5.867466015940327704e-07
63
+ -1.417500000000000000e+05,-2.393393754855221776e-07,5.903967813222645529e-07
64
+ -1.410000000000000000e+05,2.405159059567259447e-07,5.940876062227003069e-07
65
+ -1.402500000000000000e+05,-2.417021658269505032e-07,5.978198407659262513e-07
66
+ -1.395000000000000000e+05,2.428982861321995695e-07,6.015942687330595287e-07
67
+ -1.387500000000000000e+05,-2.441044003546085915e-07,6.054116938566760135e-07
68
+ -1.380000000000000000e+05,2.453206445282694973e-07,6.092729404078373906e-07
69
+ -1.372500000000000000e+05,-2.465471570154865725e-07,6.131788539314888659e-07
70
+ -1.365000000000000000e+05,2.477840788462146958e-07,6.171303018522960935e-07
71
+ -1.357500000000000000e+05,-2.490315537468804822e-07,6.211281742045369608e-07
72
+ -1.350000000000000000e+05,2.502897279646912389e-07,6.251733844085607032e-07
73
+ -1.342500000000000000e+05,-2.515587506306188641e-07,6.292668699547054930e-07
74
+ -1.335000000000000000e+05,2.528387736968564696e-07,6.334095932773469738e-07
75
+ -1.327500000000000000e+05,-2.541299519050729095e-07,6.376025425616161445e-07
76
+ -1.320000000000000000e+05,2.554324430901320607e-07,6.418467325348520168e-07
77
+ -1.312500000000000000e+05,-2.567464080688730556e-07,6.461432054501991432e-07
78
+ -1.305000000000000000e+05,2.580720106775316684e-07,6.504930319653187493e-07
79
+ -1.297500000000000000e+05,-2.594094180909101119e-07,6.548973121153349290e-07
80
+ -1.290000000000000000e+05,2.607588006873418273e-07,6.593571763010312437e-07
81
+ -1.282500000000000000e+05,-2.621203321326691895e-07,6.638737863590198884e-07
82
+ -1.275000000000000000e+05,2.634941896168894774e-07,6.684483366669654216e-07
83
+ -1.267500000000000000e+05,-2.648805538136539408e-07,6.730820551719655612e-07
84
+ -1.260000000000000000e+05,2.662796090284094161e-07,6.777762047233273514e-07
85
+ -1.252500000000000000e+05,-2.676915432609934255e-07,6.825320841930425678e-07
86
+ -1.245000000000000000e+05,2.691165482616375604e-07,6.873510297403788974e-07
87
+ -1.237500000000000000e+05,-2.705548197369096196e-07,6.922344162578747638e-07
88
+ -1.230000000000000000e+05,2.720065573864036352e-07,6.971836586480419137e-07
89
+ -1.222500000000000000e+05,-2.734719650819437216e-07,7.022002133001670423e-07
90
+ -1.215000000000000000e+05,2.749512507764569363e-07,7.072855796783666442e-07
91
+ -1.207500000000000000e+05,-2.764446268157350845e-07,7.124413017609780528e-07
92
+ -1.200000000000000000e+05,2.779523100290861445e-07,7.176689698242487262e-07
93
+ -1.192500000000000000e+05,-2.794745217806036363e-07,7.229702221035281579e-07
94
+ -1.185000000000000000e+05,2.810114881362872282e-07,7.283467464565705932e-07
95
+ -1.177500000000000000e+05,-2.825634399733987666e-07,7.338002825613886984e-07
96
+ -1.170000000000000000e+05,2.841306131234465725e-07,7.393326235294495135e-07
97
+ -1.162500000000000000e+05,-2.857132484960251526e-07,7.449456181140191543e-07
98
+ -1.155000000000000000e+05,2.873115922784204720e-07,7.506411729114106474e-07
99
+ -1.147500000000000000e+05,-2.889258960001119895e-07,7.564212544181693556e-07
100
+ -1.140000000000000000e+05,2.905564167612327431e-07,7.622878914990189835e-07
101
+ -1.132500000000000000e+05,-2.922034173265537964e-07,7.682431778461508014e-07
102
+ -1.125000000000000000e+05,2.938671662851624961e-07,7.742892744371874733e-07
103
+ -1.117500000000000000e+05,-2.955479383719064987e-07,7.804284122972117026e-07
104
+ -1.110000000000000000e+05,2.972460143789228738e-07,7.866628952828277927e-07
105
+ -1.102500000000000000e+05,-2.989616815924620999e-07,7.929951030237729237e-07
106
+ -1.095000000000000000e+05,3.006952338817965079e-07,7.994274939856972342e-07
107
+ -1.087500000000000000e+05,-3.024469717626204320e-07,8.059626087500858801e-07
108
+ -1.080000000000000000e+05,3.042172028591984267e-07,8.126030733567917583e-07
109
+ -1.072500000000000000e+05,-3.060062419264440807e-07,8.193516028386289271e-07
110
+ -1.065000000000000000e+05,3.078144111645406644e-07,8.262110050378851672e-07
111
+ -1.057500000000000000e+05,-3.096420403524672445e-07,8.331841844280713243e-07
112
+ -1.050000000000000000e+05,3.114894672173955231e-07,8.402741462597292572e-07
113
+ -1.042500000000000000e+05,-3.133570375338475906e-07,8.474840008776718433e-07
114
+ -1.035000000000000000e+05,3.152451055253083919e-07,8.548169682617392029e-07
115
+ -1.027500000000000000e+05,-3.171540340149592105e-07,8.622763827797197360e-07
116
+ -1.020000000000000000e+05,3.190841947501181267e-07,8.698656982073526116e-07
117
+ -1.012500000000000000e+05,-3.210359687047599531e-07,8.775884930060029736e-07
118
+ -1.005000000000000000e+05,3.230097464141073772e-07,8.854484758469175436e-07
119
+ -9.975000000000000000e+04,-3.250059281197830804e-07,8.934494914997589181e-07
120
+ -9.900000000000000000e+04,3.270249242883929015e-07,9.015955269478461171e-07
121
+ -9.825000000000000000e+04,-3.290671560012152553e-07,9.098907178711175454e-07
122
+ -9.750000000000000000e+04,3.311330549328430910e-07,9.183393554850060819e-07
123
+ -9.675000000000000000e+04,-3.332230641830515087e-07,9.269458937585300776e-07
124
+ -9.600000000000000000e+04,3.353376384145095408e-07,9.357149570024522011e-07
125
+ -9.525000000000000000e+04,-3.374772442050058854e-07,9.446513478516252896e-07
126
+ -9.450000000000000000e+04,3.396423607349809444e-07,9.537600558074012546e-07
127
+ -9.375000000000000000e+04,-3.418334799373082414e-07,9.630462660875368766e-07
128
+ -9.300000000000000000e+04,3.440511071434329652e-07,9.725153691474791947e-07
129
+ -9.225000000000000000e+04,-3.462957614391610656e-07,9.821729706454701152e-07
130
+ -9.150000000000000000e+04,3.485679762912413408e-07,9.920249019716602952e-07
131
+ -9.075000000000000000e+04,-3.508683001158293653e-07,1.002077231455659678e-06
132
+ -9.000000000000000000e+04,3.531972965406621869e-07,1.012336276223440213e-06
133
+ -8.925000000000000000e+04,-3.555555453009652866e-07,1.022808614676459239e-06
134
+ -8.850000000000000000e+04,3.579436427671752275e-07,1.033501099757409026e-06
135
+ -8.775000000000000000e+04,-3.603622025288278940e-07,1.044420873106977847e-06
136
+ -8.700000000000000000e+04,3.628118561066627433e-07,1.055575379909468645e-06
137
+ -8.625000000000000000e+04,-3.652932535563438447e-07,1.066972384784550182e-06
138
+ -8.550000000000000000e+04,3.678070644394717684e-07,1.078619988591576932e-06
139
+ -8.475000000000000000e+04,-3.703539784370975436e-07,1.090526646267772388e-06
140
+ -8.400000000000000000e+04,3.729347061826107374e-07,1.102701185886809831e-06
141
+ -8.325000000000000000e+04,-3.755499801787335122e-07,1.115152828799861171e-06
142
+ -8.250000000000000000e+04,3.782005556339518435e-07,1.127891211172305794e-06
143
+ -8.175000000000000000e+04,-3.808872116589476525e-07,1.140926406789228268e-06
144
+ -8.100000000000000000e+04,3.836107519048530075e-07,1.154268951514709555e-06
145
+ -8.025000000000000000e+04,-3.863720059996371612e-07,1.167929869247693508e-06
146
+ -7.950000000000000000e+04,3.891718305490498313e-07,1.181920699569273142e-06
147
+ -7.875000000000000000e+04,-3.920111101902231429e-07,1.196253527422228948e-06
148
+ -7.800000000000000000e+04,3.948907592613517096e-07,1.210941014546353868e-06
149
+ -7.725000000000000000e+04,-3.978117226581453806e-07,1.225996433349851154e-06
150
+ -7.650000000000000000e+04,4.007749777175142077e-07,1.241433702916324638e-06
151
+ -7.575000000000000000e+04,-4.037815355266960347e-07,1.257267427580350465e-06
152
+ -7.500000000000000000e+04,4.068324425037523726e-07,1.273512938282731435e-06
153
+ -7.425000000000000000e+04,-4.099287822756708374e-07,1.290186336835064091e-06
154
+ -7.350000000000000000e+04,4.130716773804820921e-07,1.307304543352094261e-06
155
+ -7.275000000000000000e+04,-4.162622913832415348e-07,1.324885347184479444e-06
156
+ -7.200000000000000000e+04,4.195018307828450936e-07,1.342947461590510071e-06
157
+ -7.125000000000000000e+04,-4.227915473747941752e-07,1.361510582429721480e-06
158
+ -7.050000000000000000e+04,4.261327406234245125e-07,1.380595451361678705e-06
159
+ -6.975000000000000000e+04,-4.295267602447975593e-07,1.400223923778503976e-06
160
+ -6.900000000000000000e+04,4.329750088173880118e-07,1.420419041958656139e-06
161
+ -6.825000000000000000e+04,-4.364789448856241744e-07,1.441205114001312885e-06
162
+ -6.750000000000000000e+04,4.400400860228012362e-07,1.462607798873460268e-06
163
+ -6.675000000000000000e+04,-4.436600122612864047e-07,1.484654198227394708e-06
164
+ -6.600000000000000000e+04,4.473403698561315065e-07,1.507372955670907272e-06
165
+ -6.525000000000000000e+04,-4.510828750253286540e-07,1.530794364171004636e-06
166
+ -6.450000000000000000e+04,4.548893183543722542e-07,1.554950482094992507e-06
167
+ -6.375000000000000000e+04,-4.587615694112186541e-07,1.579875259167166654e-06
168
+ -6.300000000000000000e+04,4.627015817158468122e-07,1.605604672993611507e-06
169
+ -6.225000000000000000e+04,-4.667113981197715346e-07,1.632176877193254268e-06
170
+ -6.150000000000000000e+04,4.707931567611778028e-07,1.659632362385534706e-06
171
+ -6.075000000000000000e+04,-4.749490974840540850e-07,1.688014131336791618e-06
172
+ -6.000000000000000000e+04,4.791815685994972599e-07,1.717367889765238732e-06
173
+ -5.925000000000000000e+04,-4.834930347550095322e-07,1.747742254011921118e-06
174
+ -5.850000000000000000e+04,4.878860852369404694e-07,1.779188977812111242e-06
175
+ -5.775000000000000000e+04,-4.923634427862137466e-07,1.811763200242889536e-06
176
+ -5.700000000000000000e+04,4.969279738926045863e-07,1.845523716583782947e-06
177
+ -5.625000000000000000e+04,-5.015826996965517396e-07,1.880533274925122221e-06
178
+ -5.550000000000000000e+04,5.063308078775753382e-07,1.916858901485622740e-06
179
+ -5.475000000000000000e+04,-5.111756662701853025e-07,1.954572257698563258e-06
180
+ -5.400000000000000000e+04,5.161208373874732207e-07,1.993750032492607131e-06
181
+ -5.325000000000000000e+04,-5.211700946465938477e-07,2.034474374151011327e-06
182
+ -5.250000000000000000e+04,5.263274406587236065e-07,2.076833366291224622e-06
183
+ -5.175000000000000000e+04,-5.315971270733886051e-07,2.120921552884184376e-06
184
+ -5.100000000000000000e+04,5.369836772705010096e-07,2.166840518742968139e-06
185
+ -5.025000000000000000e+04,-5.424919108155506145e-07,2.214699531847980610e-06
186
+ -4.950000000000000000e+04,5.481269719181246303e-07,2.264616255328924578e-06
187
+ -4.875000000000000000e+04,-5.538943605833301822e-07,2.316717538051951996e-06
188
+ -4.800000000000000000e+04,5.597999675213368240e-07,2.371140293629977783e-06
189
+ -4.725000000000000000e+04,-5.658501140205040649e-07,2.428032479586592402e-06
190
+ -4.650000000000000000e+04,5.720515969490340938e-07,2.487554189882780979e-06
191
+ -4.575000000000000000e+04,-5.784117389647054715e-07,2.549878876288138969e-06
192
+ -4.500000000000000000e+04,5.849384458505825640e-07,2.615194715958425785e-06
193
+ -4.425000000000000000e+04,-5.916402725971553194e-07,2.683706145992111036e-06
194
+ -4.350000000000000000e+04,5.985264970221509159e-07,2.755635588701935205e-06
195
+ -4.275000000000000000e+04,-6.056072053471156440e-07,2.831225395106645259e-06
196
+ -4.200000000000000000e+04,6.128933897638646244e-07,2.910740039131015257e-06
197
+ -4.125000000000000000e+04,-6.203970603594520358e-07,2.994468600170571580e-06
198
+ -4.050000000000000000e+04,6.281313741073043125e-07,3.082727578632021282e-06
199
+ -3.975000000000000000e+04,-6.361107841306559784e-07,3.175864096358708864e-06
200
+ -3.900000000000000000e+04,6.443512121801690681e-07,3.274259544036825531e-06
201
+ -3.825000000000000000e+04,-6.528702483320816975e-07,3.378333748717928967e-06
202
+ -3.750000000000000000e+04,6.616873842668378556e-07,3.488549748461328633e-06
203
+ -3.675000000000000000e+04,-6.708242839548555758e-07,3.605419278477253596e-06
204
+ -3.600000000000000000e+04,6.803050999272418235e-07,3.729509093587418501e-06
205
+ -3.525000000000000000e+04,-6.901568429308409412e-07,3.861448277717165533e-06
206
+ -3.450000000000000000e+04,7.004098131488468959e-07,4.001936723132557352e-06
207
+ -3.375000000000000000e+04,-7.110981044837880155e-07,4.151755001764650026e-06
208
+ -3.300000000000000000e+04,7.222601903937335888e-07,4.311775902025070473e-06
209
+ -3.225000000000000000e+04,-7.339396032451521489e-07,4.482977968576925806e-06
210
+ -3.150000000000000000e+04,7.461857115198169127e-07,4.666461466735937696e-06
211
+ -3.075000000000000000e+04,-7.590545944992988168e-07,4.863467303636960918e-06
212
+ -3.000000000000000000e+04,7.726099923199343549e-07,5.075399588598352888e-06
213
+ -2.925000000000000000e+04,-7.869242699958570422e-07,5.303852724688838723e-06
214
+ -2.850000000000000000e+04,8.020792494805911634e-07,5.550644230954116960e-06
215
+ -2.775000000000000000e+04,-8.181665821029934516e-07,5.817854971086903092e-06
216
+ -2.700000000000000000e+04,8.352869477117735912e-07,6.107879261620677417e-06
217
+ -2.625000000000000000e+04,-8.535464823401833740e-07,6.423488803278266133e-06
218
+ -2.550000000000000000e+04,8.730467281458153869e-07,6.767917410224010864e-06
219
+ -2.475000000000000000e+04,-8.938589198253842487e-07,7.144980635953761157e-06
220
+ -2.400000000000000000e+04,9.159576348303270731e-07,7.559263787739828878e-06
221
+ -2.325000000000000000e+04,-9.390362789902473932e-07,8.016474590951471022e-06
222
+ -2.250000000000000000e+04,9.619125334351668747e-07,8.524309992597595820e-06
223
+ -2.175000000000000000e+04,-9.800386775054893029e-07,9.095590095297539766e-06
224
+ -2.100000000000000000e+04,9.679344245818805260e-07,9.769118188468480055e-06
225
+ -2.025000000000000000e+04,4.233304545598609571e-07,1.217521344715648266e-05
226
+ -1.950000000000000000e+04,2.568676542469717355e-06,9.590286142081847336e-06
227
+ -1.875000000000000000e+04,2.423223057518267314e-06,1.365441017523624791e-05
228
+ -1.800000000000000000e+04,1.076164711111216825e-05,1.008734912248119948e-05
229
+ -1.725000000000000000e+04,4.269024245790321425e-07,1.575979899727190174e-05
230
+ -1.650000000000000000e+04,3.663766494005607971e-06,1.560728555692962900e-05
231
+ -1.575000000000000000e+04,7.745186032432398591e-06,1.746064788901268149e-05
232
+ -1.500000000000000000e+04,4.797427769580023862e-06,1.670461427419060361e-05
233
+ -1.425000000000000000e+04,7.561019747322958271e-06,1.673342124646921554e-05
234
+ -1.350000000000000000e+04,1.106485988413895607e-05,2.583793612241848758e-05
235
+ -1.275000000000000000e+04,3.841469812444396425e-06,2.668506228200225467e-05
236
+ -1.200000000000000000e+04,1.394562623648724366e-05,2.960518750781087184e-05
237
+ -1.125000000000000000e+04,5.880472168641655949e-06,3.558093602970944543e-05
238
+ -1.050000000000000000e+04,6.518682631768687632e-06,3.827420668048210904e-05
239
+ -9.750000000000000000e+03,6.795181327688135807e-06,4.678598047897985314e-05
240
+ -9.000000000000000000e+03,1.071858201609052087e-05,5.286770222864300598e-05
241
+ -8.250000000000000000e+03,3.958846110568549565e-06,6.285667035295102823e-05
242
+ -7.500000000000000000e+03,1.012893922161310319e-05,7.898886399772981628e-05
243
+ -6.750000000000000000e+03,-2.736525725846347285e-06,1.044267835165250496e-04
244
+ -6.000000000000000000e+03,2.026844767583023716e-05,1.286925758450507547e-04
245
+ -5.250000000000000000e+03,-4.090164022135912753e-06,1.934764729439597813e-04
246
+ -4.500000000000000000e+03,7.531118833023253733e-05,2.377795247749584613e-04
247
+ -3.750000000000000000e+03,-6.718132182844633680e-07,4.973753853916034915e-04
248
+ -3.000000000000000000e+03,3.339936134807379290e-04,5.920561768123449144e-04
249
+ -2.250000000000000000e+03,-1.650726528613831944e-04,2.039855169014565938e-03
250
+ -1.500000000000000000e+03,3.785271452626492051e-03,6.641094094924387091e-03
251
+ -7.500000000000000000e+02,2.606670108416847542e-01,9.497090454109749502e-03
252
+ 0.000000000000000000e+00,4.808879930150953830e-01,1.834193617780075641e-02
253
+ 7.500000000000000000e+02,2.396120759109845455e-01,6.390091513564097152e-03
254
+ 1.500000000000000000e+03,1.496414346997052870e-02,1.103063328521809716e-02
255
+ 2.250000000000000000e+03,-2.872858295719874096e-04,4.454061992235510380e-04
256
+ 3.000000000000000000e+03,0.000000000000000000e+00,0.000000000000000000e+00
257
+ 3.750000000000000000e+03,0.000000000000000000e+00,0.000000000000000000e+00
258
+ 4.500000000000000000e+03,0.000000000000000000e+00,0.000000000000000000e+00
259
+ 5.250000000000000000e+03,0.000000000000000000e+00,0.000000000000000000e+00
260
+ 6.000000000000000000e+03,0.000000000000000000e+00,0.000000000000000000e+00
261
+ 6.750000000000000000e+03,0.000000000000000000e+00,0.000000000000000000e+00
262
+ 7.500000000000000000e+03,0.000000000000000000e+00,0.000000000000000000e+00
263
+ 8.250000000000000000e+03,0.000000000000000000e+00,0.000000000000000000e+00
264
+ 9.000000000000000000e+03,0.000000000000000000e+00,0.000000000000000000e+00
265
+ 9.750000000000000000e+03,0.000000000000000000e+00,0.000000000000000000e+00
266
+ 1.050000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
267
+ 1.125000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
268
+ 1.200000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
269
+ 1.275000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
270
+ 1.350000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
271
+ 1.425000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
272
+ 1.500000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
273
+ 1.575000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
274
+ 1.650000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
275
+ 1.725000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
276
+ 1.800000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
277
+ 1.875000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
278
+ 1.950000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
279
+ 2.025000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
280
+ 2.100000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
281
+ 2.175000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
282
+ 2.250000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
283
+ 2.325000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
284
+ 2.400000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
285
+ 2.475000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
286
+ 2.550000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
287
+ 2.625000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
288
+ 2.700000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
289
+ 2.775000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
290
+ 2.850000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
291
+ 2.925000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
292
+ 3.000000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
293
+ 3.075000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
294
+ 3.150000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
295
+ 3.225000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
296
+ 3.300000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
297
+ 3.375000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
298
+ 3.450000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
299
+ 3.525000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
300
+ 3.600000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
301
+ 3.675000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
302
+ 3.750000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
303
+ 3.825000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
304
+ 3.900000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
305
+ 3.975000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
306
+ 4.050000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
307
+ 4.125000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
308
+ 4.200000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
309
+ 4.275000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
310
+ 4.350000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
311
+ 4.425000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
312
+ 4.500000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
313
+ 4.575000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
314
+ 4.650000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
315
+ 4.725000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
316
+ 4.800000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
317
+ 4.875000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
318
+ 4.950000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
319
+ 5.025000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
320
+ 5.100000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
321
+ 5.175000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
322
+ 5.250000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
323
+ 5.325000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
324
+ 5.400000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
325
+ 5.475000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
326
+ 5.550000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
327
+ 5.625000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
328
+ 5.700000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
329
+ 5.775000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
330
+ 5.850000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
331
+ 5.925000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
332
+ 6.000000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
333
+ 6.075000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
334
+ 6.150000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
335
+ 6.225000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
336
+ 6.300000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
337
+ 6.375000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
338
+ 6.450000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
339
+ 6.525000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
340
+ 6.600000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
341
+ 6.675000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
342
+ 6.750000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
343
+ 6.825000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
344
+ 6.900000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
345
+ 6.975000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
346
+ 7.050000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
347
+ 7.125000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
348
+ 7.200000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
349
+ 7.275000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
350
+ 7.350000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
351
+ 7.425000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
352
+ 7.500000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
353
+ 7.575000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
354
+ 7.650000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
355
+ 7.725000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
356
+ 7.800000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
357
+ 7.875000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
358
+ 7.950000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
359
+ 8.025000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
360
+ 8.100000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
361
+ 8.175000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
362
+ 8.250000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
363
+ 8.325000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
364
+ 8.400000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
365
+ 8.475000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
366
+ 8.550000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
367
+ 8.625000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
368
+ 8.700000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
369
+ 8.775000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
370
+ 8.850000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
371
+ 8.925000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
372
+ 9.000000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
373
+ 9.075000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
374
+ 9.150000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
375
+ 9.225000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
376
+ 9.300000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
377
+ 9.375000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
378
+ 9.450000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
379
+ 9.525000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
380
+ 9.600000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
381
+ 9.675000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
382
+ 9.750000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
383
+ 9.825000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
384
+ 9.900000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
385
+ 9.975000000000000000e+04,0.000000000000000000e+00,0.000000000000000000e+00
386
+ 1.005000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
387
+ 1.012500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
388
+ 1.020000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
389
+ 1.027500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
390
+ 1.035000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
391
+ 1.042500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
392
+ 1.050000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
393
+ 1.057500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
394
+ 1.065000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
395
+ 1.072500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
396
+ 1.080000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
397
+ 1.087500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
398
+ 1.095000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
399
+ 1.102500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
400
+ 1.110000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
401
+ 1.117500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
402
+ 1.125000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
403
+ 1.132500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
404
+ 1.140000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
405
+ 1.147500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
406
+ 1.155000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
407
+ 1.162500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
408
+ 1.170000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
409
+ 1.177500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
410
+ 1.185000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
411
+ 1.192500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
412
+ 1.200000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
413
+ 1.207500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
414
+ 1.215000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
415
+ 1.222500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
416
+ 1.230000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
417
+ 1.237500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
418
+ 1.245000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
419
+ 1.252500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
420
+ 1.260000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
421
+ 1.267500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
422
+ 1.275000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
423
+ 1.282500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
424
+ 1.290000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
425
+ 1.297500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
426
+ 1.305000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
427
+ 1.312500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
428
+ 1.320000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
429
+ 1.327500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
430
+ 1.335000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
431
+ 1.342500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
432
+ 1.350000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
433
+ 1.357500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
434
+ 1.365000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
435
+ 1.372500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
436
+ 1.380000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
437
+ 1.387500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
438
+ 1.395000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
439
+ 1.402500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
440
+ 1.410000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
441
+ 1.417500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
442
+ 1.425000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
443
+ 1.432500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
444
+ 1.440000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
445
+ 1.447500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
446
+ 1.455000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
447
+ 1.462500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
448
+ 1.470000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
449
+ 1.477500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
450
+ 1.485000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
451
+ 1.492500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
452
+ 1.500000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
453
+ 1.507500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
454
+ 1.515000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
455
+ 1.522500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
456
+ 1.530000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
457
+ 1.537500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
458
+ 1.545000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
459
+ 1.552500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
460
+ 1.560000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
461
+ 1.567500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
462
+ 1.575000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
463
+ 1.582500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
464
+ 1.590000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
465
+ 1.597500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
466
+ 1.605000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
467
+ 1.612500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
468
+ 1.620000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
469
+ 1.627500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
470
+ 1.635000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
471
+ 1.642500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
472
+ 1.650000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
473
+ 1.657500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
474
+ 1.665000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
475
+ 1.672500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
476
+ 1.680000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
477
+ 1.687500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
478
+ 1.695000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
479
+ 1.702500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
480
+ 1.710000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
481
+ 1.717500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
482
+ 1.725000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
483
+ 1.732500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
484
+ 1.740000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
485
+ 1.747500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
486
+ 1.755000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
487
+ 1.762500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
488
+ 1.770000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
489
+ 1.777500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
490
+ 1.785000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
491
+ 1.792500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
492
+ 1.800000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
493
+ 1.807500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
494
+ 1.815000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
495
+ 1.822500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
496
+ 1.830000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
497
+ 1.837500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
498
+ 1.845000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
499
+ 1.852500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
500
+ 1.860000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
501
+ 1.867500000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
502
+ 1.875000000000000000e+05,0.000000000000000000e+00,0.000000000000000000e+00
codes/reconstruction/config/config.yaml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ common:
2
+ depth_is_range: true
3
+ dt_ps: 750
4
+ image_sizes:
5
+ - [256, 192]
6
+
7
+ datasets:
8
+ p1:
9
+ cx: 130.412638624449
10
+ cy: 97.1258022886799
11
+ fx: 120.940059132687
12
+ fy: 121.125671532013
13
+ k1: -0.276944155790098
14
+ k2: 0.062316608072363
15
+ p1: 0.0
16
+ p2: 0.0
17
+ p2:
18
+ cx: 130.6802784645003
19
+ cy: 100.360570246814
20
+ fx: 118.6514575329715
21
+ fy: 118.7964934010577
22
+ k1: -0.276944155790098
23
+ k2: 0.062316608072363
24
+ p1: 0.0
25
+ p2: 0.0
codes/reconstruction/config/final_extrinsic_sp_to_livox.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # final direct transform: SP(raw) -> Livox(raw)
2
+ # source_script=project_sp_to_livox.py
3
+ # calib_matrix=C:\document\code\singlephotongs\calib2lidar\extrinsic_livox_to_sp.txt
4
+ # calib_direction_input=livox_to_sp
5
+ # apply_axis_remap=True
6
+ # sp_axis_order=xzy
7
+ # sp_flip_x=False
8
+ # sp_flip_y=False
9
+ # sp_flip_z=True
10
+ # sp_scale=1.0
11
+ # livox_axis_order=yxz
12
+ # livox_flip_x=False
13
+ # livox_flip_y=True
14
+ # livox_flip_z=True
15
+ # matrix_direction=sp_to_livox
16
+ # matrix_semantic=raw_to_raw
17
+ # pipeline_ready=True
18
+ 0.000000000000 0.052256455795 0.997872812763 0.049398541753
19
+ 1.000000000000 0.000000000000 0.000000000000 -0.081712147000
20
+ -0.000000000000 -0.997872812763 0.052256455795 0.013621837804
21
+ 0.000000000000 0.000000000000 0.000000000000 1.000000000000
codes/reconstruction/config/offset.txt ADDED
The diff for this file is too large to render. See raw diff
 
codes/reconstruction/config/peak threshold.txt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ design_floor1:10
2
+ material_building:20
3
+ parking:20
4
+ physics_building2:10
5
+ AI floor2:10
6
+ art building floor2:10
7
+ c4floor2:20
8
+ library floor2:10
9
+ physics_building3:10
codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/.gitignore ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ __pycache__/
2
+ *.pyc
3
+ results/
4
+ exp/
5
+ runs/
6
+ *.pth
7
+ *.ckpt
codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/configs/eval.ini ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ # STB design_floor1 / 10 views example. See README for configuration origin.
2
+ warped = True
3
+ t_min_test = 0
4
+ t_max_test = 672
5
+ transforms_path = "/work/runrong/project_all/shared_transient_metrics_20261016/references/design_floor1/poses/ten_views/transforms_test.json"
6
+ shared_reference_contract = "/work/runrong/project_all/shared_transient_metrics_20261016/references/design_floor1/contract.json"
codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/configs/train.ini ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # STB design_floor1 / 10 views example. See README for configuration origin.
2
+ exp_name = "design_floor1_10views"
3
+ dataset_scale = 1000
4
+ meas_peak_min = 20
5
+ img_scale = 100
6
+ data_root = "/work/runrong/project_all/shared_transient_metrics_20261016/references/design_floor1/poses/ten_views"
7
+ measurement_root = "/work/runrong/dataset/paper_data/design_floor1"
8
+ version = captured
9
+ exposure_time = 0.11242217175
10
+ n_bins = 672
11
+ t_min = 0
12
+ t_max = 672
13
+ thold_warmup = 20000
14
+ gamma = 2
15
+ aabb = "[-30.723363, -32.531209, -1.819858, 30.377352, 12.024207, 9.260004]"
16
+ depth_global_offset_bins = 17
17
+ depth_offset_valid_max = 10.0
18
+ img_height = 192
19
+ img_width = 256
20
+ img_height_test = 192
21
+ img_width_test = 256
22
+ device = cuda:0
23
+ prop_delay = "True"
24
+ view_time_align = "True"
25
+ view_time_align_quantile = 0.7
26
+ view_time_align_target_bin = -1
27
+ view_time_align_max_abs_bins = 96
28
+ streaming = False
29
+ summary = "True"
30
+ outpath = "./results"
31
+ steps_till_checkpoint = 10000
32
+ summary_freq = 10000
33
+ max_steps = 150010
34
+ target_sample_batch_size = 262054
35
+ seed = 42
36
+ pixels_to_plot = ["(40, 60)", "(60, 55)", "(30, 55)"]
37
+ hardware_shift = "True"
38
+ hardware_shift_downsample = 8
39
+ hardware_shift_max_abs_bins = 12
40
+ intrinsics_path = "/work/runrong/dataset/intrinsics.npy"
41
+ alpha_thre = 0
42
+ lr = 0.001
43
+ weight_decay = 1e-6
44
+ render_step_size = 5e-2
45
+ cone_angle = 0
46
+ near_plane = 0.0
47
+ far_plane = 33
48
+ init_batch_size = 32
49
+ occ_thre = 0.001
50
+ grid_resolution = 256
51
+ grid_nlvl = 2
52
+ img_shape = 256
53
+ img_shape_test = 256
54
+ final = True
55
+ depth_offset_map = "/work/runrong/dataset/paper1_data/offset.txt"
codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/eval.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ """The only public evaluation entry: render predictions or score saved histograms."""
2
+ from evaluation.cli import main
3
+
4
+ if __name__ == "__main__":
5
+ main()
codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/evaluation/core.py ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Pure NumPy scoring. No data-dependent exposure fitting or upper clipping."""
2
+ import numpy as np
3
+
4
+ C = 299792458.0
5
+
6
+ def positive(x, name):
7
+ x = float(x)
8
+ if not np.isfinite(x) or x <= 0:
9
+ raise ValueError(name + ' must be finite and positive')
10
+ return x
11
+
12
+ def histogram(x):
13
+ if hasattr(x, 'detach'):
14
+ x = x.detach().cpu().numpy()
15
+ x = np.asarray(x)
16
+ if x.ndim == 3:
17
+ x = x[..., None]
18
+ if x.ndim != 4 or x.shape[-1] not in (1, 3) or min(x.shape) <= 0:
19
+ raise ValueError('Expected H x W x T x (1 or 3) histogram')
20
+ return x
21
+
22
+ def decode(x, scale, gamma=1.0):
23
+ """Inverse training encoding, applied per bin before any summation."""
24
+ scale, gamma = positive(scale, 'training scale'), positive(gamma, 'gamma')
25
+ x = np.asarray(x, dtype=np.float64)
26
+ if not np.isfinite(x).all() or np.any(x < 0):
27
+ raise ValueError('Histogram must be finite and nonnegative, even outside the mask')
28
+ y = np.power(x, gamma) * scale if gamma != 1.0 else x * scale
29
+ if not np.isfinite(y).all():
30
+ raise ValueError('Count decoding overflow')
31
+ return y
32
+
33
+ def score_histograms(prediction, reference, mask, *, prediction_scale,
34
+ reference_scale, histogram_peak, bin_width_s,
35
+ prediction_gamma=1.0, row_chunk=4):
36
+ """MSE over all bins/channels of GT-valid pixels, using a frozen train peak.
37
+
38
+ A one-channel capture is broadcast to RGB when necessary. All RGB channels
39
+ enter MSE; peak depth uses their arithmetic mean. Chunking bounds RAM use.
40
+ """
41
+ pred, ref = histogram(prediction), histogram(reference)
42
+ if pred.shape[:3] != ref.shape[:3]:
43
+ raise ValueError('Prediction/reference pixel grid or temporal window differs')
44
+ mask = np.asarray(mask)
45
+ if mask.shape != pred.shape[:2] or not np.isin(mask, [0, 1]).all():
46
+ raise ValueError('Expected binary HW reference-only mask')
47
+ mask = mask.astype(bool)
48
+ if not mask.any():
49
+ raise ValueError('No valid reference pixels')
50
+ peak = positive(histogram_peak, 'fixed histogram peak')
51
+ dt = positive(bin_width_s, 'physical bin width')
52
+ if int(row_chunk) != row_chunk or row_chunk < 1:
53
+ raise ValueError('row_chunk must be a positive integer')
54
+ h, w, t = pred.shape[:3]
55
+ channels = max(pred.shape[-1], ref.shape[-1])
56
+ ip, ig = np.zeros((h,w,3)), np.zeros((h,w,3))
57
+ dp, dg = np.zeros((h,w)), np.zeros((h,w))
58
+ squared = absolute = intersection = union = 0.0
59
+ for start in range(0,h,int(row_chunk)):
60
+ sl = slice(start,min(h,start+int(row_chunk)))
61
+ p = decode(pred[sl], prediction_scale, prediction_gamma)
62
+ g = decode(ref[sl], reference_scale)
63
+ ip[sl] = np.broadcast_to(p.sum(axis=-2), (len(p),w,3))
64
+ ig[sl] = np.broadcast_to(g.sum(axis=-2), (len(g),w,3))
65
+ dp[sl] = p.mean(axis=-1).argmax(axis=-1) * C * dt / 2.0
66
+ dg[sl] = g.mean(axis=-1).argmax(axis=-1) * C * dt / 2.0
67
+ a,b = np.broadcast_arrays(p[mask[sl]], g[mask[sl]])
68
+ error = a-b
69
+ squared += np.square(error).sum(dtype=np.float64)
70
+ absolute += np.abs(error).sum(dtype=np.float64)
71
+ intersection += np.minimum(a,b).sum(dtype=np.float64)
72
+ union += np.maximum(a,b).sum(dtype=np.float64)
73
+ count = int(mask.sum()) * t * channels
74
+ mse = squared/count
75
+ psnr = float(20*np.log10(peak)-10*np.log10(mse)) if mse>0 else float('inf')
76
+ scores = dict(histogram_psnr=psnr, histogram_mse_counts=float(mse),
77
+ histogram_mae_counts=float(absolute/count),
78
+ depth_l1_m=float(np.abs(dp[mask]-dg[mask]).mean()),
79
+ transient_iou=float(intersection/union) if union>0 else 1.0)
80
+ return scores, dict(prediction=ip, reference=ig, mask=mask,
81
+ prediction_depth=dp, reference_depth=dg)
codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/requirements.txt ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Install PyTorch 2.5.1 / CUDA 11.8 first; see README.
2
+ ConfigArgParse==1.7.5
3
+ ImageIO==2.37.2
4
+ PyYAML==6.0.3
5
+ h5py==3.15.1
6
+ imgviz==1.7.6
7
+ lpips==0.1.4
8
+ mat73==0.65
9
+ matplotlib==3.10.7
10
+ nerfacc==0.5.3
11
+ numpy==1.26.4
12
+ packaging==25.0
13
+ pillow==12.0.0
14
+ scikit-image==0.25.2
15
+ scipy==1.15.3
16
+ sparse==0.17.0
17
+ tensorboard==2.10.1
18
+ torch==2.5.1
19
+ torchvision==0.20.1
20
+ tqdm==4.67.1
21
+
22
+ # CUDA extensions (install after PyTorch; source build needs the CUDA toolchain).
23
+ tinycudann @ git+https://github.com/NVlabs/tiny-cuda-nn@38e50edc4a5f785afe0ef21f9c75b8949890be84#subdirectory=bindings/torch
codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/train_ours.py ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ from loaders.streaming_loader import SubjectLoaderIterable
3
+ from loaders.regular_loader_our import SubjectLoader
4
+ from misc.summary import write_summary_histogram
5
+ import time
6
+ import numpy as np
7
+ import torch
8
+ import tqdm
9
+ from radiance_fields.ngp import NGPRadianceField
10
+ from torch.utils.tensorboard import SummaryWriter
11
+ import os
12
+ import torch.multiprocessing as mp
13
+ from multiprocessing import Value
14
+ from ctypes import c_longlong
15
+ from torch.utils.data import DataLoader
16
+ from nerfacc.estimators.occ_grid import OccGridEstimator
17
+
18
+ from utils import (
19
+ make_save_folder,
20
+ make_save_folder_final,
21
+ render_image_with_occgrid,
22
+ set_random_seed,
23
+ load_args
24
+ )
25
+
26
+ if mp.get_start_method(allow_none=True) is None:
27
+ mp.set_start_method('spawn') # or 'forkserver'
28
+
29
+ def run():
30
+ torch.cuda.empty_cache()
31
+ args = load_args()
32
+ device = args.device
33
+ set_random_seed(args.seed)
34
+ aabb = torch.tensor(args.aabb, dtype=torch.float32, device=device)
35
+ train_dataset_kwargs = {}
36
+ test_dataset_kwargs = {}
37
+
38
+ # Setup training dataset and loader.
39
+ if args.streaming:
40
+ num_rays_value = Value(c_longlong, args.init_batch_size)
41
+ counter = Value(c_longlong, 0)
42
+
43
+ train_dataset = SubjectLoaderIterable(
44
+ root_fp=args.data_root,
45
+ split="train",
46
+ counter= counter,
47
+ num_rays = num_rays_value,
48
+ args = args,
49
+ **train_dataset_kwargs,
50
+ )
51
+ train_data_loader = DataLoader(train_dataset, batch_size=None, num_workers=args.num_workers)
52
+ else:
53
+ train_dataset = SubjectLoader(
54
+ root_fp=args.data_root,
55
+ split="train",
56
+ num_rays = args.init_batch_size,
57
+ args = args,
58
+ **train_dataset_kwargs,
59
+ )
60
+ train_data_loader = DataLoader(train_dataset, batch_size=None, num_workers=0)
61
+
62
+ if args.summary:
63
+ test_dataset = SubjectLoader(
64
+ root_fp= args.data_root,
65
+ split="test",
66
+ num_rays=None,
67
+ args = args,
68
+ **test_dataset_kwargs,
69
+ )
70
+
71
+ estimator = OccGridEstimator(
72
+ roi_aabb=aabb, resolution=args.grid_resolution, levels=args.grid_nlvl
73
+ ).to(device)
74
+
75
+
76
+ # Setup the radiance field we want to train.
77
+ grad_scaler = torch.cuda.amp.GradScaler(2**10)
78
+ radiance_field = NGPRadianceField(aabb=estimator.aabbs[-1], radiance_activation=torch.nn.Sigmoid(), use_viewdirs=True, args=args)
79
+ radiance_field = radiance_field.to("cpu")
80
+ radiance_field = radiance_field.to(device)
81
+
82
+ optimizer = torch.optim.Adam(
83
+ list(radiance_field.parameters()), lr=args.lr, eps=1e-15, weight_decay=args.weight_decay
84
+ )
85
+
86
+ scheduler = torch.optim.lr_scheduler.ChainedScheduler(
87
+ [
88
+ torch.optim.lr_scheduler.LinearLR(
89
+ optimizer, start_factor=0.01, total_iters=100
90
+ ),
91
+ torch.optim.lr_scheduler.MultiStepLR(
92
+ optimizer,
93
+ milestones=[
94
+ args.max_steps // 2,
95
+ args.max_steps * 3 // 4,
96
+ args.max_steps * 9 // 10,
97
+ ],
98
+ gamma=0.33,
99
+ ),
100
+ ]
101
+ )
102
+
103
+ # Make save folder.
104
+ if args.final:
105
+ writer, step, outpath = make_save_folder_final(args, optimizer, scheduler, radiance_field, estimator)
106
+ args.outpath = outpath
107
+ else:
108
+ outpath = make_save_folder(args)
109
+ args.outpath = outpath
110
+ writer = SummaryWriter(log_dir=outpath)
111
+ step = 0
112
+
113
+
114
+ import sys
115
+ from pathlib import Path
116
+ sys.path.insert(0, str(Path(__file__).resolve().parent))
117
+ from evaluation.units import record_training_units
118
+ record_training_units(outpath, args.dataset_scale, args.gamma,
119
+ Path(args.data_root)/"transforms_train.json", "FlyingWithPhotons",
120
+ measurement_root=getattr(args, 'measurement_root', None),
121
+ intrinsics=getattr(args, 'intrinsics_path', None))
122
+
123
+ # Training.
124
+ tic = time.time()
125
+ pbar = tqdm.tqdm(total=args.max_steps)
126
+
127
+ while step < args.max_steps:
128
+ for data in train_data_loader:
129
+
130
+ pbar.update(1)
131
+
132
+ radiance_field.train()
133
+ estimator.train()
134
+
135
+ render_bkgd = data["color_bkgd"]
136
+ rays = data["rays"]
137
+ pixels = data["pixels"]
138
+ valid_mask = data["valid_mask"].reshape(-1).to(device=device, dtype=torch.bool)
139
+ #检测pixels的最大值
140
+ if step == 0:
141
+ print("debug:pixels max:",pixels.max())
142
+ print("debug:pixels mean:",pixels.mean())
143
+
144
+ def occ_eval_fn(x):
145
+ density = radiance_field.query_density(x)
146
+ return density * args.render_step_size
147
+
148
+ # Warmup occupancy threshold.
149
+ if args.version == "captured":
150
+ if step<args.thold_warmup:
151
+ occ_thre = args.occ_thre/2
152
+ else:
153
+ occ_thre = args.occ_thre
154
+ else:
155
+ occ_thre = args.occ_thre
156
+
157
+ estimator.update_every_n_steps(
158
+ step=step,
159
+ occ_eval_fn=occ_eval_fn,
160
+ occ_thre=occ_thre,
161
+ )
162
+
163
+
164
+ # Render.
165
+ rgb, acc, depth, n_rendering_samples = render_image_with_occgrid(
166
+ radiance_field,
167
+ estimator,
168
+ rays,
169
+ args=args,
170
+ # rendering options
171
+ near_plane=args.near_plane,
172
+ far_plane=args.far_plane,
173
+ render_step_size=args.render_step_size,
174
+ render_bkgd=render_bkgd,
175
+ cone_angle=args.cone_angle,
176
+ alpha_thre=args.alpha_thre,
177
+ step=step
178
+ )
179
+ # if n_rendering_samples == 0:
180
+ # continue
181
+
182
+ if args.target_sample_batch_size > 0:
183
+ # Dynamic batch size for rays to keep sample batch size constant.
184
+ num_rays = len(pixels)
185
+ num_rays = int(
186
+ num_rays * (args.target_sample_batch_size / float(n_rendering_samples))
187
+ )
188
+ if args.streaming:
189
+ with num_rays_value.get_lock():
190
+ num_rays_value.value = num_rays
191
+ else:
192
+ train_dataset.update_num_rays(num_rays)
193
+
194
+ rgb_reshaped = rgb.reshape(rgb.shape[0], args.n_bins, -1)
195
+ supervised_ratio = valid_mask.float().mean()
196
+ if valid_mask.any():
197
+ loss = torch.nn.functional.smooth_l1_loss(
198
+ rgb_reshaped[valid_mask],
199
+ pixels[valid_mask],
200
+ )
201
+ else:
202
+ loss = rgb_reshaped.sum() * 0.0
203
+
204
+ optimizer.zero_grad()
205
+
206
+ # Double grad scaler to avoid nans and rescale loss.
207
+ grad_scaler.scale(grad_scaler.scale(loss)).backward()
208
+ grad_scaler.step(optimizer)
209
+ scheduler.step()
210
+ grad_scaler.update()
211
+ step += 1
212
+ writer.add_scalar('Loss/train', torch.log(loss.clamp_min(1e-12)).detach().cpu().numpy(), step)
213
+ writer.add_scalar('Mask/supervised_ratio', supervised_ratio.detach().cpu().item(), step)
214
+
215
+ if step % args.summary_freq == 0:
216
+ elapsed_time = time.time() - tic
217
+ if valid_mask.any():
218
+ mse = torch.nn.functional.mse_loss(
219
+ rgb_reshaped[valid_mask],
220
+ pixels[valid_mask],
221
+ )
222
+ psnr = -10.0 * torch.log(mse) / np.log(10.0)
223
+ psnr_value = float(psnr.detach().cpu().item())
224
+ else:
225
+ mse = rgb_reshaped.sum() * 0.0
226
+ psnr_value = float("nan")
227
+ #提取acc的统计信息
228
+ acc_max = acc.max().item() if acc.numel() > 0 else 0.0
229
+ acc_mean = acc.mean().item() if acc.numel() > 0 else 0.0
230
+
231
+ print(
232
+ f"elapsed_time={elapsed_time:.2f}s | step={step} | "
233
+ f"loss={loss:.5f} | transient psnr={psnr_value:.2f} | "
234
+ f"supervised_ratio={supervised_ratio.item():.4f} | "
235
+ f"n_rendering_samples={n_rendering_samples:d} | num_rays={len(pixels):d} | "
236
+ f"max_depth={depth.max():.3f} | "
237
+ f"acc_max={acc_max:.4f} | acc_mean={acc_mean:.4f} | "
238
+ )
239
+
240
+ if args.summary:
241
+ write_summary_histogram(radiance_field, estimator, writer, test_dataset, step, args)
242
+
243
+
244
+ if not step % args.steps_till_checkpoint or step == args.max_steps:
245
+ torch.save(radiance_field.state_dict(), os.path.join(outpath, 'radiance_field_%04d.pth' % (step)))
246
+ torch.save(estimator.state_dict(), os.path.join(outpath, 'occupancy_grid_%04d.pth' % (step)))
247
+ torch.save(optimizer.state_dict(), os.path.join(outpath, 'optimizer_%04d.pth' % (step)))
248
+ torch.save(scheduler.state_dict(), os.path.join(outpath, 'scheduler_%04d.pth' % (step)))
249
+ torch.save({'step': step}, os.path.join(outpath, 'variables.pth'))
250
+
251
+
252
+ if step >= args.max_steps:
253
+ break
254
+
255
+
256
+ if __name__=="__main__":
257
+ run()
codes/reconstruction/stb_minimal_20261017/FlyingWithPhotons/utils.py ADDED
@@ -0,0 +1,893 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from datetime import datetime
2
+ import random
3
+ from typing import Optional
4
+ import ast
5
+ import configargparse
6
+ import os
7
+ import numpy as np
8
+ import torch
9
+ from loaders.utils import Rays, namedtuple_map
10
+ from nerfacc.estimators.occ_grid import OccGridEstimator
11
+ from nerfacc.grid import ray_aabb_intersect, traverse_grids
12
+ from misc.transient_volrend import (
13
+ accumulate_along_rays_,
14
+ render_weight_from_density,
15
+ rendering,
16
+ shift_transient_grid_sample_3d,
17
+ )
18
+ from torch.utils.tensorboard import SummaryWriter
19
+ import shutil
20
+
21
+
22
+ def set_random_seed(seed):
23
+ random.seed(seed)
24
+ np.random.seed(seed)
25
+ torch.manual_seed(seed)
26
+
27
+
28
+ def render_image_with_occgrid(
29
+ # scene
30
+ radiance_field: torch.nn.Module,
31
+ estimator: OccGridEstimator,
32
+ rays: Rays,
33
+ args = None,
34
+ # rendering options
35
+ near_plane: float = 0.0,
36
+ far_plane: float = 1e10,
37
+ render_step_size: float = 1e-3,
38
+ render_bkgd: Optional[torch.Tensor] = None,
39
+ cone_angle: float = 0.0,
40
+ alpha_thre: float = 0.0,
41
+ # test options
42
+ test_chunk_size: int = 8192,
43
+ # only useful for dnerf
44
+ timestamps: Optional[torch.Tensor] = None,
45
+ step = -1
46
+ ):
47
+
48
+ rendering_func = rendering
49
+ def rgb_sigma_fn(t_starts, t_ends, ray_indices):
50
+ t_origins = chunk_rays.origins[ray_indices]
51
+ t_dirs = chunk_rays.viewdirs[ray_indices]
52
+ positions = t_origins + t_dirs * (t_starts + t_ends)[:, None] / 2.0
53
+ if timestamps is not None:
54
+ # dnerf
55
+ t = (
56
+ timestamps[ray_indices]
57
+ if radiance_field.training
58
+ else timestamps.expand_as(positions[:, :1])
59
+ )
60
+ rgbs, sigmas = radiance_field(positions, t, t_dirs)
61
+ else:
62
+ rgbs, sigmas = radiance_field(positions, t_dirs)
63
+
64
+ return rgbs, sigmas.squeeze(-1)
65
+
66
+ """Render the pixels of an image."""
67
+ rays_shape = rays.origins.shape
68
+ if len(rays_shape) == 3:
69
+ height, width, _ = rays_shape
70
+ num_rays = height * width
71
+ rays = namedtuple_map(
72
+ lambda r: r.reshape([num_rays] + list(r.shape[2:])), rays
73
+ )
74
+ else:
75
+ num_rays, _ = rays_shape
76
+
77
+ def sigma_fn(t_starts, t_ends, ray_indices):
78
+ t_origins = chunk_rays.origins[ray_indices]
79
+ t_dirs = chunk_rays.viewdirs[ray_indices]
80
+ positions = t_origins + t_dirs * (t_starts + t_ends)[:, None] / 2.0
81
+ if timestamps is not None:
82
+ # dnerf
83
+ t = (
84
+ timestamps[ray_indices]
85
+ if radiance_field.training
86
+ else timestamps.expand_as(positions[:, :1])
87
+ )
88
+ sigmas = radiance_field.query_density(positions, t)
89
+ else:
90
+ sigmas = radiance_field.query_density(positions)
91
+ return sigmas.squeeze(-1)
92
+
93
+ results = []
94
+ chunk = (
95
+ torch.iinfo(torch.int32).max
96
+ if radiance_field.training
97
+ else test_chunk_size
98
+ )
99
+ for i in range(0, num_rays, chunk):
100
+ chunk_rays = namedtuple_map(lambda r: r[i : i + chunk], rays)
101
+ # 假设 estimator.aabbs 是场景包围盒
102
+ t_mins_chunk, _, hits_chunk = ray_aabb_intersect(chunk_rays.origins, chunk_rays.viewdirs, estimator.aabbs)
103
+ ray_indices, t_starts, t_ends = estimator.sampling(
104
+ chunk_rays.origins,
105
+ chunk_rays.viewdirs,
106
+ sigma_fn=sigma_fn,
107
+ near_plane=near_plane,
108
+ far_plane=far_plane,
109
+ render_step_size=render_step_size,
110
+ stratified=radiance_field.training,
111
+ cone_angle=cone_angle,
112
+ alpha_thre=alpha_thre,
113
+ )
114
+ rgb, opacity, depth, _ = rendering_func(
115
+ t_starts,
116
+ t_ends,
117
+ ray_indices,
118
+ args = args,
119
+ n_rays=chunk_rays.origins.shape[0],
120
+ rgb_sigma_fn=rgb_sigma_fn,
121
+ render_bkgd=render_bkgd,
122
+ t_mins=t_mins_chunk[ray_indices],
123
+ step=step
124
+ )
125
+ chunk_results = [rgb, opacity, depth, len(t_starts)]
126
+ results.append(chunk_results)
127
+ colors, opacities, depths, n_rendering_samples = [
128
+ torch.cat(r, dim=0) if isinstance(r[0], torch.Tensor) else r
129
+ for r in zip(*results)
130
+ ]
131
+ return (
132
+ colors.view((*rays_shape[:-1], -1)),
133
+ opacities.view((*rays_shape[:-1], -1)),
134
+ depths.view((*rays_shape[:-1], -1)),
135
+ sum(n_rendering_samples),
136
+ )
137
+
138
+ @torch.no_grad()
139
+ def render_image_with_occgrid_test(
140
+ max_samples: int,
141
+ # scene
142
+ radiance_field: torch.nn.Module,
143
+ estimator: OccGridEstimator,
144
+ rays: Rays,
145
+ args = None,
146
+ # rendering options
147
+ near_plane: float = 0.0,
148
+ far_plane: float = 1e10,
149
+ render_step_size: float = 1e-3,
150
+ render_bkgd: Optional[torch.Tensor] = None,
151
+ cone_angle: float = 0.0,
152
+ alpha_thre: float = 0.0,
153
+ early_stop_eps: float = 1e-4,
154
+ # only useful for dnerf
155
+ timestamps: Optional[torch.Tensor] = None,
156
+ n_output_dim = 3,
157
+ prop_delay = True,
158
+ unwarp = False,
159
+ test_chunk_size = 20000
160
+ ):
161
+ """Render the pixels of an image."""
162
+ rays_shape = rays.origins.shape
163
+ if len(rays_shape) == 3:
164
+ height, width, _ = rays_shape
165
+ num_rays = height * width
166
+ rays = namedtuple_map(
167
+ lambda r: r.reshape([num_rays] + list(r.shape[2:])), rays
168
+ )
169
+ else:
170
+ num_rays, _ = rays_shape
171
+
172
+ def rgb_sigma_fn(t_starts, t_ends, ray_indices):
173
+ t_origins = rays.origins[ray_indices]
174
+ t_dirs = rays.viewdirs[ray_indices]
175
+ positions = (
176
+ t_origins + t_dirs * (t_starts[:, None] + t_ends[:, None]) / 2.0
177
+ )
178
+ if timestamps is not None:
179
+ # dnerf
180
+ t = (
181
+ timestamps[ray_indices]
182
+ if radiance_field.training
183
+ else timestamps.expand_as(positions[:, :1])
184
+ )
185
+ rgbs, sigmas = radiance_field(positions, t, t_dirs)
186
+ else:
187
+ rgbs, sigmas = radiance_field(positions, t_dirs)
188
+
189
+ return rgbs, sigmas.squeeze(-1)
190
+
191
+ device = rays.origins.device
192
+ opacity = torch.zeros(num_rays, 1, device=device)
193
+ depth = torch.zeros(num_rays, 1, device=device)
194
+ rgb = torch.zeros(num_rays, n_output_dim, device=device)
195
+
196
+ ray_mask = torch.ones(num_rays, device=device).bool()
197
+
198
+ # 1 for synthetic scenes, 4 for real scenes
199
+ min_samples = 1 if cone_angle == 0 else 4
200
+
201
+ iter_samples = total_samples = 0
202
+
203
+ rays_o = rays.origins
204
+ rays_d = rays.viewdirs
205
+
206
+ near_planes = torch.full_like(rays_o[..., 0], fill_value=near_plane)
207
+ far_planes = torch.full_like(rays_o[..., 0], fill_value=far_plane)
208
+
209
+ t_mins, t_maxs, hits = ray_aabb_intersect(rays_o, rays_d, estimator.aabbs)
210
+
211
+ n_grids = estimator.binaries.size(0)
212
+
213
+ if n_grids > 1:
214
+ t_sorted, t_indices = torch.sort(torch.cat([t_mins, t_maxs], -1), -1)
215
+ else:
216
+ t_sorted = torch.cat([t_mins, t_maxs], -1)
217
+ t_indices = torch.arange(
218
+ 0, n_grids * 2, device=t_mins.device, dtype=torch.int64
219
+ ).expand(num_rays, n_grids * 2)
220
+
221
+ opc_thre = 1 - early_stop_eps
222
+
223
+ while iter_samples < max_samples:
224
+
225
+ n_alive = ray_mask.sum().item()
226
+ if n_alive == 0:
227
+ break
228
+
229
+ # The number of samples to add on each ray.
230
+ n_samples = max(min(num_rays // n_alive, 64), min_samples)
231
+ iter_samples += n_samples
232
+
233
+ # ray marching
234
+ (intervals, samples, termination_planes) = traverse_grids(
235
+ # rays
236
+ rays_o, # [n_rays, 3]
237
+ rays_d, # [n_rays, 3]
238
+ # grids
239
+ estimator.binaries, # [m, resx, resy, resz]
240
+ estimator.aabbs, # [m, 6]
241
+ # options
242
+ near_planes, # [n_rays]
243
+ far_planes, # [n_rays]
244
+ render_step_size,
245
+ cone_angle,
246
+ n_samples,
247
+ True,
248
+ ray_mask,
249
+ # pre-compute intersections
250
+ t_sorted, # [n_rays, m*2]
251
+ t_indices, # [n_rays, m*2]
252
+ hits, # [n_rays, m]
253
+ )
254
+ t_starts = intervals.vals[intervals.is_left]
255
+ t_ends = intervals.vals[intervals.is_right]
256
+ ray_indices = samples.ray_indices[samples.is_valid]
257
+ packed_info = samples.packed_info
258
+
259
+ # Get rgb and sigma from radiance field.
260
+ rgbs, sigmas = rgb_sigma_fn(t_starts, t_ends, ray_indices)
261
+ if rgbs.shape[0] != 0:
262
+ if prop_delay:
263
+ shift = (t_starts + t_ends)[:, None]/ 2.0
264
+ #更改为减去相机到AABB的最小距离
265
+ #shift = (t_starts + t_ends)[:, None] - 2.0*t_mins[ray_indices]
266
+ rgbs = rgbs.reshape(rgbs.shape[0], args.n_bins, -1)
267
+ chunk_size = test_chunk_size
268
+ for chunk_number in range(0, rgbs.shape[0], chunk_size):
269
+ chunk = rgbs[chunk_number : chunk_number + chunk_size]
270
+ chunk_d = shift[chunk_number : chunk_number + chunk_size]
271
+ rgbs[chunk_number : chunk_number + chunk_size] = shift_transient_grid_sample_3d(chunk, chunk_d, args.exposure_time, args.n_bins)
272
+
273
+ rgbs = rgbs.reshape(rgbs.shape[0], -1)
274
+
275
+ # Volume rendering using native cuda scan.
276
+ weights, _, alphas = render_weight_from_density(
277
+ t_starts,
278
+ t_ends,
279
+ sigmas,
280
+ ray_indices=ray_indices,
281
+ n_rays=num_rays,
282
+ prefix_trans=1 - opacity[ray_indices].squeeze(-1),
283
+ )
284
+ if alpha_thre > 0:
285
+ vis_mask = alphas >= alpha_thre
286
+ ray_indices, rgbs, weights, t_starts, t_ends = (
287
+ ray_indices[vis_mask],
288
+ rgbs[vis_mask],
289
+ weights[vis_mask],
290
+ t_starts[vis_mask],
291
+ t_ends[vis_mask],
292
+ )
293
+
294
+ accumulate_along_rays_(
295
+ weights,
296
+ values=rgbs,
297
+ ray_indices=ray_indices,
298
+ outputs=rgb,
299
+ )
300
+ accumulate_along_rays_(
301
+ weights,
302
+ values=None,
303
+ ray_indices=ray_indices,
304
+ outputs=opacity,
305
+ )
306
+ accumulate_along_rays_(
307
+ weights,
308
+ values=(t_starts + t_ends)[..., None] / 2.0,
309
+ ray_indices=ray_indices,
310
+ outputs=depth,
311
+ )
312
+ # Update near_planes using termination planes.
313
+ near_planes = termination_planes
314
+ # Update rays status.
315
+ ray_mask = torch.logical_and(
316
+ # Early stopping.
317
+ opacity.view(-1) <= opc_thre,
318
+ # Remove rays that have reached the far plane.
319
+ packed_info[:, 1] == n_samples,
320
+ )
321
+ total_samples += ray_indices.shape[0]
322
+
323
+ depth = depth / opacity.clamp_min(torch.finfo(rgbs.dtype).eps)
324
+
325
+ # Unwapring different methods -- values hardocded.
326
+ if unwarp:
327
+ if args.unwarp_method == "depth":
328
+ dists = depth
329
+ elif args.unwarp_method == "sphere":
330
+ dists = intersect_sphere(rays.origins.cpu(), rays.viewdirs.cpu(), np.sqrt(2)).to(depth.device)
331
+ elif args.unwarp_method == "cube":
332
+ dists = intersect_cube(rays.origins.cpu(), rays.viewdirs.cpu(), 1).to(depth.device)
333
+
334
+ chunk_size = test_chunk_size
335
+ for chunk_number in range(0, rgb.shape[0], chunk_size):
336
+ chunk = rgb[chunk_number : chunk_number + chunk_size]
337
+ chunk_d = dists[chunk_number : chunk_number + chunk_size]
338
+ rgb[chunk_number : chunk_number + chunk_size] = depth_unwarp(chunk.reshape(chunk.shape[0], args.n_bins, -1), chunk_d, args.exposure_time, args.n_bins).reshape(chunk.shape[0], -1)
339
+
340
+
341
+ return (
342
+ rgb.view((*rays_shape[:-1], -1)),
343
+ opacity.view((*rays_shape[:-1], -1)),
344
+ depth.view((*rays_shape[:-1], -1)),
345
+ total_samples,
346
+ )
347
+
348
+
349
+ def intersect_sphere(rays_o, rays_d, R):
350
+ # Intersection of rays with sphere, distances.
351
+ odotd = torch.sum(rays_o*rays_d, 1)
352
+ d_norm_sq = torch.sum(rays_d**2, 1)
353
+ o_norm_sq = torch.sum(rays_o**2, 1)
354
+ determinant = odotd**2+(R-o_norm_sq)*d_norm_sq
355
+ valid = determinant>=0
356
+ distances = torch.zeros(rays_o.shape[0])
357
+ distances[valid] = (torch.sqrt(determinant[valid])-odotd[valid])/d_norm_sq[valid]
358
+ return distances[:, None]
359
+
360
+ def intersect_cube(rays_o, rays_d, R):
361
+ # Intersection of rays with cube, distances.
362
+ t1 = (R - rays_o)/rays_d
363
+ t2 = (-R - rays_o)/rays_d
364
+ combined_mins = torch.concat([t1, t2], dim=-1)
365
+ dists = torch.topk(combined_mins, 3, dim=1)[0][:, 2][:, None]
366
+ return dists
367
+
368
+
369
+ def parse_list(arg):
370
+ try:
371
+ return ast.literal_eval(arg)
372
+ except (SyntaxError, ValueError):
373
+ raise configargparse.ArgumentTypeError(f"Invalid list format: {arg}")
374
+
375
+ def depth_unwarp(transient, depth, exposure_time, n_bins):
376
+ # Depth based unwapring.
377
+ x_dim = transient.shape[0]
378
+ bins_move = depth/exposure_time
379
+ if x_dim%2 == 0:
380
+ x = (torch.arange(x_dim, device=transient.device)-x_dim//2+0.5)/(x_dim//2-0.5)
381
+ else:
382
+ x = (torch.arange(x_dim, device=transient.device)-x_dim//2)/(x_dim//2)
383
+
384
+ z = torch.arange(n_bins, device=transient.device).float()
385
+ X, Z = torch.meshgrid(x, z, indexing="ij")
386
+ Z = Z + bins_move
387
+ Z[Z<0] = n_bins+1
388
+ Z = (Z-n_bins//2+0.5)/(n_bins//2-0.5)
389
+ grid = torch.stack((Z, X), dim=-1)[None, ...]
390
+ shifted_transient = torch.nn.functional.grid_sample(transient.permute(2, 0, 1)[None], grid, align_corners=True).squeeze(0).permute(1, 2, 0)
391
+ return shifted_transient
392
+
393
+ def str2bool(v):
394
+ if isinstance(v, bool):
395
+ return v
396
+ if v.lower() in ('yes', 'true', 't', 'y', '1'):
397
+ return True
398
+ elif v.lower() in ('no', 'false', 'f', 'n', '0'):
399
+ return False
400
+ else:
401
+ raise configargparse.ArgumentTypeError('Boolean value expected.')
402
+
403
+
404
+ def get_meas_peak_threshold(args):
405
+ meas_peak_min = float(getattr(args, "meas_peak_min", 0.0))
406
+ if meas_peak_min <= 0:
407
+ return None
408
+ dataset_scale = max(float(getattr(args, "dataset_scale", 1.0)), 1e-8)
409
+ return meas_peak_min / dataset_scale
410
+
411
+
412
+ def compute_transient_valid_mask_torch(transient, args, base_mask=None, undo_gamma=False):
413
+ channel = transient[..., 0]
414
+ if undo_gamma:
415
+ gamma = float(getattr(args, "gamma", 1.0))
416
+ if gamma != 1.0:
417
+ channel = channel.clamp_min(0.0).pow(gamma)
418
+
419
+ signal_mask = channel.sum(dim=-1) > 0
420
+ peak_threshold = get_meas_peak_threshold(args)
421
+ if peak_threshold is None:
422
+ meas_peak_mask = torch.ones_like(signal_mask, dtype=torch.bool)
423
+ else:
424
+ meas_peak_mask = torch.amax(channel, dim=-1) >= float(peak_threshold)
425
+
426
+ valid_mask = signal_mask & meas_peak_mask
427
+ if base_mask is not None:
428
+ valid_mask = valid_mask & base_mask.to(dtype=torch.bool, device=valid_mask.device)
429
+ return valid_mask, meas_peak_mask, signal_mask
430
+
431
+
432
+ def compute_transient_valid_mask_numpy(transient, args, base_mask=None):
433
+ channel = transient[..., 0]
434
+ signal_mask = channel.sum(axis=-1) > 0
435
+ peak_threshold = get_meas_peak_threshold(args)
436
+ if peak_threshold is None:
437
+ meas_peak_mask = np.ones_like(signal_mask, dtype=bool)
438
+ else:
439
+ meas_peak_mask = np.max(channel, axis=-1) >= float(peak_threshold)
440
+
441
+ valid_mask = signal_mask & meas_peak_mask
442
+ if base_mask is not None:
443
+ valid_mask = valid_mask & np.asarray(base_mask, dtype=bool)
444
+ return valid_mask, meas_peak_mask, signal_mask
445
+
446
+
447
+
448
+
449
+ def load_args(eval = False, parser= None):
450
+ if not eval:
451
+ parser = configargparse.ArgumentParser()
452
+ parser.add('-c', '--my-config',
453
+ is_config_file=True,
454
+ default=None,
455
+ help='Path to config file.'
456
+ )
457
+ parser.add_argument(
458
+ '--exp_name',
459
+ type=str,
460
+ default='coke',
461
+ help='Experiment name.'
462
+ )
463
+ parser.add_argument(
464
+ "--prop_delay",
465
+ type= str2bool,
466
+ default="true",
467
+ help="Model propagation delay.",
468
+ )
469
+ parser.add_argument(
470
+ "--data_root",
471
+ type=str,
472
+ default="/home/anagh/PycharmProjects/multiview_lif/data/regular-cornell/diverse_cams/training_files",
473
+ help="The root of the dataset directory.",
474
+ )
475
+ parser.add_argument(
476
+ "--num_workers",
477
+ type=int,
478
+ default=2,
479
+ help="Number of workers.",
480
+ )
481
+ parser.add_argument(
482
+ "--final",
483
+ type= str2bool,
484
+ default="false",
485
+ help="Train final version or not.",
486
+ )
487
+ parser.add_argument(
488
+ "--streaming",
489
+ type= str2bool,
490
+ default="true",
491
+ help="Stream with dataloader.",
492
+ )
493
+ parser.add_argument(
494
+ "--version",
495
+ type=str,
496
+ default="simulated",
497
+ choices=["captured", "simulated"],
498
+ help="Dataset being trained, captured or simulated.",
499
+ )
500
+ parser.add_argument(
501
+ "--outpath",
502
+ type=str,
503
+ default="/home/anagh/PycharmProjects/multiview_lif/results",
504
+ help="Path to results folder.",
505
+ )
506
+ parser.add_argument(
507
+ "--n_bins",
508
+ type=int,
509
+ default=700,
510
+ help="Number of bins.",
511
+ )
512
+ parser.add_argument(
513
+ "--exposure_time",
514
+ type=float,
515
+ default=0.01,
516
+ help="Exposure time per bin.",
517
+ )
518
+ parser.add_argument(
519
+ "--steps_till_checkpoint",
520
+ type=int,
521
+ default=5000,
522
+ help="Number of steps till checkpoint saved.",
523
+ )
524
+ parser.add_argument(
525
+ "--summary_freq",
526
+ type=int,
527
+ default=5000,
528
+ help="Number of steps till summary logged.",
529
+ )
530
+ parser.add_argument(
531
+ "--max_steps",
532
+ type=int,
533
+ default=200000,
534
+ help="Total number of steps trained for.",
535
+ )
536
+ parser.add_argument(
537
+ "--alpha_thre",
538
+ type=float,
539
+ default=0,
540
+ help="Alpha threshold for skipping empty space.",
541
+ )
542
+ parser.add_argument(
543
+ "--lr",
544
+ type=float,
545
+ default=0.005,
546
+ help="Learning rate.",
547
+ )
548
+ parser.add_argument(
549
+ "--weight_decay",
550
+ type=float,
551
+ default=1e-6,
552
+ help="Weight decay value for optimizer.",
553
+ )
554
+ parser.add_argument(
555
+ "--render_step_size",
556
+ type=float,
557
+ default=5e-3,
558
+ help="Step size in rendering.",
559
+ )
560
+ parser.add_argument(
561
+ "--cone_angle",
562
+ type=float,
563
+ default=0,
564
+ help="Cone angle for linearly increased step size.",
565
+ )
566
+ parser.add_argument(
567
+ "--target_sample_batch_size",
568
+ type=int,
569
+ default=2**16,
570
+ help="Number of points per batch.",
571
+ )
572
+ parser.add_argument(
573
+ "--near_plane",
574
+ type=float,
575
+ default=0,
576
+ help="Near plane for sampling.",
577
+ )
578
+ parser.add_argument(
579
+ "--gamma",
580
+ type=int,
581
+ default=2,
582
+ help="Near plane for sampling.",
583
+ )
584
+ parser.add_argument(
585
+ "--far_plane",
586
+ type=float,
587
+ default=2**15,
588
+ help="Far plane for sampling.",
589
+ )
590
+ parser.add_argument(
591
+ "--dataset_scale",
592
+ type=int,
593
+ default=46,
594
+ # default=(5.5*10**6),
595
+ help="Scale for all transient images.",
596
+ )
597
+ parser.add_argument(
598
+ "--meas_peak_min",
599
+ type=float,
600
+ default=10.0,
601
+ help="Minimum GT transient peak (in pre-normalization units) required for supervision/evaluation.",
602
+ )
603
+ parser.add_argument(
604
+ "--t_min",
605
+ type=int,
606
+ default=200,
607
+ help="Time to start bins at.",
608
+ )
609
+ parser.add_argument(
610
+ "--t_max",
611
+ type=int,
612
+ default=800,
613
+ help="Time to end bins at.",
614
+ )
615
+ parser.add_argument(
616
+ "--init_batch_size",
617
+ type=int,
618
+ default=32,
619
+ help="Starting batch size.",
620
+ )
621
+ parser.add_argument(
622
+ "--seed",
623
+ type=int,
624
+ default=42,
625
+ help="Starting batch size.",
626
+ )
627
+ parser.add_argument(
628
+ "--occ_thre",
629
+ type=float,
630
+ default=0.01,
631
+ help="Occupancy threshold",
632
+ )
633
+ parser.add_argument(
634
+ "--thold_warmup",
635
+ type=int,
636
+ default=-1,
637
+ help="Warmup period for the occupancy threshold.",
638
+ )
639
+ parser.add_argument(
640
+ "--grid_resolution",
641
+ type=int,
642
+ default=128,
643
+ help="Starting batch size.",
644
+ )
645
+ parser.add_argument(
646
+ "--grid_nlvl",
647
+ type=int,
648
+ default=1,
649
+ help="Starting batch size.",
650
+ )
651
+ parser.add_argument(
652
+ "--img_shape",
653
+ type=int,
654
+ default=64,
655
+ help="Image shape.",
656
+ )
657
+ parser.add_argument(
658
+ "--summary",
659
+ type= str2bool,
660
+ default="true",
661
+ help="Print tensorboard summary.",
662
+ )
663
+ parser.add_argument(
664
+ "--img_shape_test",
665
+ type=int,
666
+ default=64,
667
+ help="Image shape for summary.",
668
+ )
669
+ parser.add_argument(
670
+ "--aabb",
671
+ nargs='+',
672
+ type = lambda s: ast.literal_eval(s),
673
+ default="[-1.5,-1.5,-1.5,1.5,1.5, 1.5]",
674
+ help="AABB size.",
675
+ )
676
+ parser.add_argument(
677
+ "--laser_pos",
678
+ nargs='+',
679
+ type = lambda s: ast.literal_eval(s),
680
+ default=[(16, 16), (20, 16), (28, 25)],
681
+ help="Laser position.",
682
+ )
683
+ parser.add_argument(
684
+ "--pixels_to_plot",
685
+ nargs='+',
686
+ type = lambda s: ast.literal_eval(s),
687
+ default=[(16, 16), (20, 16), (28, 25)],
688
+ help="Pixels used for plotting in the summary.",
689
+ )
690
+ parser.add_argument(
691
+ "--img_scale",
692
+ type=int,
693
+ default=100,
694
+ help="Image scale used in summary.",
695
+ )
696
+ parser.add_argument(
697
+ "--device",
698
+ type=str,
699
+ default="cuda:4",
700
+ help="Cuda device.",
701
+ )
702
+ #add other params
703
+ parser.add_argument(
704
+ "--measurement_root",
705
+ type=str,
706
+ default="/work/runrong/dataset/paper1_data/chair_dinasour/without_occlusion/h5/",
707
+ help="root data",
708
+ )
709
+ parser.add_argument(
710
+ "--depth_global_offset_bins",
711
+ type=int,
712
+ default=0,
713
+ help="global shift",
714
+ )
715
+ parser.add_argument(
716
+ "--depth_offset_map",
717
+ type=str,
718
+ default="/work/runrong/project_all/FlyingWithPhotons/ini_generate/offset.txt"
719
+ )
720
+ parser.add_argument(
721
+ "--depth_offset_valid_max",
722
+ type=float,
723
+ default=10.0,
724
+ )
725
+ parser.add_argument(
726
+ "--img_height",
727
+ type=int,
728
+ default=192,
729
+ )
730
+ parser.add_argument(
731
+ "--img_width",
732
+ type=int,
733
+ default=256,
734
+ )
735
+ parser.add_argument(
736
+ "--img_height_test",
737
+ type=int,
738
+ default=192,
739
+ )
740
+ parser.add_argument(
741
+ "--img_width_test",
742
+ type=int,
743
+ default=256,
744
+ )
745
+ parser.add_argument(
746
+ "--fx",
747
+ type=float,
748
+ default=118.6514575329715,
749
+ help="Focal length x"
750
+ )
751
+ parser.add_argument(
752
+ "--fy",
753
+ type=float,
754
+ default=118.7964934010577,
755
+ help="Focal length y"
756
+ )
757
+ parser.add_argument(
758
+ "--cx",
759
+ type=float,
760
+ default=130.6802784645003,
761
+ help="Principal point x"
762
+ )
763
+ parser.add_argument(
764
+ "--cy",
765
+ type=float,
766
+ default=100.360570246814,
767
+ help="Principal point y"
768
+ )
769
+ parser.add_argument(
770
+ "--view_time_align",
771
+ type=str2bool,
772
+ default="false",
773
+ help="Apply per-view global bin alignment in data preprocessing.",
774
+ )
775
+ parser.add_argument(
776
+ "--view_time_align_quantile",
777
+ type=float,
778
+ default=0.7,
779
+ help="Quantile used to select strong pixels when estimating per-view peak bin.",
780
+ )
781
+ parser.add_argument(
782
+ "--view_time_align_target_bin",
783
+ type=int,
784
+ default=-1,
785
+ help="Target bin for alignment. If < 0, use median peak bin from available frames.",
786
+ )
787
+ parser.add_argument(
788
+ "--view_time_align_max_abs_bins",
789
+ type=int,
790
+ default=96,
791
+ help="Clamp per-view global bin offset to [-max_abs, max_abs].",
792
+ )
793
+ parser.add_argument(
794
+ "--hardware_shift",
795
+ type=str2bool,
796
+ default="false",
797
+ help="Apply hardware shift from intrinsics.npy in preprocessing.",
798
+ )
799
+ parser.add_argument(
800
+ "--hardware_shift_downsample",
801
+ type=int,
802
+ default=1,
803
+ help="Downsample factor for low-pass filtering hardware shift before resizing back.",
804
+ )
805
+ parser.add_argument(
806
+ "--hardware_shift_max_abs_bins",
807
+ type=float,
808
+ default=-1.0,
809
+ help="Optional clamp for hardware shift in bins. Negative disables clamping.",
810
+ )
811
+ parser.add_argument(
812
+ "--intrinsics_path",
813
+ type=str,
814
+ default="/work/runrong/project_all/FlyingWithPhotons/ini_generate/intrinsics.npy",
815
+ help="Path to intrinsics.npy containing per-pixel shift.",
816
+ )
817
+ # args, _ = parser.parse_known_args()
818
+ args = parser.parse_args()
819
+ assert args.n_bins == args.t_max - args.t_min
820
+ return args
821
+
822
+ def make_save_folder(args):
823
+ now = datetime.now()
824
+ now = now.strftime("%m-%d_%H:%M:%S")
825
+ exp_name = args.exp_name + "_" + now
826
+ outpath = os.path.join(args.outpath, exp_name)
827
+ os.mkdir(outpath)
828
+ shutil.copy(args.my_config, os.path.join(outpath, "params.txt"))
829
+
830
+ with open(os.path.join(outpath, "params_full.txt"), "w") as out_file:
831
+ param_list = []
832
+ for key, value in vars(args).items():
833
+ if type(value) == list:
834
+ value = [eval(f"{x}") for x in value]
835
+ elif type(value) != int and type(value) != float:
836
+ value = str(value)
837
+ value = f"'{value}'"
838
+ param_list.append("%s= %s" % (key, value))
839
+
840
+ out_file.write('\n'.join(param_list))
841
+ return outpath
842
+
843
+ def make_save_folder_final(args, optimizer, scheduler, radiance_field, occupancy_grid):
844
+ outpath = os.path.join(args.outpath, args.exp_name)
845
+
846
+ if not os.path.isdir(outpath):
847
+
848
+ os.mkdir(outpath)
849
+ shutil.copy(args.my_config, os.path.join(outpath, "params.txt"))
850
+
851
+
852
+ with open(os.path.join(outpath, "params_full.txt"), "w") as out_file:
853
+ param_list = []
854
+ for key, value in vars(args).items():
855
+ if type(value) != int and type(value) != float:
856
+ value = str(value)
857
+ value = f"'{value}'"
858
+ param_list.append("%s= %s" % (key, value))
859
+
860
+ out_file.write('\n'.join(param_list))
861
+ step = 0
862
+ writer = SummaryWriter(log_dir=outpath)
863
+
864
+ else:
865
+ ckpt_path_var = os.path.join(outpath, 'variables.pth')
866
+ ckpt = torch.load(ckpt_path_var)
867
+ step = ckpt['step']
868
+
869
+ ckpt_path_rf = os.path.join(outpath, 'radiance_field_%04d.pth' % (step))
870
+ ckpt_path_oc = os.path.join(outpath, 'occupancy_grid_%04d.pth' % (step))
871
+ ckpt_path_opt = os.path.join(outpath, 'optimizer_%04d.pth' % (step))
872
+ ckpt_path_sch = os.path.join(outpath, 'scheduler_%04d.pth' % (step))
873
+
874
+ ckpt = torch.load(ckpt_path_rf, map_location=args.device)
875
+ radiance_field.load_state_dict(ckpt)
876
+ radiance_field = radiance_field.to(args.device)
877
+
878
+ ckpt = torch.load(ckpt_path_oc, map_location=args.device)
879
+ occupancy_grid.load_state_dict(ckpt)
880
+ occupancy_grid = occupancy_grid.to(args.device)
881
+
882
+ ckpt = torch.load(ckpt_path_opt)
883
+ optimizer.load_state_dict(ckpt)
884
+
885
+ ckpt = torch.load(ckpt_path_sch)
886
+ scheduler.load_state_dict(ckpt)
887
+ print(f"previous checkpoint loaded; current step: {step}")
888
+ writer = SummaryWriter(log_dir=outpath)
889
+
890
+ return writer, step, outpath
891
+
892
+ if __name__=="__main__":
893
+ pass
codes/reconstruction/stb_minimal_20261017/transientangelo/.gitignore ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ __pycache__/
2
+ *.pyc
3
+ results/
4
+ exp/
5
+ runs/
6
+ *.pth
7
+ *.ckpt
codes/reconstruction/stb_minimal_20261017/transientangelo/configs/captured.yaml ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Example adapted from the server designbuilding1 configuration; not verified Table 4 provenance.
2
+ name: stb-design_floor1_10views
3
+ tag: design_floor1_10views
4
+ seed: 42
5
+ dataset:
6
+ name: captured_dataset_ours
7
+ scene: design_floor1
8
+ root_dir: /work/runrong/project_all/shared_transient_metrics_20261016/references/design_floor1/poses/ten_views
9
+ num_views: '10'
10
+ gamma: false
11
+ intrinsics: /work/runrong/dataset/intrinsics.npy
12
+ measurement_root: /work/runrong/dataset/paper_data/design_floor1
13
+ data_exts: .npz,.txt,.pt,.h5,.hdf5
14
+ source_img_shape: null
15
+ n_bins: 672
16
+ bin_width_s: 7.5e-10
17
+ bin_width_s_loader: 7.5e-10
18
+ exposure_time: 0.2248443435
19
+ irf_path: /work/runrong/dataset/paper1_data/raw/new_IRF_global.csv
20
+ irf_column: irf
21
+ irf_half_window: 50
22
+ no_irf_reverse: false
23
+ apply_shift: true
24
+ strict_n_bins: true
25
+ transforms_dir: null
26
+ rfilter_sigma: 0.15
27
+ sample_as_per_distribution: false
28
+ meas_peak_min: 10.0
29
+ invalid_mask_path: /work/runrong/dataset/paper1_data/offset.txt
30
+ invalid_mask_invalid_gt: 10.0
31
+ img_wh:
32
+ - 256
33
+ - 192
34
+ img_downscale: 1
35
+ near_plane: 0.1
36
+ far_plane: 28.0
37
+ train_split: train
38
+ val_split: test
39
+ test_split: test
40
+ test_no: 2
41
+ var_increase: 1
42
+ photon_level: 0
43
+ use_bkgd_masking: false
44
+ model:
45
+ name: captured-neus
46
+ radius: 0.4
47
+ scene_aabb:
48
+ - -30.723363
49
+ - -32.531209
50
+ - -1.819858
51
+ - 30.377352
52
+ - 12.024207
53
+ - 9.260004
54
+ num_samples_per_ray: 4096
55
+ train_num_rays: 512
56
+ max_train_num_rays: 8192
57
+ grid_prune: true
58
+ grid_prune_occ_thre: 1.0e-07
59
+ grid_prune_occ_thre_warmup: 0.0001
60
+ grid_prune_occ_thre_warmup_steps: 2000
61
+ multi_ray_shooting: false
62
+ dynamic_ray_sampling: false
63
+ batch_image_sampling: true
64
+ use_transient_depth: true
65
+ use_reg_nerf: false
66
+ use_regnerf_viz: true
67
+ train_patch_size: 8
68
+ sparse_rays_size: 0
69
+ bounding_form: sphere
70
+ sample_boundary: true
71
+ write_poses: false
72
+ randomized: true
73
+ ray_chunk: 1024
74
+ cos_anneal_end: ${trainer.max_steps}
75
+ learned_background: false
76
+ background_color: black
77
+ variance:
78
+ init_val: 0.3
79
+ modulate: false
80
+ geometry:
81
+ name: volume-sdf
82
+ radius: ${model.radius}
83
+ feature_dim: 16
84
+ grad_type: finite_difference
85
+ finite_difference_eps: progressive
86
+ isosurface:
87
+ method: mc
88
+ resolution: 512
89
+ chunk: 2097152
90
+ threshold: 0.0
91
+ xyz_encoding_config:
92
+ otype: ProgressiveBandHashGrid
93
+ n_levels: 16
94
+ n_features_per_level: 2
95
+ log2_hashmap_size: 19
96
+ base_resolution: 32
97
+ per_level_scale: 1.3195079107728942
98
+ include_xyz: true
99
+ start_level: 4
100
+ start_step: 0
101
+ update_steps: 5000
102
+ mlp_network_config:
103
+ otype: VanillaMLP
104
+ activation: ReLU
105
+ output_activation: none
106
+ n_neurons: 64
107
+ n_hidden_layers: 1
108
+ sphere_init: true
109
+ sphere_init_radius: 0.5
110
+ weight_norm: true
111
+ texture:
112
+ name: volume-radiance
113
+ input_feature_dim: ${add:${model.geometry.feature_dim},3}
114
+ dir_encoding_config:
115
+ otype: SphericalHarmonics
116
+ degree: 4
117
+ mlp_network_config:
118
+ otype: FullyFusedMLP
119
+ activation: ReLU
120
+ output_activation: none
121
+ n_neurons: 64
122
+ n_hidden_layers: 2
123
+ color_activation: softplus
124
+ system:
125
+ name: captured-neus-system
126
+ depth_from_transient_peak_for_losses: true
127
+ save_train_full_view_vis: false
128
+ train_full_view_vis_every_n_steps: 1000
129
+ train_full_view_vis_view_index: 0
130
+ loss:
131
+ lambda_rgb_l1: 1.0
132
+ lambda_space_carving: 0.0
133
+ lambda_integrated_l1: 0.007
134
+ lambda_mask: 0.0
135
+ lambda_eikonal: 1.0e-05
136
+ lambda_eikonal_patch: 0.0
137
+ lambda_curvature: 0.0
138
+ lambda_surface: 0.0
139
+ lambda_normal: 0.0
140
+ lambda_distortion: 0.0
141
+ lambda_opaque: 0.0
142
+ lambda_depth_smoothness: 0.0
143
+ lambda_transient_noise: 0.0
144
+ lambda_argmax_consistency: 0.0
145
+ lambda_regnerf_sparse_depth_variance: 0.0
146
+ lambda_regnerf_depth_variance: 0.03
147
+ lambda_depth_variance: 0.0
148
+ lambda_sparsity: 0.0001
149
+ sparsity_scale: 100.0
150
+ optimizer:
151
+ name: AdamW
152
+ args:
153
+ lr: 0.001
154
+ betas:
155
+ - 0.9
156
+ - 0.99
157
+ eps: 1.0e-15
158
+ params:
159
+ geometry:
160
+ lr: 0.01
161
+ texture:
162
+ lr: 0.01
163
+ variance:
164
+ lr: 0.001
165
+ warmup_steps: 5000
166
+ scheduler:
167
+ name: SequentialLR
168
+ interval: step
169
+ milestones:
170
+ - ${system.warmup_steps}
171
+ schedulers:
172
+ - name: LinearLR
173
+ args:
174
+ start_factor: 0.01
175
+ end_factor: 1.0
176
+ total_iters: ${system.warmup_steps}
177
+ - name: ExponentialLR
178
+ args:
179
+ gamma: ${calc_exp_lr_decay_rate:0.1,${sub:${trainer.max_steps},${system.warmup_steps}}}
180
+ shared_reference_contract: /work/runrong/project_all/shared_transient_metrics_20261016/references/design_floor1/contract.json
181
+ checkpoint:
182
+ save_top_k: -1
183
+ every_n_train_steps: 10000
184
+ export:
185
+ chunk_size: 2097152
186
+ export_vertex_color: false
187
+ trainer:
188
+ max_steps: 150000
189
+ log_every_n_steps: 100
190
+ num_sanity_val_steps: 0
191
+ val_check_interval: 50000000
192
+ limit_train_batches: 1.0
193
+ limit_val_batches: 3
194
+ enable_progress_bar: true
195
+ precision: 16
196
+ trial_name: train
197
+ exp_dir: ./exp/design_floor1_10views
198
+ save_dir: ./exp/design_floor1_10views/save
199
+ ckpt_dir: ./exp/design_floor1_10views/ckpt
200
+ code_dir: ./exp/design_floor1_10views/code
201
+ config_dir: ./exp/design_floor1_10views/config
codes/reconstruction/stb_minimal_20261017/transientangelo/datasets/__init__.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ datasets = {}
2
+
3
+
4
+ def register(name):
5
+ def decorator(cls):
6
+ datasets[name] = cls
7
+ return cls
8
+ return decorator
9
+
10
+
11
+ def make(name, config):
12
+ dataset = datasets[name](config)
13
+ return dataset
14
+
15
+
16
+
17
+
18
+ from . import captured_dataset_ours
codes/reconstruction/stb_minimal_20261017/transientangelo/datasets/captured_dataset_ours.py ADDED
@@ -0,0 +1,717 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import os
3
+ from typing import Sequence, Tuple
4
+
5
+ import numpy as np
6
+ import pytorch_lightning as pl
7
+ import scipy.io as sio
8
+ import torch
9
+ import torch.nn.functional as F
10
+ from torch.utils.data import DataLoader, Dataset, IterableDataset
11
+ from tqdm import tqdm
12
+
13
+ import datasets as datasets
14
+ from models.ray_utils import find_mean_focus_point_regnerf
15
+ from models.utils import torch_laser_kernel
16
+ from utils.misc import get_rank
17
+
18
+
19
+ C = 299792458.0
20
+
21
+
22
+ def _cfg_get(config, key, default=None):
23
+ if hasattr(config, key):
24
+ return getattr(config, key)
25
+ if isinstance(config, dict):
26
+ return config.get(key, default)
27
+ return default
28
+
29
+
30
+ def _as_bool(v, default=False):
31
+ if v is None:
32
+ return default
33
+ if isinstance(v, bool):
34
+ return v
35
+ if isinstance(v, str):
36
+ return v.lower() in ("1", "true", "yes", "y", "on")
37
+ return bool(v)
38
+
39
+
40
+ def _to_numpy(x):
41
+ if isinstance(x, np.ndarray):
42
+ return x
43
+ if isinstance(x, torch.Tensor):
44
+ return x.detach().cpu().numpy()
45
+ return np.asarray(x)
46
+
47
+
48
+ def _normalize_index(idx: torch.Tensor, size: int) -> torch.Tensor:
49
+ if size <= 1:
50
+ return torch.zeros_like(idx)
51
+ return 2.0 * idx / float(size - 1) - 1.0
52
+
53
+
54
+ def _load_numpy_coo_npz(npz_path: str) -> np.ndarray:
55
+ pack = np.load(npz_path, allow_pickle=False)
56
+ try:
57
+ if "format" not in pack:
58
+ raise ValueError("missing 'format' key in npz")
59
+ fmt = str(np.asarray(pack["format"]).item())
60
+ if fmt != "coo_numpy":
61
+ raise ValueError(f"unsupported npz format tag: {fmt}")
62
+
63
+ shape = tuple(np.asarray(pack["shape"], dtype=np.int64).tolist())
64
+ row = np.asarray(pack["row"], dtype=np.int64)
65
+ col = np.asarray(pack["col"], dtype=np.int64)
66
+ data = np.asarray(pack["data"])
67
+
68
+ dense = np.zeros(shape, dtype=data.dtype)
69
+ np.add.at(dense, (row, col), data)
70
+ return dense
71
+ finally:
72
+ pack.close()
73
+
74
+
75
+ def _load_histogram_2d(path: str, dtype=np.float32) -> np.ndarray:
76
+ ext = os.path.splitext(path)[1].lower()
77
+ if ext == ".txt":
78
+ arr = np.loadtxt(path, dtype=dtype)
79
+ elif ext == ".npz":
80
+ try:
81
+ from scipy import sparse # type: ignore
82
+
83
+ arr = sparse.load_npz(path).toarray()
84
+ except Exception:
85
+ arr = _load_numpy_coo_npz(path)
86
+ if dtype is not None:
87
+ arr = np.asarray(arr, dtype=dtype)
88
+ else:
89
+ raise ValueError(f"unsupported histogram extension for 2D loader: {ext}")
90
+
91
+ arr = np.asarray(arr, dtype=dtype)
92
+ if arr.ndim == 1:
93
+ arr = arr.reshape(1, -1)
94
+ return arr
95
+
96
+
97
+ def _reshape_histogram_to_hwt(arr: np.ndarray, hw: Tuple[int, int]) -> torch.Tensor:
98
+ h, w = int(hw[0]), int(hw[1])
99
+ if arr.ndim == 3:
100
+ if arr.shape[0] == h and arr.shape[1] == w:
101
+ out = arr
102
+ elif arr.shape[0] == w and arr.shape[1] == h:
103
+ out = arr.transpose(1, 0, 2)
104
+ else:
105
+ raise ValueError(f"3D histogram shape {arr.shape} incompatible with target ({h}, {w}, T)")
106
+ return torch.from_numpy(np.asarray(out, dtype=np.float32))
107
+
108
+ if arr.ndim != 2:
109
+ raise ValueError(f"expected 2D/3D histogram array, got shape={arr.shape}")
110
+
111
+ if arr.shape[0] == h * w:
112
+ out = arr.reshape(h, w, arr.shape[1])
113
+ elif arr.shape[1] == h * w:
114
+ out = arr.T.reshape(h, w, arr.shape[0])
115
+ else:
116
+ raise ValueError(
117
+ f"2D histogram shape {arr.shape} does not match H*W={h*w}; "
118
+ "expected [H*W, bins] or [bins, H*W]."
119
+ )
120
+ return torch.from_numpy(np.asarray(out, dtype=np.float32))
121
+
122
+
123
+ def _load_valid_mask_from_offset(
124
+ offset_path: str,
125
+ source_hw: Tuple[int, int],
126
+ target_hw: Tuple[int, int],
127
+ invalid_gt: float = 10.0,
128
+ ) -> torch.Tensor:
129
+ ext = os.path.splitext(offset_path)[1].lower()
130
+ if ext == ".npy":
131
+ arr = np.load(offset_path).astype(np.float32)
132
+ else:
133
+ arr = np.loadtxt(offset_path, dtype=np.float32)
134
+ arr = np.asarray(arr, dtype=np.float32).squeeze()
135
+
136
+ src_h, src_w = int(source_hw[0]), int(source_hw[1])
137
+ if arr.ndim == 1:
138
+ if arr.size != src_h * src_w:
139
+ raise ValueError(
140
+ f"offset map length {arr.size} does not match source H*W={src_h*src_w}"
141
+ )
142
+ arr = arr.reshape(src_h, src_w)
143
+ elif arr.ndim == 2:
144
+ if arr.shape == (src_h, src_w):
145
+ pass
146
+ elif arr.shape == (src_w, src_h):
147
+ arr = arr.T
148
+ elif arr.size == src_h * src_w:
149
+ arr = arr.reshape(src_h, src_w)
150
+ else:
151
+ raise ValueError(
152
+ f"offset map shape {arr.shape} incompatible with source shape ({src_h}, {src_w})"
153
+ )
154
+ else:
155
+ raise ValueError(f"offset map must be 1D/2D, got shape={arr.shape}")
156
+
157
+ valid = (arr <= float(invalid_gt)).astype(np.float32)
158
+ valid_t = torch.from_numpy(valid)[None, None, ...]
159
+
160
+ dst_h, dst_w = int(target_hw[0]), int(target_hw[1])
161
+ if (src_h, src_w) != (dst_h, dst_w):
162
+ valid_t = F.interpolate(
163
+ valid_t,
164
+ size=(dst_h, dst_w),
165
+ mode="nearest",
166
+ )
167
+ return valid_t.squeeze(0).squeeze(0) > 0.5
168
+
169
+
170
+ def _load_measurement_histogram(path: str, hw: Tuple[int, int]) -> torch.Tensor:
171
+ ext = os.path.splitext(path)[1].lower()
172
+ if ext in (".txt", ".npz"):
173
+ arr = _load_histogram_2d(path, dtype=np.float32)
174
+ hist = _reshape_histogram_to_hwt(arr, hw)
175
+ elif ext == ".pt":
176
+ raw = torch.load(path, map_location="cpu")
177
+ if not isinstance(raw, torch.Tensor):
178
+ raise ValueError(f".pt file must contain a tensor: {path}")
179
+ hist = raw.to_dense() if raw.is_sparse else raw
180
+ hist = hist.to(torch.float32).cpu()
181
+ if hist.ndim == 2:
182
+ hist = _reshape_histogram_to_hwt(hist.numpy(), hw)
183
+ elif hist.ndim == 3:
184
+ pass
185
+ else:
186
+ raise ValueError(f"unsupported tensor shape in {path}: {tuple(hist.shape)}")
187
+ elif ext in (".h5", ".hdf5"):
188
+ try:
189
+ import h5py # type: ignore
190
+ except Exception as ex:
191
+ raise ImportError(f"h5/hdf5 requires h5py: {path}") from ex
192
+ with h5py.File(path, "r") as f:
193
+ if "data" in f:
194
+ arr = np.asarray(f["data"])
195
+ else:
196
+ dataset_keys = [k for k in f.keys() if hasattr(f[k], "shape")]
197
+ if not dataset_keys:
198
+ raise ValueError(f"h5 file has no dataset entries: {path}")
199
+ arr = np.asarray(f[dataset_keys[0]])
200
+ hist = _reshape_histogram_to_hwt(arr, hw)
201
+ else:
202
+ raise ValueError(f"unsupported measurement extension: {ext}")
203
+
204
+ if hist.ndim == 4 and hist.shape[-1] == 1:
205
+ hist = hist[..., 0]
206
+ if hist.ndim == 4 and hist.shape[-1] == 3:
207
+ hist = hist[..., 0]
208
+ if hist.ndim != 3:
209
+ raise ValueError(f"expected histogram shape [H,W,T], got {tuple(hist.shape)} from {path}")
210
+ return hist
211
+
212
+
213
+ def _parse_shift_for_grid(shift, hw: Tuple[int, int]):
214
+ h, w = int(hw[0]), int(hw[1])
215
+ arr = np.asarray(shift, dtype=np.float32)
216
+ if arr.ndim == 0:
217
+ return float(arr.item()), None
218
+
219
+ arr = arr.squeeze()
220
+ if arr.ndim == 0 or arr.size == 1:
221
+ return float(arr.reshape(-1)[0]), None
222
+
223
+ if arr.ndim == 1 and arr.size == h * w:
224
+ return 0.0, torch.from_numpy(arr.reshape(h, w))
225
+
226
+ if arr.ndim == 2:
227
+ shift_map = torch.from_numpy(arr.astype(np.float32))
228
+ if tuple(shift_map.shape) != (h, w):
229
+ shift_map = F.interpolate(
230
+ shift_map[None, None, ...],
231
+ size=(h, w),
232
+ mode="bilinear",
233
+ align_corners=True,
234
+ ).squeeze(0).squeeze(0)
235
+ return 0.0, shift_map
236
+
237
+ return float(arr.reshape(-1)[0]), None
238
+
239
+
240
+ def _build_shift_grid(
241
+ hw: Tuple[int, int],
242
+ n_bins: int,
243
+ shift,
244
+ bin_width_s: float,
245
+ device: str = "cpu",
246
+ ) -> torch.Tensor:
247
+ h, w = int(hw[0]), int(hw[1])
248
+ exposure_time = C * float(bin_width_s)
249
+ shift_scalar, shift_map = _parse_shift_for_grid(shift, hw)
250
+
251
+ z = torch.arange(n_bins, device=device, dtype=torch.float32)[:, None, None]
252
+ z = z * exposure_time / 2.0
253
+ if shift_map is not None:
254
+ z = z - shift_map.to(device)[None, ...]
255
+ else:
256
+ z = z - float(shift_scalar)
257
+ z = z * 2.0 / exposure_time
258
+ z = _normalize_index(z, n_bins)
259
+
260
+ x = _normalize_index(torch.arange(w, device=device, dtype=torch.float32), w)
261
+ y = _normalize_index(torch.arange(h, device=device, dtype=torch.float32), h)
262
+
263
+ x = x[None, None, :].expand(n_bins, h, w)
264
+ y = y[None, :, None].expand(n_bins, h, w)
265
+ z = z.expand(n_bins, h, w)
266
+
267
+ grid = torch.stack((x, y, z), dim=-1)[None, ...]
268
+ return grid
269
+
270
+
271
+ def _apply_shift(hist: torch.Tensor, shift, bin_width_s: float) -> torch.Tensor:
272
+ h, w, t = hist.shape
273
+ grid = _build_shift_grid((h, w), t, shift, bin_width_s, device=hist.device)
274
+ hist_dhw = hist.permute(2, 0, 1)[None, None, ...]
275
+ shifted = F.grid_sample(hist_dhw, grid, align_corners=True)
276
+ return shifted.squeeze(0).squeeze(0).permute(1, 2, 0)
277
+
278
+
279
+ def _resize_hist_spatial(hist: torch.Tensor, target_hw: Tuple[int, int]) -> torch.Tensor:
280
+ target_h, target_w = int(target_hw[0]), int(target_hw[1])
281
+ h, w, _ = hist.shape
282
+ if (h, w) == (target_h, target_w):
283
+ return hist
284
+ hist_chw = hist.permute(2, 0, 1)[None, ...]
285
+ resized = F.interpolate(hist_chw, size=(target_h, target_w), mode="area")
286
+ return resized.squeeze(0).permute(1, 2, 0)
287
+
288
+
289
+ def _parse_data_exts(raw) -> Tuple[str, ...]:
290
+ if raw is None:
291
+ return (".npz", ".txt", ".pt", ".h5", ".hdf5")
292
+ if isinstance(raw, str):
293
+ return tuple(e.strip() for e in raw.split(",") if e.strip())
294
+ return tuple(str(e).strip() for e in raw if str(e).strip())
295
+
296
+
297
+ def _resolve_measurement_path(
298
+ data_dir: str,
299
+ split: str,
300
+ frame_file_path: str,
301
+ measurement_root: str = None,
302
+ data_exts: Sequence[str] = (".npz", ".txt", ".pt", ".h5", ".hdf5"),
303
+ ) -> str:
304
+ raw = str(frame_file_path)
305
+ if os.path.isabs(raw) and os.path.isfile(raw):
306
+ return raw
307
+
308
+ rel = raw.replace("\\", "/").lstrip("./")
309
+ base = os.path.basename(rel)
310
+ stem, ext = os.path.splitext(base)
311
+ rel_stem = os.path.splitext(rel)[0]
312
+
313
+ roots = []
314
+ if measurement_root:
315
+ roots.extend([measurement_root, os.path.join(measurement_root, split)])
316
+ roots.extend([data_dir, os.path.join(data_dir, split)])
317
+
318
+ seen_roots = set()
319
+ unique_roots = []
320
+ for r in roots:
321
+ rr = os.path.normpath(r)
322
+ if rr not in seen_roots:
323
+ unique_roots.append(rr)
324
+ seen_roots.add(rr)
325
+
326
+ if ext:
327
+ for root in unique_roots:
328
+ for rel_name in (rel, base):
329
+ cand = os.path.normpath(os.path.join(root, rel_name))
330
+ if os.path.isfile(cand):
331
+ return cand
332
+
333
+ for root in unique_roots:
334
+ for data_ext in data_exts:
335
+ for rel_name in (rel_stem + data_ext, stem + data_ext):
336
+ cand = os.path.normpath(os.path.join(root, rel_name))
337
+ if os.path.isfile(cand):
338
+ return cand
339
+
340
+ raise FileNotFoundError(
341
+ f"Cannot resolve measurement file for frame '{frame_file_path}'. "
342
+ f"Searched roots={unique_roots}, exts={tuple(data_exts)}."
343
+ )
344
+
345
+
346
+ def _load_irf_series(path: str, column: str = "irf") -> np.ndarray:
347
+ ext = os.path.splitext(path)[1].lower()
348
+ if ext == ".csv":
349
+ try:
350
+ import pandas as pd # type: ignore
351
+
352
+ df = pd.read_csv(path, sep=",")
353
+ if column in df.columns:
354
+ arr = df[column].to_numpy(dtype=np.float64)
355
+ else:
356
+ numeric_cols = [c for c in df.columns if np.issubdtype(df[c].dtype, np.number)]
357
+ if not numeric_cols:
358
+ raise ValueError(f"No numeric columns found in IRF CSV: {path}")
359
+ arr = df[numeric_cols[0]].to_numpy(dtype=np.float64)
360
+ return arr.squeeze()
361
+ except Exception:
362
+ try:
363
+ arr = np.genfromtxt(path, delimiter=",", names=True, dtype=np.float64)
364
+ if arr.dtype.names and column in arr.dtype.names:
365
+ return np.asarray(arr[column], dtype=np.float64).squeeze()
366
+ except Exception:
367
+ pass
368
+ raw = np.loadtxt(path, delimiter=",", dtype=np.float64)
369
+ if raw.ndim == 1:
370
+ return raw.squeeze()
371
+ return raw[:, 0].squeeze()
372
+ if ext == ".npy":
373
+ return np.load(path).astype(np.float64).squeeze()
374
+ if ext == ".mat":
375
+ mat = sio.loadmat(path)
376
+ if "out" in mat:
377
+ return _to_numpy(mat["out"]).astype(np.float64).squeeze()
378
+ for value in mat.values():
379
+ if isinstance(value, np.ndarray) and value.ndim >= 1 and value.size > 1:
380
+ return _to_numpy(value).astype(np.float64).squeeze()
381
+ raise ValueError(f"Cannot find valid IRF series in mat file: {path}")
382
+ if ext == ".pt":
383
+ return _to_numpy(torch.load(path, map_location="cpu")).astype(np.float64).squeeze()
384
+ raise ValueError(f"Unsupported IRF extension: {ext}")
385
+
386
+
387
+ def _build_laser_from_config(config) -> torch.Tensor:
388
+ irf_path = _cfg_get(config, "irf_path", None)
389
+ if not irf_path:
390
+ irf_path = _cfg_get(config, "pulse_path", None)
391
+ if not irf_path:
392
+ raise ValueError("IRF path is empty. Set dataset.irf_path or dataset.pulse_path.")
393
+
394
+ irf_column = str(_cfg_get(config, "irf_column", "irf"))
395
+ irf_half_window = int(_cfg_get(config, "irf_half_window", 50))
396
+ no_irf_reverse = _as_bool(_cfg_get(config, "no_irf_reverse", False))
397
+
398
+ irf = _load_irf_series(irf_path, irf_column)
399
+ if irf.ndim != 1:
400
+ irf = irf.reshape(-1)
401
+ if irf.size == 0:
402
+ raise ValueError(f"Loaded empty IRF from: {irf_path}")
403
+
404
+ peak_idx = int(np.argmax(irf))
405
+ if irf_half_window > 0:
406
+ lo = max(0, peak_idx - irf_half_window)
407
+ hi = min(len(irf), peak_idx + irf_half_window + 1)
408
+ irf = irf[lo:hi]
409
+
410
+ irf = irf / (irf.sum() + 1e-8)
411
+ if not no_irf_reverse:
412
+ irf = irf[::-1].copy()
413
+ return torch.tensor(irf, dtype=torch.float32)
414
+
415
+
416
+ def _resolve_transforms_path(root_dir: str, split: str, config) -> str:
417
+ transforms_dir = _cfg_get(config, "transforms_dir", None)
418
+ dirs = [transforms_dir] if transforms_dir else []
419
+ dirs.append(root_dir)
420
+
421
+ candidates = []
422
+ for d in dirs:
423
+ candidates.append(os.path.join(d, f"transforms_{split}.json"))
424
+
425
+ if split in ("train", "val"):
426
+ for d in dirs:
427
+ candidates.append(os.path.join(d, "transforms_train.json"))
428
+
429
+ num_views = _cfg_get(config, "num_views", None)
430
+ if num_views:
431
+ candidates.append(os.path.join(root_dir, "final_cams", f"{num_views}_views", f"transforms_{split}.json"))
432
+ candidates.append(os.path.join(root_dir, "final_cams", f"{num_views}_views", "transforms_train.json"))
433
+ candidates.append(os.path.join(root_dir, "final_cams", "test_jsons", f"transforms_{split}.json"))
434
+
435
+ seen = set()
436
+ for cand in candidates:
437
+ norm = os.path.normpath(cand)
438
+ if norm in seen:
439
+ continue
440
+ seen.add(norm)
441
+ if os.path.isfile(norm):
442
+ return norm
443
+ raise FileNotFoundError(f"Cannot find transforms json for split='{split}'. Tried: {candidates}")
444
+
445
+
446
+ class LearnRaysCustom(torch.nn.Module):
447
+ def __init__(self, rays, device="cuda:0", img_shape=(256, 256)):
448
+ super().__init__()
449
+ self.device = device
450
+ self.height = int(img_shape[0])
451
+ self.width = int(img_shape[1])
452
+
453
+ rays = np.asarray(rays, dtype=np.float32)
454
+ if rays.ndim != 3 or rays.shape[-1] != 3:
455
+ raise ValueError(f"rays must be [H,W,3], got shape={rays.shape}")
456
+
457
+ rays_t = torch.from_numpy(rays).to(self.device)
458
+ if tuple(rays_t.shape[:2]) != (self.height, self.width):
459
+ rays_t = F.interpolate(
460
+ rays_t.permute(2, 0, 1)[None, ...],
461
+ size=(self.height, self.width),
462
+ mode="bilinear",
463
+ align_corners=True,
464
+ ).squeeze(0).permute(1, 2, 0)
465
+
466
+ rays_t = rays_t / torch.linalg.norm(rays_t, dim=-1, keepdims=True).clamp_min(1e-8)
467
+ self.rays = rays_t
468
+
469
+ def forward(self, x0, y0):
470
+ rays = self.rays
471
+ x0 = x0.to(rays.device).float()
472
+ y0 = y0.to(rays.device).float()
473
+
474
+ x1 = torch.floor(x0)
475
+ y1 = torch.floor(y0)
476
+ x2 = x1 + 1
477
+ y2 = y1 + 1
478
+
479
+ x1 = torch.clip(x1, 0, self.width - 1)
480
+ y1 = torch.clip(y1, 0, self.height - 1)
481
+ x2 = torch.clip(x2, 0, self.width - 1)
482
+ y2 = torch.clip(y2, 0, self.height - 1)
483
+
484
+ wx2 = ((x0 - x1) / (x2 - x1 + 1e-8))[:, None]
485
+ wx1 = 1.0 - wx2
486
+ wy2 = ((y0 - y1) / (y2 - y1 + 1e-8))[:, None]
487
+ wy1 = 1.0 - wy2
488
+
489
+ x1 = x1.long()
490
+ y1 = y1.long()
491
+ x2 = x2.long()
492
+ y2 = y2.long()
493
+
494
+ out = (
495
+ wx1 * wy1 * rays[y1, x1]
496
+ + wx1 * wy2 * rays[y2, x1]
497
+ + wx2 * wy1 * rays[y1, x2]
498
+ + wx2 * wy2 * rays[y2, x2]
499
+ )
500
+ out = out / torch.linalg.norm(out, dim=-1, keepdims=True).clamp_min(1e-8)
501
+ return out.float()
502
+
503
+
504
+ class CapturedDatasetOursBase:
505
+ def setup(self, config, split):
506
+ self.config = config
507
+ self.split = split
508
+ self.rank = get_rank()
509
+ self.device = f"cuda:{self.rank}" if torch.cuda.is_available() else "cpu"
510
+ self.OPENGL_CAMERA = True
511
+ self.apply_mask = False
512
+ self.has_mask = False
513
+ self.rep = 1
514
+ self.rep_number = 30
515
+ self.sample_as_per_distribution = _as_bool(_cfg_get(config, "sample_as_per_distribution", False))
516
+ self.rfilter_sigma = float(_cfg_get(config, "rfilter_sigma", 0.1))
517
+
518
+ self.scene = str(_cfg_get(config, "scene", "custom"))
519
+ self.n_views = str(_cfg_get(config, "num_views", "custom"))
520
+ self.near = float(_cfg_get(config, "near_plane", 0.0))
521
+ self.far = float(_cfg_get(config, "far_plane", 6.0))
522
+ self.depth_path = os.path.join(_cfg_get(config, "root_dir", "."), "depth")
523
+
524
+ self.n_bins = int(_cfg_get(config, "n_bins", 1500))
525
+ bin_width_cfg = _cfg_get(config, "bin_width_s", None)
526
+ if bin_width_cfg is None:
527
+ bin_width_cfg = _cfg_get(config, "bin_width_s_loader", None)
528
+ exposure_cfg = _cfg_get(config, "exposure_time", None)
529
+ if bin_width_cfg is not None:
530
+ self.bin_width_s = float(bin_width_cfg)
531
+ elif exposure_cfg is not None:
532
+ self.bin_width_s = float(exposure_cfg) / C
533
+ else:
534
+ self.bin_width_s = 4e-12
535
+
536
+ if exposure_cfg is not None:
537
+ self.exposure_time = float(exposure_cfg)
538
+ else:
539
+ self.exposure_time = C * self.bin_width_s
540
+ self.transient_scale = 1.0
541
+ self.div_vals = {self.scene: 1.0}
542
+
543
+ params = np.load(self.config.intrinsics, allow_pickle=True)[()]
544
+ self.shift = _to_numpy(params["shift"])
545
+ self.rays = _to_numpy(params["rays"])
546
+
547
+ laser = _build_laser_from_config(config).to(torch.float32).to(self.device)
548
+ self.laser = laser
549
+ self.laser_kernel = torch_laser_kernel(self.laser, device=self.device)
550
+
551
+ transforms_path = _resolve_transforms_path(self.config.root_dir, split, config)
552
+ with open(transforms_path, "r", encoding="utf-8") as f:
553
+ meta = json.load(f)
554
+ self.meta = meta
555
+
556
+ if "w" in meta and "h" in meta:
557
+ W, H = int(meta["w"]), int(meta["h"])
558
+ else:
559
+ H, W = int(self.rays.shape[0]), int(self.rays.shape[1])
560
+
561
+ img_wh = _cfg_get(config, "img_wh", None)
562
+ img_downscale = _cfg_get(config, "img_downscale", None)
563
+ if img_wh is not None:
564
+ w, h = int(img_wh[0]), int(img_wh[1])
565
+ elif img_downscale is not None:
566
+ w, h = W // int(img_downscale), H // int(img_downscale)
567
+ else:
568
+ w, h = W, H
569
+ self.w, self.h = w, h
570
+ self.img_wh = (self.w, self.h)
571
+
572
+ source_img_shape = _cfg_get(config, "source_img_shape", None)
573
+ if source_img_shape is None:
574
+ source_hw = (int(self.rays.shape[0]), int(self.rays.shape[1]))
575
+ else:
576
+ source_hw = (int(source_img_shape[0]), int(source_img_shape[1]))
577
+
578
+ invalid_mask_path = _cfg_get(config, "invalid_mask_path", None)
579
+ if invalid_mask_path is not None:
580
+ invalid_mask_path = str(invalid_mask_path).strip()
581
+ if invalid_mask_path.lower() in ("", "none", "null"):
582
+ invalid_mask_path = None
583
+ invalid_mask_invalid_gt = float(_cfg_get(config, "invalid_mask_invalid_gt", 10.0))
584
+ if invalid_mask_path:
585
+ self.valid_mask = _load_valid_mask_from_offset(
586
+ invalid_mask_path,
587
+ source_hw=source_hw,
588
+ target_hw=(self.h, self.w),
589
+ invalid_gt=invalid_mask_invalid_gt,
590
+ ).to(torch.bool)
591
+ self.has_mask = not bool(torch.all(self.valid_mask))
592
+ else:
593
+ self.valid_mask = torch.ones((self.h, self.w), dtype=torch.bool)
594
+ self.has_mask = False
595
+
596
+ measurement_root = _cfg_get(config, "measurement_root", None)
597
+ measurement_root = str(measurement_root).strip() if measurement_root else None
598
+ data_exts = _parse_data_exts(_cfg_get(config, "data_exts", None))
599
+ apply_shift = _as_bool(_cfg_get(config, "apply_shift", True), True)
600
+ strict_n_bins = _as_bool(_cfg_get(config, "strict_n_bins", True), True)
601
+
602
+ images = []
603
+ c2ws = []
604
+ fg_masks = []
605
+ for frame in tqdm(meta["frames"], desc=f"Processing {self.split} frames"):
606
+ file_key = frame.get("file_path", frame.get("filepath"))
607
+ if file_key is None:
608
+ raise KeyError("Each frame must contain 'file_path' or 'filepath'.")
609
+
610
+ meas_path = _resolve_measurement_path(
611
+ data_dir=self.config.root_dir,
612
+ split=split,
613
+ frame_file_path=file_key,
614
+ measurement_root=measurement_root,
615
+ data_exts=data_exts,
616
+ )
617
+ hist = _load_measurement_histogram(meas_path, source_hw).to(torch.float32).cpu()
618
+ hist = torch.clip(hist, min=0.0)
619
+
620
+ if apply_shift:
621
+ hist = _apply_shift(hist, shift=self.shift, bin_width_s=self.bin_width_s)
622
+
623
+ if hist.shape[-1] != self.n_bins:
624
+ if strict_n_bins:
625
+ raise ValueError(
626
+ f"Histogram bins mismatch for '{meas_path}': got {hist.shape[-1]}, expected {self.n_bins}."
627
+ )
628
+ if hist.shape[-1] > self.n_bins:
629
+ hist = hist[..., : self.n_bins]
630
+ else:
631
+ pad = self.n_bins - int(hist.shape[-1])
632
+ hist = F.pad(hist, (0, pad), mode="constant", value=0.0)
633
+
634
+ hist = _resize_hist_spatial(hist, (self.h, self.w))
635
+ images.append(hist[..., None].repeat(1, 1, 1, 3))
636
+ c2ws.append(np.asarray(frame["transform_matrix"], dtype=np.float32))
637
+ fg_masks.append(self.valid_mask.to(torch.float32))
638
+
639
+ self.all_images = torch.stack(images, dim=0).to(torch.float32)
640
+ self.all_c2w = torch.from_numpy(np.stack(c2ws, axis=0)).to(torch.float32)
641
+ self.all_fg_masks = torch.stack(fg_masks, dim=0).to(torch.float32)
642
+
643
+ max_value = self.all_images.max().clamp_min(1e-8)
644
+ self.all_images = self.all_images / max_value
645
+ self.focal = max_value
646
+
647
+ self.K = LearnRaysCustom(self.rays, device=self.device, img_shape=(self.h, self.w)).to(self.device)
648
+ known_rotation_matrices = self.all_c2w[:, :3, :3]
649
+ optical_axes = known_rotation_matrices[..., 2]
650
+ known_camera_locations = self.all_c2w[:, :3, -1]
651
+ self.mean_focus_point = find_mean_focus_point_regnerf(known_camera_locations, optical_axes)
652
+
653
+
654
+ class CapturedDatasetOurs(Dataset, CapturedDatasetOursBase):
655
+ def __init__(self, config, split):
656
+ self.setup(config, split)
657
+
658
+ def __len__(self):
659
+ return len(self.all_c2w)
660
+
661
+ def __getitem__(self, index):
662
+ return {"index": index}
663
+
664
+
665
+ class CapturedIterableDatasetOurs(IterableDataset, CapturedDatasetOursBase):
666
+ def __init__(self, config, split):
667
+ self.setup(config, split)
668
+
669
+ def __iter__(self):
670
+ while True:
671
+ yield {}
672
+
673
+
674
+ @datasets.register("captured_dataset_ours")
675
+ class CapturedDataOursModule(pl.LightningDataModule):
676
+ def __init__(self, config):
677
+ super().__init__()
678
+ self.config = config
679
+
680
+ def setup(self, stage=None):
681
+ if stage in [None, "fit"]:
682
+ self.train_dataset = CapturedIterableDatasetOurs(self.config, self.config.train_split)
683
+ if stage in [None, "fit", "validate"]:
684
+ self.val_dataset = CapturedDatasetOurs(self.config, self.config.val_split)
685
+ if stage in [None, "test"]:
686
+ self.test_dataset = CapturedDatasetOurs(self.config, self.config.test_split)
687
+ if stage in [None, "predict"]:
688
+ self.predict_dataset = CapturedDatasetOurs(self.config, self.config.train_split)
689
+
690
+ def prepare_data(self):
691
+ pass
692
+
693
+ def general_loader(self, dataset, batch_size):
694
+ sampler = None
695
+ num_workers = int(_cfg_get(self.config, "num_workers", 0))
696
+ pin_memory = _as_bool(_cfg_get(self.config, "pin_memory", True), True)
697
+ persistent_workers = num_workers > 0
698
+ return DataLoader(
699
+ dataset,
700
+ num_workers=num_workers,
701
+ batch_size=batch_size,
702
+ pin_memory=pin_memory,
703
+ persistent_workers=persistent_workers,
704
+ sampler=sampler,
705
+ )
706
+
707
+ def train_dataloader(self):
708
+ return self.general_loader(self.train_dataset, batch_size=1)
709
+
710
+ def val_dataloader(self):
711
+ return self.general_loader(self.val_dataset, batch_size=1)
712
+
713
+ def test_dataloader(self):
714
+ return self.general_loader(self.test_dataset, batch_size=1)
715
+
716
+ def predict_dataloader(self):
717
+ return self.general_loader(self.predict_dataset, batch_size=1)
codes/reconstruction/stb_minimal_20261017/transientangelo/eval.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ """The only public evaluation entry: render predictions or score saved histograms."""
2
+ from evaluation.cli import main
3
+
4
+ if __name__ == "__main__":
5
+ main()
codes/reconstruction/stb_minimal_20261017/transientangelo/evaluation/__init__.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ """Common count-domain transient evaluation, independent of model training units."""
2
+ PROTOCOL = 'shared_transient_counts_v4_20261016'
3
+ TRANSIENT_KEYS = ('histogram_psnr', 'histogram_mse_counts', 'histogram_mae_counts',
4
+ 'depth_l1_m', 'transient_iou')
codes/reconstruction/stb_minimal_20261017/transientangelo/evaluation/cli.py ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """One entry point and one protocol, for all three methods."""
2
+ import argparse
3
+ import json
4
+ import sys
5
+ from pathlib import Path
6
+
7
+ def main():
8
+ parser = argparse.ArgumentParser(description=__doc__)
9
+ parser.add_argument('source', choices=('render', 'saved'),
10
+ help='render a checkpoint, or score unmodified saved histograms')
11
+ if len(sys.argv) < 2 or sys.argv[1] in ('-h', '--help'):
12
+ parser.print_help()
13
+ return
14
+ mode = parser.parse_args(sys.argv[1:2]).source
15
+ sys.argv = [sys.argv[0]] + sys.argv[2:]
16
+ from . import renderer
17
+ if mode == 'render':
18
+ return renderer.main()
19
+ from .evaluator import EvaluationRun
20
+ from .io import load_histogram, write_json, sha256
21
+ p = argparse.ArgumentParser(description='Score saved histograms with the same V4 evaluator as render.')
22
+ p.add_argument('--prediction-dir', required=True)
23
+ p.add_argument('--prediction-pattern', default='{view}_transient_array.npy')
24
+ p.add_argument('--prediction-scale', type=float, required=True,
25
+ help='ACTUAL TRAINING normalization; 1 only for full-count exports')
26
+ p.add_argument('--prediction-gamma', type=float, default=1.)
27
+ p.add_argument('--prediction-bin-width-s', type=float, required=True)
28
+ p.add_argument('--prediction-manifest', required=True,
29
+ help='Actual rendered frames and poses, in prediction-file order')
30
+ p.add_argument('--shared-reference-contract', required=True)
31
+ p.add_argument('--output', required=True)
32
+ p.add_argument('--device', default='cpu')
33
+ a = p.parse_args()
34
+ a.bin_width_s_loader = a.prediction_bin_width_s
35
+ a.n_bins = json.loads(Path(a.shared_reference_contract).read_text())['n_bins']
36
+ manifest = json.loads(Path(a.prediction_manifest).read_text())
37
+ if (Path(a.output)/'prediction_manifest.json').resolve() == Path(a.prediction_manifest).resolve():
38
+ raise ValueError('Use a separate output directory to preserve the source manifest')
39
+ # Generated manifests are binding; do not silently override their physical units.
40
+ for key, actual in [('prediction_scale', a.prediction_scale),
41
+ ('prediction_gamma', a.prediction_gamma),
42
+ ('bin_width_s', a.prediction_bin_width_s)]:
43
+ if key in manifest and float(manifest[key]) != actual:
44
+ raise ValueError('Prediction manifest disagrees with '+key)
45
+ frames = manifest['frames']
46
+ run = EvaluationRun(renderer.PROJECT, a, a.output, frames, a.prediction_scale,
47
+ a.prediction_gamma, rendering=manifest.get('rendering'))
48
+ run.evaluator.metadata.update(prediction_manifest=str(Path(a.prediction_manifest).resolve()),
49
+ prediction_manifest_sha256=sha256(a.prediction_manifest))
50
+ write_json(run.evaluator.output/'evaluation_protocol.json', run.evaluator.metadata)
51
+ for i, frame in enumerate(frames):
52
+ path = Path(a.prediction_dir)/a.prediction_pattern.format(view=i, stem=Path(frame['file_path']).stem)
53
+ run.score(load_histogram(path), i)
54
+ print(run.finish())
codes/reconstruction/stb_minimal_20261017/transientangelo/evaluation/core.py ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Pure NumPy scoring. No data-dependent exposure fitting or upper clipping."""
2
+ import numpy as np
3
+
4
+ C = 299792458.0
5
+
6
+ def positive(x, name):
7
+ x = float(x)
8
+ if not np.isfinite(x) or x <= 0:
9
+ raise ValueError(name + ' must be finite and positive')
10
+ return x
11
+
12
+ def histogram(x):
13
+ if hasattr(x, 'detach'):
14
+ x = x.detach().cpu().numpy()
15
+ x = np.asarray(x)
16
+ if x.ndim == 3:
17
+ x = x[..., None]
18
+ if x.ndim != 4 or x.shape[-1] not in (1, 3) or min(x.shape) <= 0:
19
+ raise ValueError('Expected H x W x T x (1 or 3) histogram')
20
+ return x
21
+
22
+ def decode(x, scale, gamma=1.0):
23
+ """Inverse training encoding, applied per bin before any summation."""
24
+ scale, gamma = positive(scale, 'training scale'), positive(gamma, 'gamma')
25
+ x = np.asarray(x, dtype=np.float64)
26
+ if not np.isfinite(x).all() or np.any(x < 0):
27
+ raise ValueError('Histogram must be finite and nonnegative, even outside the mask')
28
+ y = np.power(x, gamma) * scale if gamma != 1.0 else x * scale
29
+ if not np.isfinite(y).all():
30
+ raise ValueError('Count decoding overflow')
31
+ return y
32
+
33
+ def score_histograms(prediction, reference, mask, *, prediction_scale,
34
+ reference_scale, histogram_peak, bin_width_s,
35
+ prediction_gamma=1.0, row_chunk=4):
36
+ """MSE over all bins/channels of GT-valid pixels, using a frozen train peak.
37
+
38
+ A one-channel capture is broadcast to RGB when necessary. All RGB channels
39
+ enter MSE; peak depth uses their arithmetic mean. Chunking bounds RAM use.
40
+ """
41
+ pred, ref = histogram(prediction), histogram(reference)
42
+ if pred.shape[:3] != ref.shape[:3]:
43
+ raise ValueError('Prediction/reference pixel grid or temporal window differs')
44
+ mask = np.asarray(mask)
45
+ if mask.shape != pred.shape[:2] or not np.isin(mask, [0, 1]).all():
46
+ raise ValueError('Expected binary HW reference-only mask')
47
+ mask = mask.astype(bool)
48
+ if not mask.any():
49
+ raise ValueError('No valid reference pixels')
50
+ peak = positive(histogram_peak, 'fixed histogram peak')
51
+ dt = positive(bin_width_s, 'physical bin width')
52
+ if int(row_chunk) != row_chunk or row_chunk < 1:
53
+ raise ValueError('row_chunk must be a positive integer')
54
+ h, w, t = pred.shape[:3]
55
+ channels = max(pred.shape[-1], ref.shape[-1])
56
+ ip, ig = np.zeros((h,w,3)), np.zeros((h,w,3))
57
+ dp, dg = np.zeros((h,w)), np.zeros((h,w))
58
+ squared = absolute = intersection = union = 0.0
59
+ for start in range(0,h,int(row_chunk)):
60
+ sl = slice(start,min(h,start+int(row_chunk)))
61
+ p = decode(pred[sl], prediction_scale, prediction_gamma)
62
+ g = decode(ref[sl], reference_scale)
63
+ ip[sl] = np.broadcast_to(p.sum(axis=-2), (len(p),w,3))
64
+ ig[sl] = np.broadcast_to(g.sum(axis=-2), (len(g),w,3))
65
+ dp[sl] = p.mean(axis=-1).argmax(axis=-1) * C * dt / 2.0
66
+ dg[sl] = g.mean(axis=-1).argmax(axis=-1) * C * dt / 2.0
67
+ a,b = np.broadcast_arrays(p[mask[sl]], g[mask[sl]])
68
+ error = a-b
69
+ squared += np.square(error).sum(dtype=np.float64)
70
+ absolute += np.abs(error).sum(dtype=np.float64)
71
+ intersection += np.minimum(a,b).sum(dtype=np.float64)
72
+ union += np.maximum(a,b).sum(dtype=np.float64)
73
+ count = int(mask.sum()) * t * channels
74
+ mse = squared/count
75
+ psnr = float(20*np.log10(peak)-10*np.log10(mse)) if mse>0 else float('inf')
76
+ scores = dict(histogram_psnr=psnr, histogram_mse_counts=float(mse),
77
+ histogram_mae_counts=float(absolute/count),
78
+ depth_l1_m=float(np.abs(dp[mask]-dg[mask]).mean()),
79
+ transient_iou=float(intersection/union) if union>0 else 1.0)
80
+ return scores, dict(prediction=ip, reference=ig, mask=mask,
81
+ prediction_depth=dp, reference_depth=dg)
codes/reconstruction/stb_minimal_20261017/transientangelo/evaluation/evaluator.py ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Frame-bound common scoring adapter for all three native and saved entrances."""
2
+ import json
3
+ import operator
4
+ import os
5
+ from pathlib import Path
6
+ import subprocess
7
+ import sys
8
+ import numpy as np
9
+ from . import PROTOCOL
10
+ from .core import C,positive,score_histograms
11
+ from .io import sha256,verified,load_histogram,write_json
12
+
13
+ BASE=Path(__file__).resolve().parent.parent
14
+ PYTHON=os.environ.get('STB_METRICS_PYTHON') or '/work/runrong/.conda/envs/transientangelo/bin/python'
15
+
16
+ def resolve_contract(args):
17
+ explicit=getattr(args,'shared_reference_contract',None) or os.environ.get('SHARED_REFERENCE_CONTRACT')
18
+ if explicit:return Path(explicit).resolve()
19
+ measurement=getattr(args,'measurement_root',None)
20
+ matches=[]
21
+ for p in Path(os.environ.get('STB_REFERENCE_ROOT', str(BASE/'references'))).glob('*/contract.json'):
22
+ d=json.loads(p.read_text())
23
+ if measurement and Path(d['measurement_root']).resolve()==Path(measurement).resolve():matches.append(p)
24
+ if len(matches)!=1:
25
+ raise ValueError('A prepared V4 canonical reference is required. Pass --shared-reference-contract '
26
+ 'with the matching contract.json; no legacy/test-scale fallback.')
27
+ return matches[0]
28
+
29
+ class UnifiedEvaluator:
30
+ def __init__(self,project,args,output_dir,frames):
31
+ if project not in ('trnerf','transientangelo','FlyingWithPhotons'):raise ValueError('Unknown project')
32
+ if not Path(PYTHON).is_file():raise FileNotFoundError('Set STB_METRICS_PYTHON to the common evaluation Python: '+str(PYTHON))
33
+ self.project=project;self.path=resolve_contract(args);self.digest=sha256(self.path)
34
+ self.contract=c=json.loads(self.path.read_text())
35
+ if c.get('protocol')!=PROTOCOL:
36
+ raise ValueError('V4 needs a histogram reference contract, not an intensity-only V2/V3 contract')
37
+ self.peak=positive(c['histogram_peak'],'fixed training histogram peak')
38
+ self.display_scale=positive(c['display_scale'],'fixed training display scale')
39
+ dt=positive(c['bin_width_s'],'reference bin width')
40
+ if not c.get('training_frames') or not c.get('scale_policy') or c.get('time_start')!=0:
41
+ raise ValueError('Missing frozen training-scale provenance or invalid time origin')
42
+ for k in ('height','width','n_bins'):
43
+ if type(c[k]) is not int or c[k]<=0:raise ValueError('Invalid '+k)
44
+ measurement=getattr(args,'measurement_root',None)
45
+ if measurement and Path(measurement).resolve()!=Path(c['measurement_root']).resolve():
46
+ raise ValueError('Measurement scene does not match reference')
47
+ intrinsics=getattr(args,'intrinsics',None) or getattr(args,'intrinsics_path',None)
48
+ if intrinsics and sha256(intrinsics)!=c['intrinsics_sha256']:raise ValueError('Calibration mismatch')
49
+ actual=getattr(args,'bin_width_s_loader',None)
50
+ if actual is None:actual=getattr(args,'bin_width_s',None)
51
+ if actual is None and hasattr(args,'exposure_time'):
52
+ actual=float(args.exposure_time)/(C/2 if project=='FlyingWithPhotons' else C)
53
+ if actual is None or not np.isclose(float(actual),dt,rtol=1e-6,atol=0):raise ValueError('Physical bin width mismatch/missing')
54
+ # FWP uses one-way range/bin; verify it even when a loader override exists.
55
+ if project=='FlyingWithPhotons' and hasattr(args,'exposure_time'):
56
+ if not np.isclose(float(args.exposure_time)/(C/2),dt,rtol=1e-6,atol=0):raise ValueError('FWP exposure_time mismatch')
57
+ for name,want in [('n_bins',c['n_bins']),('t_min_test',0),('t_max_test',c['n_bins']),
58
+ ('img_height_test',c['height']),('img_width_test',c['width'])]:
59
+ actual=getattr(args,name,None)
60
+ if actual is not None and int(actual)!=want:raise ValueError('Common window/grid mismatch: '+name)
61
+ frames=list(frames);records={Path(f['file_path']).stem:f for f in c['frames']}
62
+ ids=[Path(f['file_path']).stem for f in frames]
63
+ if (not frames or len(records)!=len(c['frames']) or len(set(ids))!=len(ids)
64
+ or set(ids)!=set(records)):
65
+ raise ValueError('Evaluation must declare the complete, unique canonical test frame set')
66
+ self.frames=[]
67
+ for f,key in zip(frames,ids):
68
+ r=records[key];pose=np.asarray(f['transform_matrix']);rp=np.asarray(r['transform_matrix'])
69
+ if pose.shape!=(4,4) or rp.shape!=(4,4) or not np.isfinite(pose).all() or not np.allclose(pose,rp,rtol=0,atol=1e-7):
70
+ raise ValueError('Test frame pose differs from canonical reference: '+key)
71
+ self.frames.append(r)
72
+ self.output=Path(output_dir)/'unified_metrics'
73
+ if (self.output/'evaluation_protocol.json').exists():
74
+ raise FileExistsError('Use a fresh V4 output directory; existing scores are not overwritten')
75
+ self.output.mkdir(parents=True,exist_ok=True);self.rows=[]
76
+ self.device=os.environ.get('STB_METRICS_DEVICE') or str(getattr(args,'device','cpu'))
77
+ self.metadata=dict(protocol=PROTOCOL,project=project,reference_contract=str(self.path),
78
+ reference_sha256=self.digest,scene_id=c['scene_id'],histogram_peak=self.peak,
79
+ display_scale=self.display_scale,mask_policy=c['mask_policy'],n_bins=c['n_bins'],bin_width_s=dt,
80
+ frames=[f['file_path'] for f in self.frames],
81
+ histogram_psnr='20log10(frozen train peak)-10log10(mean squared count error); all valid bins/channels; no upper clipping/gamma',
82
+ depth='argmax of channel-mean full-count histogram; bin_index*c*dt/2, metres; canonical GT mask',
83
+ aggregation='arithmetic mean of per-view metrics, only complete frame sets receive an aggregate',
84
+ training_scale_policy='explicit actual training scale; never test maximum',
85
+ evaluator_python=PYTHON,image_metrics_device=self.device,code_sha256={f:sha256(Path(__file__).with_name(f)) for f in ('core.py','evaluator.py','worker.py')},
86
+ image_code_sha256=sha256(Path(__file__).with_name('image_metrics.py')))
87
+ from .image_metrics import PROTOCOL_INFO
88
+ self.metadata['image_metric_definition']=dict(PROTOCOL_INFO,scale=self.display_scale)
89
+ self.metadata['checkpoint_dir']=getattr(args,'checkpoint_dir',None)
90
+ self.metadata['checkpoint_step']=getattr(args,'step',None)
91
+ self.metadata['rendering_note']='Native renderers retain their method-specific sampling; all default native V4 runs use 30 forward repetitions. Saved-output runs must record their rendering settings separately.'
92
+ write_json(self.output/'evaluation_protocol.json',self.metadata)
93
+
94
+ def score(self,prediction_histogram,frame_index,prediction_scale,prediction_gamma=1.0):
95
+ if isinstance(frame_index,(bool,np.bool_)):raise IndexError('Boolean frame index')
96
+ i=operator.index(frame_index)
97
+ if i<0 or i>=len(self.frames):raise IndexError(i)
98
+ if sha256(self.path)!=self.digest:raise ValueError('Reference contract changed during evaluation')
99
+ f=self.frames[i];c=self.contract
100
+ hp=verified(self.path.parent/f['histogram_path'],f['histogram_sha256'])
101
+ mp=verified(self.path.parent/f['mask_path'],f['mask_sha256'])
102
+ reference=load_histogram(hp);mask=np.load(mp,allow_pickle=False)
103
+ if reference.shape[:3]!=(c['height'],c['width'],c['n_bins']):raise ValueError('Reference shape differs from contract')
104
+ scores,arrays=score_histograms(prediction_histogram,reference,mask,
105
+ prediction_scale=prediction_scale,reference_scale=f['reference_scale'],
106
+ histogram_peak=self.peak,bin_width_s=c['bin_width_s'],prediction_gamma=prediction_gamma)
107
+ inp=self.output/f'view{i}_inputs.npz';result=self.output/f'view{i}_image_scores.json';display=self.output/f'view{i}_display.npz'
108
+ np.savez_compressed(inp,**arrays)
109
+ env=dict(os.environ);env['PYTHONPATH']=str(BASE)+os.pathsep+env.get('PYTHONPATH','')
110
+ if self.device=='cpu':env['CUDA_VISIBLE_DEVICES']=''
111
+ proc=subprocess.run([PYTHON,'-m','evaluation.worker',
112
+ '--input',str(inp),'--output',str(result),'--display',str(display),
113
+ '--scale',str(self.display_scale),'--device',self.device],env=env,stdout=subprocess.PIPE,stderr=subprocess.STDOUT,text=True)
114
+ if proc.returncode:raise RuntimeError('Common image scorer failed: '+proc.stdout[-5000:])
115
+ scores.update(json.loads(result.read_text()))
116
+ row=dict(view=i,frame=f['file_path'],prediction_scale=float(prediction_scale),
117
+ prediction_gamma=float(prediction_gamma),valid_pixels=int(mask.sum()),**scores)
118
+ self.rows=[r for r in self.rows if r['view']!=i]+[row];self.rows.sort(key=lambda r:r['view'])
119
+ write_json(self.output/'metrics_per_view.json',self.rows)
120
+ complete=len(self.rows)==len(self.frames)
121
+ write_json(self.output/'progress.json',dict(completed_views=len(self.rows),expected_views=len(self.frames),complete=complete))
122
+ if complete:
123
+ write_json(self.output/'metrics_aggregate.json',{k:float(np.mean([r[k] for r in self.rows])) for k in scores})
124
+ with np.load(display) as d:p,g=d['prediction'],d['reference']
125
+ return dict(scores,psnr=scores['image_psnr'],prediction_display=p,reference_display=g,
126
+ reference_histogram=reference,reference_scale=f['reference_scale'],
127
+ prediction_intensity_counts=arrays['prediction'],reference_intensity_counts=arrays['reference'],
128
+ mask=arrays['mask'],prediction_depth=arrays['prediction_depth'],reference_depth=arrays['reference_depth'],protocol=PROTOCOL)
129
+
130
+ class EvaluationRun:
131
+ """The same scoring/output path for native rendering and saved predictions."""
132
+ def __init__(self, project, args, output_dir, frames, scale, gamma=1.0,
133
+ rendering=None, save_predictions=False):
134
+ self.scale = positive(scale, 'actual training scale')
135
+ self.gamma = positive(gamma, 'actual training gamma')
136
+ self.evaluator = UnifiedEvaluator(project, args, output_dir, frames)
137
+ self.output = Path(output_dir)
138
+ self.save_predictions = save_predictions
139
+ manifest = dict(frames=frames, prediction_scale=self.scale,
140
+ prediction_gamma=self.gamma,
141
+ bin_width_s=self.evaluator.contract['bin_width_s'],
142
+ rendering=rendering or {'source': 'saved histograms; see source manifest'})
143
+ write_json(self.output/'prediction_manifest.json', manifest)
144
+ self.evaluator.metadata.update(prediction_scale=self.scale, prediction_gamma=self.gamma,
145
+ rendering=manifest['rendering'])
146
+ write_json(self.evaluator.output/'evaluation_protocol.json', self.evaluator.metadata)
147
+
148
+ def score(self, prediction, index):
149
+ if self.save_predictions:
150
+ if hasattr(prediction, 'detach'):
151
+ prediction = prediction.detach().cpu().numpy()
152
+ np.save(self.output/f'{index}_transient_array.npy', prediction)
153
+ scores = self.evaluator.score(prediction, index, self.scale, self.gamma)
154
+ print(self.evaluator.project, index, {k: scores[k] for k in
155
+ ('histogram_psnr', 'image_psnr', 'ssim', 'lpips', 'depth_l1_m')}, flush=True)
156
+ return scores
157
+
158
+ def finish(self):
159
+ if len(self.evaluator.rows) != len(self.evaluator.frames):
160
+ raise ValueError('Incomplete canonical test set: no complete evaluation result')
161
+ return self.evaluator.output/'metrics_aggregate.json'
codes/reconstruction/stb_minimal_20261017/transientangelo/evaluation/image_metrics.py ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Shared TA-style display metrics, with uncensored linear-count diagnostics.
2
+
3
+ Not an exact upstream reproduction: all projects use one reference-only mask,
4
+ explicit SSIM settings, a frozen training scale, and FP32 LPIPS.
5
+ """
6
+ import numpy as np
7
+ import torch
8
+ import lpips
9
+ from contextlib import contextmanager
10
+ from scipy.ndimage import minimum_filter
11
+ from skimage.metrics import structural_similarity
12
+
13
+ PROTOCOL = 'shared_ta_display_psnr_ssim_lpips_v3_20260929'
14
+ PRIMARY_KEYS = ('psnr', 'ssim', 'lpips')
15
+ AUXILIARY_KEYS = ('linear_psnr', 'prediction_above_scale_percent',
16
+ 'reference_above_scale_percent', 'max_prediction_over_scale',
17
+ 'max_reference_over_scale')
18
+ SCORE_KEYS = PRIMARY_KEYS + AUXILIARY_KEYS
19
+ PROTOCOL_INFO = dict(
20
+ protocol=PROTOCOL,
21
+ scale_policy="explicit frozen per-scene record; no numeric scene fallback",
22
+ metric_labels=dict(psnr='PSNR-display', ssim='SSIM-display', lpips='LPIPS-display',
23
+ linear_psnr='PSNR-linear (auxiliary)'),
24
+ prediction_display='clip(I/D,0,1) ** (1/2.2)',
25
+ reference_display='(I/D) ** (1/2.2), no upper clipping',
26
+ psnr='-10log10 valid-reference-pixel/RGB display MSE; fixed peak 1',
27
+ ssim='RGB, data_range=1, uniform 7x7, sample covariance, complete reference-valid windows',
28
+ lpips='same display RGB, common invalid region black, [-1,1] transform, VGG0.1 FP32',
29
+ linear_psnr='-10log10 mean(((prediction-reference)/D)^2); no upper clipping or gamma',
30
+ above_scale_percent='percentage of reference-valid pixels with ANY RGB channel > D',
31
+ aggregation='arithmetic mean of per-view metrics; saturation percentages are mean per-view percentages',
32
+ prediction_upper_clip=True, reference_upper_clip=False,
33
+ count_domain_upper_clip=False, fitted_test_exposure=False,
34
+ preview_png='clip display arrays only for uint8 export; floating scoring arrays are retained',
35
+ upstream_exact=False,
36
+ )
37
+
38
+ @contextmanager
39
+ def scoring_precision():
40
+ previous = (torch.get_float32_matmul_precision(),
41
+ torch.backends.cuda.matmul.allow_tf32, torch.backends.cudnn.allow_tf32)
42
+ try:
43
+ torch.set_float32_matmul_precision('highest')
44
+ torch.backends.cuda.matmul.allow_tf32=False
45
+ torch.backends.cudnn.allow_tf32=False
46
+ yield
47
+ finally:
48
+ torch.set_float32_matmul_precision(previous[0])
49
+ torch.backends.cuda.matmul.allow_tf32=previous[1]
50
+ torch.backends.cudnn.allow_tf32=previous[2]
51
+
52
+ def tone_map(image, scale, *, prediction):
53
+ """Role is explicit: upstream prediction and reference transforms differ."""
54
+ x=np.asarray(image,dtype=np.float64)
55
+ if not np.isfinite(scale) or scale <= 0:
56
+ raise ValueError('positive fixed scale required')
57
+ if not np.isfinite(x).all() or np.any(x<0):
58
+ raise ValueError('Expected finite nonnegative counts; no silent masking/clipping of invalid inputs')
59
+ x=x/scale
60
+ if prediction:
61
+ x=np.clip(x,0.,1.)
62
+ return x**(1/2.2)
63
+
64
+ def display_pair(prediction, reference, scale, mask=None):
65
+ p=tone_map(prediction,scale,prediction=True)
66
+ g=tone_map(reference,scale,prediction=False)
67
+ if mask is not None:
68
+ mask=np.asarray(mask,bool)
69
+ p[~mask]=0;g[~mask]=0
70
+ return p,g
71
+
72
+ def preview_uint8(display_image):
73
+ """PNG encoding only. Never pass this output back to a metric."""
74
+ return np.rint(np.clip(display_image,0.,1.)*255.).astype(np.uint8)
75
+
76
+ def _psnr(mse):
77
+ return float(-10*np.log10(mse)) if mse>0 else float('inf')
78
+
79
+ class ImageMetrics:
80
+ def __init__(self, scale, device='cuda'):
81
+ if not np.isfinite(scale) or scale<=0:
82
+ raise ValueError('positive fixed scale required')
83
+ self.scale=float(scale);self.device=str(device)
84
+ self.net=lpips.LPIPS(net='vgg',version='0.1').float().to(device).eval()
85
+
86
+ def __call__(self, prediction, reference, mask):
87
+ pred=np.asarray(prediction,np.float64);ref=np.asarray(reference,np.float64)
88
+ mask=np.asarray(mask,dtype=bool)
89
+ if pred.shape!=ref.shape or pred.ndim!=3 or pred.shape[-1]!=3 or mask.shape!=pred.shape[:2]:
90
+ raise ValueError('Expected matching HWC3 images and HW reference mask')
91
+ if not mask.any():
92
+ raise ValueError('No reference-valid pixels')
93
+ x,y=display_pair(pred,ref,self.scale)
94
+ psnr=_psnr(np.mean((x[mask]-y[mask])**2,dtype=np.float64))
95
+ linear_psnr=_psnr(np.mean(((pred[mask]-ref[mask])/self.scale)**2,dtype=np.float64))
96
+ windows=minimum_filter(mask.astype(np.uint8),size=7,mode='constant',cval=0).astype(bool)
97
+ if not windows.any():
98
+ raise ValueError('No complete 7x7 reference-valid SSIM windows')
99
+ _,ssim_map=structural_similarity(y,x,data_range=1.,channel_axis=-1,
100
+ win_size=7,gaussian_weights=False,use_sample_covariance=True,full=True)
101
+ ssim=float(ssim_map[windows].mean())
102
+ x[~mask]=0;y[~mask]=0
103
+ tensor=lambda z: torch.from_numpy(z.astype(np.float32)).permute(2,0,1)[None].to(self.device)*2-1
104
+ with scoring_precision(),torch.no_grad(),torch.autocast(device_type=self.device.split(':')[0],enabled=False):
105
+ score=self.net(tensor(x),tensor(y))
106
+ return dict(psnr=psnr,ssim=ssim,lpips=float(score.item()),linear_psnr=linear_psnr,
107
+ prediction_above_scale_percent=float(np.any(pred[mask]>self.scale,axis=-1).mean()*100),
108
+ reference_above_scale_percent=float(np.any(ref[mask]>self.scale,axis=-1).mean()*100),
109
+ max_prediction_over_scale=float(pred[mask].max()/self.scale),
110
+ max_reference_over_scale=float(ref[mask].max()/self.scale))
111
+
112
+ def aggregate(rows):
113
+ if not rows:raise ValueError('Cannot aggregate empty results')
114
+ return {k:float(np.mean([r[k] for r in rows],dtype=np.float64)) for k in SCORE_KEYS}
codes/reconstruction/stb_minimal_20261017/transientangelo/evaluation/io.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import hashlib
2
+ import json
3
+ import os
4
+ from pathlib import Path
5
+ import numpy as np
6
+
7
+ def sha256(path):
8
+ h=hashlib.sha256()
9
+ with Path(path).open('rb') as f:
10
+ for block in iter(lambda:f.read(8*1024*1024),b''):h.update(block)
11
+ return h.hexdigest()
12
+
13
+ def write_json(path, data):
14
+ path=Path(path);path.parent.mkdir(parents=True,exist_ok=True)
15
+ tmp=path.with_name(path.name+'.%d.tmp'%os.getpid())
16
+ tmp.write_text(json.dumps(data,indent=2,allow_nan=True));tmp.replace(path)
17
+
18
+ def verified(path, digest):
19
+ path=Path(path)
20
+ if not path.is_file() or sha256(path)!=digest:
21
+ raise ValueError('Frozen input missing or changed: '+str(path))
22
+ return path
23
+
24
+ def load_histogram(path):
25
+ path=Path(path)
26
+ if path.suffix=='.npy':return np.load(path,mmap_mode='r',allow_pickle=False)
27
+ if path.suffix in ('.h5','.hdf5'):
28
+ import h5py
29
+ with h5py.File(path,'r') as f:return np.asarray(f['data'])
30
+ raise ValueError('Use unclipped .npy or .h5 histogram exports: '+str(path))