Skip to content

Instantly share code, notes, and snippets.

@skorasaurus
Last active August 12, 2019 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skorasaurus/1b194b8515a4f5a64255c2b2ca54fda5 to your computer and use it in GitHub Desktop.
Save skorasaurus/1b194b8515a4f5a64255c2b2ca54fda5 to your computer and use it in GitHub Desktop.
+proj=utm +zone=17 +ellps=WGS84 +datum=WGS84 +units=m +no_defs
449136.64 4595136.63 0 3575.29 2948.44 14124.jpeg
449136.64 4595136.63 0 1354.69 2961.27 14125.jpeg
448974.03 4595297.84 0 3224.75 2645.43 14124.jpeg
448973.95 4595297.87 0 1043.86 2643.96 14125.jpeg
448649.37 4595051.32 0 2618.95 3164.18 14124.jpeg
451416.56 4595960.28 0 1606.01 1494.37 14127.jpeg
451416.56 4595960.28 0 3620.19 1227.36 14126.jpeg
452284.43 4596997.32 0 2680.39 3288.98 15104.jpeg
448645.29 4596207.26 0 352.71 1150.28 14125.jpeg
451601.68 4595728.91 0 1980.90 1965.43 14127.jpeg
451601.68 4595728.91 0 4015.25 1700.25 14126.jpeg
451600.82 4595635.15 0 1982.36 2152.14 14127.jpeg
451953.79 4596101.62 0 1913.55 5125.66 15104.jpeg
449136.64 4595136.63 0 1354.69 2961.27 14125.jpeg
448974.03 4595297.84 0 3224.75 2645.43 14124.jpeg
448973.95 4595297.87 0 1043.86 2643.96 14125.jpeg
448649.37 4595051.32 0 2618.95 3164.18 14124.jpeg
451416.56 4595960.28 0 1606.01 1494.37 14127.jpeg
451416.56 4595960.28 0 3620.19 1227.36 14126.jpeg
452284.43 4596997.32 0 2680.39 3288.98 15104.jpeg
448645.29 4596207.26 0 352.71 1150.28 14125.jpeg
451601.68 4595728.91 0 1980.90 1965.43 14127.jpeg
451601.68 4595728.91 0 4015.25 1700.25 14126.jpeg
451600.82 4595635.15 0 1982.36 2152.14 14127.jpeg
451953.79 4596101.62 0 1913.55 5125.66 15104.jpeg
449979.00 4595942.90 0 765.45 1435.89 14126.jpeg
449979.00 4595942.90 0 5169.24 1227.31 14124.jpeg
449979.00 4595942.90 0 2336.99 5381.36 15106.jpeg
450082.61 4595971.62 0 264.93 5257.48 15105.jpeg
output when specifying the gcp file as a command parameter; I soon receive an error.
docker run -it --rm -v "$(pwd)/images:/code/images" -v "$(pwd)/odm_orthophoto:/code/odm_orthophoto" -v "$(pwd)/settings.yaml:/code/settings.yaml" -v "$(pwd)/odm_texturing:/code/odm_texturing" opendronemap/odm --gcp gcp_list.txt
[INFO] Initializing OpenDroneMap app - Sat Aug 10 20:13:20 2019
[INFO] ==============
[INFO] build_overviews: False
[INFO] cameras: {}
[INFO] crop: 3
[INFO] debug: False
[INFO] dem_decimation: 1
[INFO] dem_euclidean_map: False
[INFO] dem_gapfill_steps: 3
[INFO] dem_resolution: 5
[INFO] depthmap_resolution: 640
[INFO] dsm: False
[INFO] dtm: False
[INFO] end_with: odm_orthophoto
[INFO] fast_orthophoto: False
[INFO] gcp: gcp_list.txt
[INFO] ignore_gsd: False
[INFO] matcher_distance: 0
[INFO] matcher_neighbors: 8
[INFO] max_concurrency: 6
[INFO] merge: all
[INFO] mesh_octree_depth: 9
[INFO] mesh_point_weight: 4
[INFO] mesh_samples: 1.0
[INFO] mesh_size: 598765
[INFO] min_num_features: 8000
[INFO] mve_confidence: 0.6
[INFO] name: code
[INFO] opensfm_depthmap_method: PATCH_MATCH
[INFO] opensfm_depthmap_min_consistent_views: 3
[INFO] opensfm_depthmap_min_patch_sd: 1
[INFO] orthophoto_bigtiff: IF_SAFER
[INFO] orthophoto_compression: DEFLATE
[INFO] orthophoto_cutline: False
[INFO] orthophoto_no_tiled: False
[INFO] orthophoto_resolution: 5
[INFO] pc_classify: False
[INFO] pc_csv: False
[INFO] pc_ept: False
[INFO] pc_filter: 2.5
[INFO] pc_las: False
[INFO] project_path: /
[INFO] rerun: None
[INFO] rerun_all: True
[INFO] rerun_from: None
[INFO] resize_to: 2048
[INFO] skip_3dmodel: False
[INFO] sm_cluster: None
[INFO] smrf_scalar: 1.25
[INFO] smrf_slope: 0.15
[INFO] smrf_threshold: 0.5
[INFO] smrf_window: 18.0
[INFO] split: 999999
[INFO] split_overlap: 150
[INFO] texturing_data_term: gmi
[INFO] texturing_keep_unseen_faces: False
[INFO] texturing_nadir_weight: 30
[INFO] texturing_outlier_removal_type: gauss_clamping
[INFO] texturing_skip_global_seam_leveling: False
[INFO] texturing_skip_hole_filling: False
[INFO] texturing_skip_local_seam_leveling: False
[INFO] texturing_skip_visibility_test: False
[INFO] texturing_tone_mapping: none
[INFO] time: False
[INFO] use_3dmesh: False
[INFO] use_exif: False
[INFO] use_fixed_camera_params: False
[INFO] use_hybrid_bundle_adjustment: False
[INFO] use_opensfm_dense: False
[INFO] verbose: True
[INFO] ==============
[INFO] Rerun all -- Removing old data
rm: cannot remove '/code/odm_orthophoto': Device or resource busy
rm: cannot remove '/code/odm_texturing': Device or resource busy
[INFO] Running dataset stage
[INFO] Loading dataset from: /code/images
[INFO] Loading 8 images
[INFO] Wrote images database: /code/images.json
[INFO] Found 8 usable images
[WARNING] GCP file does not exist: gcp_list.txt
[INFO] Finished dataset stage
[INFO] Running split stage
[INFO] Normal dataset, will process all at once.
[INFO] Finished split stage
[INFO] Running merge stage
[INFO] Normal dataset, nothing to merge.
[INFO] Finished merge stage
[INFO] Running opensfm stage
Traceback (most recent call last):
File "/code/run.py", line 56, in <module>
app.execute()
File "/code/stages/odm_app.py", line 92, in execute
self.first_stage.run()
File "/code/opendm/types.py", line 373, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 373, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 373, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 354, in run
self.process(self.args, outputs)
File "/code/stages/run_opensfm.py", line 24, in process
octx.setup(args, tree.dataset_raw, photos, gcp_path=reconstruction.gcp.gcp_path, rerun=self.rerun())
AttributeError: 'NoneType' object has no attribute 'gcp_path'
docker run -it --rm -v "$(pwd)/images:/code/images" -v "$(pwd)/odm_orthophoto:/code/odm_orthophoto" -v "$(pwd)/settings.yaml:/code/settings.yaml" -v "$(pwd)/odm_texturing:/code/odm_texturing" opendronemap/odm --gcp gcp_list.txt
[INFO] Initializing OpenDroneMap app - Sat Aug 10 20:13:20 2019
[INFO] ==============
[INFO] build_overviews: False
[INFO] cameras: {}
[INFO] crop: 3
[INFO] debug: False
[INFO] dem_decimation: 1
[INFO] dem_euclidean_map: False
[INFO] dem_gapfill_steps: 3
[INFO] dem_resolution: 5
[INFO] depthmap_resolution: 640
[INFO] dsm: False
[INFO] dtm: False
[INFO] end_with: odm_orthophoto
[INFO] fast_orthophoto: False
[INFO] gcp: gcp_list.txt
[INFO] ignore_gsd: False
[INFO] matcher_distance: 0
[INFO] matcher_neighbors: 8
[INFO] max_concurrency: 6
[INFO] merge: all
[INFO] mesh_octree_depth: 9
[INFO] mesh_point_weight: 4
[INFO] mesh_samples: 1.0
[INFO] mesh_size: 598765
[INFO] min_num_features: 8000
[INFO] mve_confidence: 0.6
[INFO] name: code
[INFO] opensfm_depthmap_method: PATCH_MATCH
[INFO] opensfm_depthmap_min_consistent_views: 3
[INFO] opensfm_depthmap_min_patch_sd: 1
[INFO] orthophoto_bigtiff: IF_SAFER
[INFO] orthophoto_compression: DEFLATE
[INFO] orthophoto_cutline: False
[INFO] orthophoto_no_tiled: False
[INFO] orthophoto_resolution: 5
[INFO] pc_classify: False
[INFO] pc_csv: False
[INFO] pc_ept: False
[INFO] pc_filter: 2.5
[INFO] pc_las: False
[INFO] project_path: /
[INFO] rerun: None
[INFO] rerun_all: True
[INFO] rerun_from: None
[INFO] resize_to: 2048
[INFO] skip_3dmodel: False
[INFO] sm_cluster: None
[INFO] smrf_scalar: 1.25
[INFO] smrf_slope: 0.15
[INFO] smrf_threshold: 0.5
[INFO] smrf_window: 18.0
[INFO] split: 999999
[INFO] split_overlap: 150
[INFO] texturing_data_term: gmi
[INFO] texturing_keep_unseen_faces: False
[INFO] texturing_nadir_weight: 30
[INFO] texturing_outlier_removal_type: gauss_clamping
[INFO] texturing_skip_global_seam_leveling: False
[INFO] texturing_skip_hole_filling: False
[INFO] texturing_skip_local_seam_leveling: False
[INFO] texturing_skip_visibility_test: False
[INFO] texturing_tone_mapping: none
[INFO] time: False
[INFO] use_3dmesh: False
[INFO] use_exif: False
[INFO] use_fixed_camera_params: False
[INFO] use_hybrid_bundle_adjustment: False
[INFO] use_opensfm_dense: False
[INFO] verbose: True
[INFO] ==============
[INFO] Rerun all -- Removing old data
rm: cannot remove '/code/odm_orthophoto': Device or resource busy
rm: cannot remove '/code/odm_texturing': Device or resource busy
[INFO] Running dataset stage
[INFO] Loading dataset from: /code/images
[INFO] Loading 8 images
[INFO] Wrote images database: /code/images.json
[INFO] Found 8 usable images
[WARNING] GCP file does not exist: gcp_list.txt
[INFO] Finished dataset stage
[INFO] Running split stage
[INFO] Normal dataset, will process all at once.
[INFO] Finished split stage
[INFO] Running merge stage
[INFO] Normal dataset, nothing to merge.
[INFO] Finished merge stage
[INFO] Running opensfm stage
Traceback (most recent call last):
File "/code/run.py", line 56, in <module>
app.execute()
File "/code/stages/odm_app.py", line 92, in execute
self.first_stage.run()
File "/code/opendm/types.py", line 373, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 373, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 373, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 354, in run
self.process(self.args, outputs)
File "/code/stages/run_opensfm.py", line 24, in process
octx.setup(args, tree.dataset_raw, photos, gcp_path=reconstruction.gcp.gcp_path, rerun=self.rerun())
AttributeError: 'NoneType' object has no attribute 'gcp_path'
docker run -it --rm \
> -v "$(pwd)/images:/code/images" \
> -v "$(pwd)/odm_orthophoto:/code/odm_orthophoto" \
> -v "$(pwd)/settings.yaml:/code/settings.yaml" \
> -v "$(pwd)/odm_texturing:/code/odm_texturing" \
> -v "$(pwd)/gcp_list.txt:/code/gcp_list.txt" \
> opendronemap/odm
[INFO] Initializing OpenDroneMap app - Sat Aug 10 20:23:46 2019
[INFO] ==============
[INFO] build_overviews: False
[INFO] cameras: {}
[INFO] crop: 3
[INFO] debug: False
[INFO] dem_decimation: 1
[INFO] dem_euclidean_map: False
[INFO] dem_gapfill_steps: 3
[INFO] dem_resolution: 5
[INFO] depthmap_resolution: 640
[INFO] dsm: False
[INFO] dtm: False
[INFO] end_with: odm_orthophoto
[INFO] fast_orthophoto: False
[INFO] gcp: None
[INFO] ignore_gsd: False
[INFO] matcher_distance: 0
[INFO] matcher_neighbors: 8
[INFO] max_concurrency: 6
[INFO] merge: all
[INFO] mesh_octree_depth: 9
[INFO] mesh_point_weight: 4
[INFO] mesh_samples: 1.0
[INFO] mesh_size: 598765
[INFO] min_num_features: 8000
[INFO] mve_confidence: 0.6
[INFO] name: code
[INFO] opensfm_depthmap_method: PATCH_MATCH
[INFO] opensfm_depthmap_min_consistent_views: 3
[INFO] opensfm_depthmap_min_patch_sd: 1
[INFO] orthophoto_bigtiff: IF_SAFER
[INFO] orthophoto_compression: DEFLATE
[INFO] orthophoto_cutline: False
[INFO] orthophoto_no_tiled: False
[INFO] orthophoto_resolution: 5
[INFO] pc_classify: False
[INFO] pc_csv: False
[INFO] pc_ept: False
[INFO] pc_filter: 2.5
[INFO] pc_las: False
[INFO] project_path: /
[INFO] rerun: None
[INFO] rerun_all: True
[INFO] rerun_from: None
[INFO] resize_to: 2048
[INFO] skip_3dmodel: False
[INFO] sm_cluster: None
[INFO] smrf_scalar: 1.25
[INFO] smrf_slope: 0.15
[INFO] smrf_threshold: 0.5
[INFO] smrf_window: 18.0
[INFO] split: 999999
[INFO] split_overlap: 150
[INFO] texturing_data_term: gmi
[INFO] texturing_keep_unseen_faces: False
[INFO] texturing_nadir_weight: 30
[INFO] texturing_outlier_removal_type: gauss_clamping
[INFO] texturing_skip_global_seam_leveling: False
[INFO] texturing_skip_hole_filling: False
[INFO] texturing_skip_local_seam_leveling: False
[INFO] texturing_skip_visibility_test: False
[INFO] texturing_tone_mapping: none
[INFO] time: False
[INFO] use_3dmesh: False
[INFO] use_exif: False
[INFO] use_fixed_camera_params: False
[INFO] use_hybrid_bundle_adjustment: False
[INFO] use_opensfm_dense: False
[INFO] verbose: True
[INFO] ==============
[INFO] Rerun all -- Removing old data
rm: cannot remove '/code/odm_orthophoto': Device or resource busy
rm: cannot remove '/code/odm_texturing': Device or resource busy
[INFO] Running dataset stage
[INFO] Loading dataset from: /code/images
[INFO] Loading 8 images
[INFO] Wrote images database: /code/images.json
[INFO] Found 8 usable images
[INFO] Parsing SRS header: +proj=utm +zone=17 +ellps=WGS84 +datum=WGS84 +units=m +no_defs
[INFO] Generated coords file from GCP: WGS84 UTM 17N
[INFO] Parsing SRS header: WGS84 UTM 17N
[INFO] Parsing SRS header: WGS84 UTM 17N
[INFO] 29 GCP points will be used for georeferencing
[INFO] Parsing SRS header: WGS84 UTM 17N
[INFO] Finished dataset stage
[INFO] Running split stage
[INFO] Normal dataset, will process all at once.
[INFO] Finished split stage
[INFO] Running merge stage
[INFO] Normal dataset, nothing to merge.
[INFO] Finished merge stage
[INFO] Running opensfm stage
[INFO] ['use_exif_size: no', 'feature_process_size: 2048', 'feature_min_frames: 8000', 'processes: 6', 'matching_gps_neighbors: 8', 'matching_gps_distance: 0', 'depthmap_method: PATCH_MATCH', 'depthmap_resolution: 640', 'depthmap_min_patch_sd: 1', 'depthmap_min_consistent_views: 3', 'optimize_camera_parameters: yes', 'undistorted_image_format: png', 'bundle_outlier_filtering_type: AUTO', 'align_method: naive', 'bundle_use_gcp: yes', 'bundle_use_gps: no']
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm extract_metadata "/code/opensfm"
2019-08-10 20:23:46,823 INFO: Extracting EXIF for 15106.jpeg
2019-08-10 20:23:46,834 INFO: Extracting EXIF for 14124.jpeg
2019-08-10 20:23:46,838 INFO: Extracting EXIF for 15105.jpeg
2019-08-10 20:23:46,842 INFO: Extracting EXIF for 15107.jpeg
2019-08-10 20:23:46,845 INFO: Extracting EXIF for 14125.jpeg
2019-08-10 20:23:46,848 INFO: Extracting EXIF for 15104.jpeg
2019-08-10 20:23:46,851 INFO: Extracting EXIF for 14126.jpeg
2019-08-10 20:23:46,854 INFO: Extracting EXIF for 14127.jpeg
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm detect_features "/code/opensfm"
2019-08-10 20:23:47,782 INFO: Extracting ROOT_HAHOG features for image 15106.jpeg
2019-08-10 20:23:48,123 INFO: Extracting ROOT_HAHOG features for image 14124.jpeg
2019-08-10 20:23:48,418 INFO: Extracting ROOT_HAHOG features for image 15105.jpeg
2019-08-10 20:23:48,699 INFO: Extracting ROOT_HAHOG features for image 15107.jpeg
2019-08-10 20:23:49,025 INFO: Extracting ROOT_HAHOG features for image 14125.jpeg
2019-08-10 20:23:49,460 INFO: Extracting ROOT_HAHOG features for image 15104.jpeg
2019-08-10 20:23:52,971 DEBUG: Found 11195 points in 4.29492807388s
2019-08-10 20:23:53,438 DEBUG: Found 11082 points in 4.47747182846s
2019-08-10 20:23:53,783 INFO: Extracting ROOT_HAHOG features for image 14126.jpeg
2019-08-10 20:23:53,785 DEBUG: Found 11239 points in 4.44046998024s
2019-08-10 20:23:53,800 DEBUG: Found 11370 points in 4.21584415436s
2019-08-10 20:23:54,008 DEBUG: Found 11324 points in 4.12645506859s
2019-08-10 20:23:54,218 INFO: Extracting ROOT_HAHOG features for image 14127.jpeg
2019-08-10 20:23:54,377 DEBUG: Found 11379 points in 4.12530708313s
2019-08-10 20:23:58,579 DEBUG: Found 11561 points in 3.99999690056s
2019-08-10 20:23:59,203 DEBUG: Found 11624 points in 4.2065308094s
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm match_features "/code/opensfm"
2019-08-10 20:24:00,610 WARNING: Not all images have GPS info. Disabling matching_gps_neighbors.
2019-08-10 20:24:00,610 INFO: Matching 28 image pairs
2019-08-10 20:24:01,038 INFO: Matching 14124.jpeg - 1 / 8
2019-08-10 20:24:01,417 INFO: Matching 14125.jpeg - 2 / 8
2019-08-10 20:24:01,779 INFO: Matching 14127.jpeg - 3 / 8
2019-08-10 20:24:02,121 INFO: Matching 14126.jpeg - 4 / 8
2019-08-10 20:24:02,447 INFO: Matching 15105.jpeg - 5 / 8
2019-08-10 20:24:02,823 INFO: Matching 15104.jpeg - 6 / 8
2019-08-10 20:24:04,219 DEBUG: 14124.jpeg - 14125.jpeg has 1380 candidate matches
2019-08-10 20:24:04,220 DEBUG: Robust matching time : 0.000891923904419s
2019-08-10 20:24:04,220 DEBUG: Full matching 1360 / 1380, time: 3.18187403679s
2019-08-10 20:24:04,902 DEBUG: 14125.jpeg - 14126.jpeg has 1395 candidate matches
2019-08-10 20:24:04,903 DEBUG: Robust matching time : 0.000665903091431s
2019-08-10 20:24:04,903 DEBUG: Full matching 1366 / 1395, time: 3.48631596565s
2019-08-10 20:24:05,224 DEBUG: 14127.jpeg - 15104.jpeg has 153 candidate matches
2019-08-10 20:24:05,225 DEBUG: Robust matching time : 0.000691890716553s
2019-08-10 20:24:05,225 DEBUG: Full matching 141 / 153, time: 3.44583702087s
2019-08-10 20:24:05,716 DEBUG: 15105.jpeg - 15106.jpeg has 1185 candidate matches
2019-08-10 20:24:05,716 DEBUG: Robust matching time : 0.000440120697021s
2019-08-10 20:24:05,716 DEBUG: Full matching 1175 / 1185, time: 3.26928091049s
2019-08-10 20:24:05,794 DEBUG: 14126.jpeg - 14127.jpeg has 1377 candidate matches
2019-08-10 20:24:05,795 DEBUG: Robust matching time : 0.000831127166748s
2019-08-10 20:24:05,795 DEBUG: Full matching 1358 / 1377, time: 3.67468595505s
2019-08-10 20:24:06,152 DEBUG: 15104.jpeg - 15105.jpeg has 1244 candidate matches
2019-08-10 20:24:06,154 DEBUG: Robust matching time : 0.000867128372192s
2019-08-10 20:24:06,154 DEBUG: Full matching 1225 / 1244, time: 3.33074402809s
2019-08-10 20:24:07,442 DEBUG: 14124.jpeg - 14126.jpeg has 136 candidate matches
2019-08-10 20:24:07,443 DEBUG: Robust matching time : 0.000607013702393s
2019-08-10 20:24:07,443 DEBUG: Full matching 115 / 136, time: 3.22264099121s
2019-08-10 20:24:08,193 DEBUG: 14125.jpeg - 14127.jpeg has 189 candidate matches
2019-08-10 20:24:08,193 DEBUG: Robust matching time : 0.000423908233643s
2019-08-10 20:24:08,194 DEBUG: Full matching 169 / 189, time: 3.28997302055s
2019-08-10 20:24:08,546 DEBUG: 14127.jpeg - 15105.jpeg has 150 candidate matches
2019-08-10 20:24:08,546 DEBUG: Robust matching time : 0.000616073608398s
2019-08-10 20:24:08,547 DEBUG: Full matching 137 / 150, time: 3.32162499428s
2019-08-10 20:24:09,078 DEBUG: 15105.jpeg - 15107.jpeg has 120 candidate matches
2019-08-10 20:24:09,079 DEBUG: Robust matching time : 0.000418901443481s
2019-08-10 20:24:09,079 DEBUG: Full matching 106 / 120, time: 3.3622071743s
2019-08-10 20:24:09,124 INFO: Matching 15106.jpeg - 7 / 8
2019-08-10 20:24:09,226 DEBUG: 14126.jpeg - 15104.jpeg has 93 candidate matches
2019-08-10 20:24:09,228 DEBUG: Robust matching time : 0.0015230178833s
2019-08-10 20:24:09,228 DEBUG: Full matching 70 / 93, time: 3.43286180496s
2019-08-10 20:24:09,470 DEBUG: 15104.jpeg - 15106.jpeg has 169 candidate matches
2019-08-10 20:24:09,471 DEBUG: Robust matching time : 0.000330209732056s
2019-08-10 20:24:09,471 DEBUG: Full matching 158 / 169, time: 3.31681990623s
2019-08-10 20:24:10,761 DEBUG: 14124.jpeg - 14127.jpeg has 24 candidate matches
2019-08-10 20:24:10,762 DEBUG: Robust matching time : 0.000619888305664s
2019-08-10 20:24:10,762 DEBUG: Full matching 21 / 24, time: 3.31908106804s
2019-08-10 20:24:11,664 DEBUG: 14125.jpeg - 15104.jpeg has 30 candidate matches
2019-08-10 20:24:11,665 DEBUG: Robust matching time : 0.000447988510132s
2019-08-10 20:24:11,665 DEBUG: Full matching 20 / 30, time: 3.47134804726s
2019-08-10 20:24:11,935 DEBUG: 14127.jpeg - 15106.jpeg has 77 candidate matches
2019-08-10 20:24:11,936 DEBUG: Robust matching time : 0.000663995742798s
2019-08-10 20:24:11,936 DEBUG: Full matching 67 / 77, time: 3.38951086998s
2019-08-10 20:24:12,375 DEBUG: 15106.jpeg - 15107.jpeg has 1354 candidate matches
2019-08-10 20:24:12,376 DEBUG: Robust matching time : 0.000694990158081s
2019-08-10 20:24:12,376 DEBUG: Full matching 1348 / 1354, time: 3.25198316574s
2019-08-10 20:24:12,402 INFO: Matching 15107.jpeg - 8 / 8
2019-08-10 20:24:12,933 DEBUG: 14126.jpeg - 15105.jpeg has 174 candidate matches
2019-08-10 20:24:12,934 DEBUG: Robust matching time : 0.000491857528687s
2019-08-10 20:24:12,934 DEBUG: Full matching 151 / 174, time: 3.70552301407s
2019-08-10 20:24:13,288 DEBUG: 15104.jpeg - 15107.jpeg has 15 candidate matches
2019-08-10 20:24:13,825 DEBUG: 14124.jpeg - 15104.jpeg has 16 candidate matches
2019-08-10 20:24:14,744 DEBUG: 14125.jpeg - 15105.jpeg has 63 candidate matches
2019-08-10 20:24:14,745 DEBUG: Robust matching time : 0.000638008117676s
2019-08-10 20:24:14,745 DEBUG: Full matching 54 / 63, time: 3.08000206947s
2019-08-10 20:24:15,129 DEBUG: 14127.jpeg - 15107.jpeg has 11 candidate matches
2019-08-10 20:24:16,116 DEBUG: 14126.jpeg - 15106.jpeg has 136 candidate matches
2019-08-10 20:24:16,117 DEBUG: Robust matching time : 0.000484943389893s
2019-08-10 20:24:16,117 DEBUG: Full matching 126 / 136, time: 3.18308591843s
2019-08-10 20:24:16,733 DEBUG: 14124.jpeg - 15105.jpeg has 15 candidate matches
2019-08-10 20:24:17,797 DEBUG: 14125.jpeg - 15106.jpeg has 87 candidate matches
2019-08-10 20:24:17,798 DEBUG: Robust matching time : 0.000762939453125s
2019-08-10 20:24:17,799 DEBUG: Full matching 74 / 87, time: 3.05342292786s
2019-08-10 20:24:19,099 DEBUG: 14126.jpeg - 15107.jpeg has 45 candidate matches
2019-08-10 20:24:19,101 DEBUG: Robust matching time : 0.00125098228455s
2019-08-10 20:24:19,101 DEBUG: Full matching 33 / 45, time: 2.98369288445s
2019-08-10 20:24:19,568 DEBUG: 14124.jpeg - 15106.jpeg has 23 candidate matches
2019-08-10 20:24:20,779 DEBUG: 14125.jpeg - 15107.jpeg has 39 candidate matches
2019-08-10 20:24:20,780 DEBUG: Robust matching time : 0.000502109527588s
2019-08-10 20:24:20,780 DEBUG: Full matching 36 / 39, time: 2.98151397705s
2019-08-10 20:24:22,175 DEBUG: 14124.jpeg - 15107.jpeg has 36 candidate matches
2019-08-10 20:24:22,176 DEBUG: Robust matching time : 0.000913143157959s
2019-08-10 20:24:22,176 DEBUG: Full matching 27 / 36, time: 2.60564517975s
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm create_tracks "/code/opensfm"
2019-08-10 20:24:22,755 INFO: reading features
2019-08-10 20:24:22,927 DEBUG: Merging features onto tracks
2019-08-10 20:24:23,039 DEBUG: Good tracks: 7485
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm reconstruct "/code/opensfm"
2019-08-10 20:24:23,989 INFO: Starting incremental reconstruction
2019-08-10 20:24:25,761 INFO: Starting reconstruction with 15104.jpeg and 15105.jpeg
2019-08-10 20:24:25,848 INFO: Two-view reconstruction inliers: 1236 / 1236
2019-08-10 20:24:25,928 INFO: Triangulated: 1234
2019-08-10 20:24:25,943 DEBUG: Ceres Solver Report: Iterations: 3, Initial cost: 6.820184e+00, Final cost: 6.006689e+00, Termination: CONVERGENCE
2019-08-10 20:24:26,053 DEBUG: Ceres Solver Report: Iterations: 3, Initial cost: 6.174363e+00, Final cost: 5.868459e+00, Termination: CONVERGENCE
2019-08-10 20:24:26,130 DEBUG: Ceres Solver Report: Iterations: 5, Initial cost: 1.194275e+01, Final cost: 1.088789e+01, Termination: CONVERGENCE
2019-08-10 20:24:26,145 INFO: Removed outliers: 33
2019-08-10 20:24:26,153 INFO: -------------------------------------------------------
2019-08-10 20:24:26,173 INFO: 15106.jpeg resection inliers: 179 / 179
2019-08-10 20:24:26,178 DEBUG: Ceres Solver Report: Iterations: 5, Initial cost: 1.705528e+01, Final cost: 8.358542e+00, Termination: CONVERGENCE
2019-08-10 20:24:26,178 INFO: Adding 15106.jpeg to the reconstruction
2019-08-10 20:24:26,311 INFO: Re-triangulating
2019-08-10 20:24:26,461 DEBUG: Ceres Solver Report: Iterations: 6, Initial cost: 3.257836e+02, Final cost: 3.218443e+01, Termination: CONVERGENCE
2019-08-10 20:24:26,863 DEBUG: Ceres Solver Report: Iterations: 4, Initial cost: 3.399763e+01, Final cost: 3.334138e+01, Termination: CONVERGENCE
2019-08-10 20:24:26,892 INFO: Removed outliers: 57
2019-08-10 20:24:26,909 INFO: -------------------------------------------------------
2019-08-10 20:24:26,922 INFO: 14126.jpeg resection inliers: 140 / 142
2019-08-10 20:24:26,975 DEBUG: Ceres Solver Report: Iterations: 5, Initial cost: 5.791269e+01, Final cost: 2.126831e+01, Termination: CONVERGENCE
2019-08-10 20:24:26,976 INFO: Adding 14126.jpeg to the reconstruction
2019-08-10 20:24:27,041 DEBUG: Local bundle sets: interior 4 boundary 0 other 0
2019-08-10 20:24:27,261 DEBUG: Ceres Solver Report: Iterations: 6, Initial cost: 5.711287e+01, Final cost: 3.936365e+01, Termination: CONVERGENCE
2019-08-10 20:24:27,298 INFO: Removed outliers: 39
2019-08-10 20:24:27,300 INFO: -------------------------------------------------------
2019-08-10 20:24:27,315 INFO: 15107.jpeg resection inliers: 137 / 141
2019-08-10 20:24:27,375 DEBUG: Ceres Solver Report: Iterations: 6, Initial cost: 5.509909e+01, Final cost: 1.487509e+01, Termination: CONVERGENCE
2019-08-10 20:24:27,376 INFO: Adding 15107.jpeg to the reconstruction
2019-08-10 20:24:27,463 INFO: Re-triangulating
2019-08-10 20:24:27,719 DEBUG: Ceres Solver Report: Iterations: 6, Initial cost: 3.053568e+02, Final cost: 6.222465e+01, Termination: CONVERGENCE
2019-08-10 20:24:28,211 DEBUG: Ceres Solver Report: Iterations: 6, Initial cost: 7.127225e+01, Final cost: 6.984239e+01, Termination: CONVERGENCE
2019-08-10 20:24:28,254 INFO: Removed outliers: 126
2019-08-10 20:24:28,281 INFO: -------------------------------------------------------
2019-08-10 20:24:28,293 INFO: 14127.jpeg resection inliers: 139 / 139
2019-08-10 20:24:28,316 DEBUG: Ceres Solver Report: Iterations: 2, Initial cost: 4.862796e+01, Final cost: 3.346129e+01, Termination: CONVERGENCE
2019-08-10 20:24:28,317 INFO: Adding 14127.jpeg to the reconstruction
2019-08-10 20:24:28,403 INFO: Re-triangulating
2019-08-10 20:24:28,643 DEBUG: Ceres Solver Report: Iterations: 2, Initial cost: 7.073767e+02, Final cost: 2.977511e+02, Termination: CONVERGENCE
2019-08-10 20:24:29,174 DEBUG: Ceres Solver Report: Iterations: 2, Initial cost: 3.152656e+02, Final cost: 2.944961e+02, Termination: CONVERGENCE
2019-08-10 20:24:29,236 INFO: Removed outliers: 361
2019-08-10 20:24:29,276 INFO: -------------------------------------------------------
2019-08-10 20:24:29,301 INFO: 14125.jpeg resection inliers: 209 / 238
2019-08-10 20:24:29,308 DEBUG: Ceres Solver Report: Iterations: 11, Initial cost: 1.396839e+02, Final cost: 1.143268e+02, Termination: NO_CONVERGENCE
2019-08-10 20:24:29,309 INFO: Adding 14125.jpeg to the reconstruction
2019-08-10 20:24:29,420 INFO: Re-triangulating
2019-08-10 20:24:31,053 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 1.402725e+03, Final cost: 2.126977e+02, Termination: NO_CONVERGENCE
2019-08-10 20:24:33,147 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 2.623364e+02, Final cost: 1.464761e+02, Termination: NO_CONVERGENCE
2019-08-10 20:24:33,244 INFO: Removed outliers: 226
2019-08-10 20:24:33,283 INFO: -------------------------------------------------------
2019-08-10 20:24:33,296 INFO: 14124.jpeg resection inliers: 138 / 142
2019-08-10 20:24:33,302 DEBUG: Ceres Solver Report: Iterations: 11, Initial cost: 6.831810e+01, Final cost: 4.178988e+01, Termination: NO_CONVERGENCE
2019-08-10 20:24:33,302 INFO: Adding 14124.jpeg to the reconstruction
2019-08-10 20:24:33,374 INFO: Re-triangulating
2019-08-10 20:24:35,300 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 1.729844e+03, Final cost: 2.246117e+02, Termination: NO_CONVERGENCE
2019-08-10 20:24:36,227 DEBUG: Ceres Solver Report: Iterations: 4, Initial cost: 2.673140e+02, Final cost: 2.600604e+02, Termination: CONVERGENCE
2019-08-10 20:24:36,315 INFO: Removed outliers: 208
2019-08-10 20:24:36,421 INFO: -------------------------------------------------------
2019-08-10 20:24:38,378 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 1.839172e+03, Final cost: 1.529830e+03, Termination: NO_CONVERGENCE
2019-08-10 20:24:38,476 INFO: Removed outliers: 88
2019-08-10 20:24:38,563 INFO: {'average_track_length': 2.1193641222420174, 'points_count': 7297, 'observations_count': 15465, 'cameras_count': 8, 'average_track_length_notwo': 3.149076517150396}
2019-08-10 20:24:38,564 INFO: Reconstruction 0: 8 images, 7297 points
2019-08-10 20:24:38,564 INFO: 1 partial reconstructions in total.
[INFO] Updating /code/opensfm/config.yaml
[INFO] undistorted_image_max_size: 5505
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm undistort "/code/opensfm"
2019-08-10 20:24:39,864 DEBUG: Undistorting the reconstruction
2019-08-10 20:24:40,753 DEBUG: Undistorting image 14124.jpeg
2019-08-10 20:24:41,029 DEBUG: Undistorting image 14125.jpeg
2019-08-10 20:24:41,354 DEBUG: Undistorting image 14127.jpeg
2019-08-10 20:24:41,684 DEBUG: Undistorting image 14126.jpeg
2019-08-10 20:24:42,021 DEBUG: Undistorting image 15105.jpeg
2019-08-10 20:24:42,380 DEBUG: Undistorting image 15104.jpeg
2019-08-10 20:24:44,300 DEBUG: Undistorting image 15106.jpeg
2019-08-10 20:24:44,306 DEBUG: Undistorting image 15107.jpeg
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm export_visualsfm --undistorted "/code/opensfm"
2019-08-10 20:24:48,328 DEBUG: STREAM 'IHDR' 16 13
2019-08-10 20:24:48,329 DEBUG: STREAM 'IDAT' 41 8192
2019-08-10 20:24:48,329 DEBUG: STREAM 'IHDR' 16 13
2019-08-10 20:24:48,330 DEBUG: STREAM 'IDAT' 41 8192
2019-08-10 20:24:48,330 DEBUG: STREAM 'IHDR' 16 13
2019-08-10 20:24:48,330 DEBUG: STREAM 'IDAT' 41 8192
2019-08-10 20:24:48,331 DEBUG: STREAM 'IHDR' 16 13
2019-08-10 20:24:48,331 DEBUG: STREAM 'IDAT' 41 8192
2019-08-10 20:24:48,332 DEBUG: STREAM 'IHDR' 16 13
2019-08-10 20:24:48,332 DEBUG: STREAM 'IDAT' 41 8192
2019-08-10 20:24:48,332 DEBUG: STREAM 'IHDR' 16 13
2019-08-10 20:24:48,332 DEBUG: STREAM 'IDAT' 41 8192
2019-08-10 20:24:48,333 DEBUG: STREAM 'IHDR' 16 13
2019-08-10 20:24:48,333 DEBUG: STREAM 'IDAT' 41 8192
2019-08-10 20:24:48,334 DEBUG: STREAM 'IHDR' 16 13
2019-08-10 20:24:48,334 DEBUG: STREAM 'IDAT' 41 8192
[INFO] running /code/SuperBuild/src/opensfm/bin/export_bundler "/code/opensfm"
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm export_geocoords --transformation --proj '+proj=utm +zone=17 +datum=WGS84 +units=m +no_defs +type=crs' "/code/opensfm"
[INFO] Finished opensfm stage
[INFO] Running mve stage
[INFO] Wrote /code/opensfm/mve/list.txt with absolute paths
[INFO] running /code/SuperBuild/src/elibs/mve/apps/makescene/makescene "/code/opensfm/mve" "/code/mve"
MVE Makescene (built on Aug 6 2019, 03:11:47)
Info: Detected Noah bundler format.
Reading Bundler file (8 cameras, 7297 features)...
Recognized 8 original images from Noah's Bundler.
Creating output directories...
Saving bundle file...
Writing bundle (8 cameras, 7297 features): /code/mve/synth_0.out...
Processing view view_0000.mve...
Processing view Processing view view_0006.mveview_0005.mve......
Processing view view_0002.mve...
Processing view view_0007.mve...
Processing view view_0004.mve...
Processing view view_0001.mve...
Processing view view_0003.mve...
Created 8 views with 8 valid cameras.
Imported 8 undistorted images.
[INFO]
[INFO] ,*/**
[INFO] ,*@%*/@%*
[INFO] ,/@%******@&*.
[INFO] ,*@&*********/@&*
[INFO] ,*@&**************@&*
[INFO] ,/@&******************@&*.
[INFO] ,*@&*********************/@&*
[INFO] ,*@&**************************@&*.
[INFO] ,/@&******************************&&*,
[INFO] ,*&&**********************************@&*.
[INFO] ,*@&**************************************@&*.
[INFO] ,*@&***************#@@@@@@@@@%****************&&*,
[INFO] .*&&***************&@@@@@@@@@@@@@@****************@@*.
[INFO] .*@&***************&@@@@@@@@@@@@@@@@@%****(@@%********@@*.
[INFO] .*@@***************%@@@@@@@@@@@@@@@@@@@@@#****&@@@@%******&@*,
[INFO] .*&@****************@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/*****@@*.
[INFO] .*@@****************@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%*************@@*.
[INFO] .*@@****/***********@@@@@&**(@@@@@@@@@@@@@@@@@@@@@@@#*****************%@*,
[INFO] */@*******@*******#@@@@%*******/@@@@@@@@@@@@@@@@@@@@********************/@(,
[INFO] ,*@(********&@@@@@@#**************/@@@@@@@#**(@@&/**********************@&*
[INFO] *#@/*******************************@@@@@***&@&**********************&@*,
[INFO] *#@#******************************&@@@***@#*********************&@*,
[INFO] */@#*****************************@@@************************@@*.
[INFO] *#@/***************************/@@/*********************%@*,
[INFO] *#@#**************************#@@%******************%@*,
[INFO] */@#*************************(@@@@@@@&%/********&@*.
[INFO] *(@(*********************************/%@@%**%@*,
[INFO] *(@%************************************%@**
[INFO] **@%********************************&@*,
[INFO] *(@(****************************%@/*
[INFO] ,(@%************************#@/*
[INFO] ,*@%********************&@/,
[INFO] */@#****************#@/*
[INFO] ,/@&************#@/*
[INFO] ,*@&********%@/,
[INFO] */@#****(@/*
[INFO] ,/@@@@(*
[INFO] .**,
[INFO]
[INFO] Running dense reconstruction. This might take a while. Please be patient, the process is not dead or hung.
[INFO] Process is running
[INFO] running /code/SuperBuild/src/elibs/mve/apps/dmrecon/dmrecon -s4 --progress=silent --local-neighbors=2 "/code/mve"
MVE Depth Map Reconstruction (built on Aug 6 2019, 03:11:43)
Initializing scene with 8 views...
Initialized 8 views (max ID is 7), took 0ms.
Reading Photosynther file (8 cameras, 7297 features)...
Reconstructing all views...
Reconstruction took 44398ms.
Saving views back to disc...
Saving views to MVE files... done.
[INFO] running /code/SuperBuild/src/elibs/mve/apps/scene2pset/scene2pset -F4 "/code/mve" "/code/mve/mve_dense_point_cloud.ply"
MVE Scene to Pointset (built on Aug 6 2019, 03:11:55)
Using depthmap "depth-L4" and color image "undist-L4"
Initializing scene with 8 views...
Initialized 8 views (max ID is 7), took 0ms.
Processing view "0000" (with colors)...
Processing view "0004" (with colors)...
Processing view "0001" (with colors)...
Processing view "0002" (with colors)...
Processing view "0005" (with colors)...
Processing view "0003" (with colors)...
Processing view "0006" (with colors)...
Processing view "0007" (with colors)...
Writing final point set (266925 points)...
Writing PLY file (266925 verts, with colors, with normals, with confidences, with values, 0 faces)... done.
[INFO] running /code/SuperBuild/src/elibs/mve/apps/meshclean/meshclean -t0.6 --no-clean --component-size=0 "/code/mve/mve_dense_point_cloud.ply" "/code/mve/mve_dense_point_cloud.filtered.ply"
MVE FSSR Mesh Cleaning (built on Aug 6 2019, 03:12:20)
Loading mesh: /code/mve/mve_dense_point_cloud.ply
PLY Loader: comment Export generated by libmve
Reading PLY: 266925 verts... done.
Removing low-confidence geometry (threshold 0.6)...
Deleted 178622 low-confidence vertices.
Writing mesh: /code/mve/mve_dense_point_cloud.filtered.ply
Writing PLY file (88303 verts, with colors, with normals, with confidences, with values, 0 faces)... done.
[INFO] Finished mve stage
[INFO] Running odm_filterpoints stage
[INFO] Filtering point cloud (statistical, meanK 16, standard deviation 2.5)
[INFO] running /code/build/bin/odm_filterpoints -inputFile /code/mve/mve_dense_point_cloud.ply -outputFile /code/odm_filterpoints/point_cloud.ply -sd 2.5 -meank 16 -verbose
Running with parameters:
--inputFile /code/mve/mve_dense_point_cloud.ply
--outputFile /code/odm_filterpoints/point_cloud.ply
--sd 2.500000
--meank 16.000000
--verbose
Filtering point cloud...
Done!
[INFO] Finished odm_filterpoints stage
[INFO] Running odm_meshing stage
[INFO] Writing ODM Mesh file in: /code/odm_meshing/odm_mesh.ply
[INFO] running /code/SuperBuild/src/PoissonRecon/Bin/Linux/PoissonRecon --in /code/odm_filterpoints/point_cloud.ply --out /code/odm_meshing/odm_mesh.dirty.ply --depth 9 --pointWeight 4 --samplesPerNode 1.0 --threads 5 --linearFit --verbose
*************************************************************
*************************************************************
** Running Screened Poisson Reconstruction (Version 12.00) **
*************************************************************
*************************************************************
--in /code/odm_filterpoints/point_cloud.ply
--depth 9
--out /code/odm_meshing/odm_mesh.dirty.ply
--verbose
--samplesPerNode 1.000000
--pointWeight 4.000000
--threads 5
--linearFit
Input Points / Samples: 86736 / 49105
# Read input into tree: 0.1 (s), 13.1 (MB) / 13.1 (MB) / 0.0 (MB)
# Got kernel density: 0.0 (s), 16.5 (MB) / 16.5 (MB) / 0.4 (MB)
# Got normal field: 0.2 (s), 36.7 (MB) / 36.7 (MB) / 0.0 (MB)
Point weight / Estimated Area: 2.5956e-06 / 0.225132
# Finalized tree: 0.2 (s), 65.4 (MB) / 65.4 (MB) / 0.0 (MB)
# Set FEM constraints: 0.3 (s), 57.5 (MB) / 65.4 (MB) / 0.0 (MB)
#Set point constraints: 0.1 (s), 57.5 (MB) / 65.4 (MB) / 0.5 (MB)
Leaf Nodes / Active Nodes / Ghost Nodes: 649377 / 736512 / 5633
Memory Usage: 57.539 MB
Cycle[0] Depth[0/9]: Updated constraints / Got system / Solved in: 0.000 / 0.000 / 0.000 (58.883 MB) Nodes: 8
Cycle[0] Depth[1/9]: Updated constraints / Got system / Solved in: 0.001 / 0.000 / 0.000 (58.883 MB) Nodes: 27
Cycle[0] Depth[2/9]: Updated constraints / Got system / Solved in: 0.001 / 0.001 / 0.000 (58.883 MB) Nodes: 125
Cycle[0] Depth[3/9]: Updated constraints / Got system / Solved in: 0.001 / 0.004 / 0.000 (58.883 MB) Nodes: 729
Cycle[0] Depth[4/9]: Updated constraints / Got system / Solved in: 0.002 / 0.013 / 0.002 (58.883 MB) Nodes: 4913
Cycle[0] Depth[5/9]: Updated constraints / Got system / Solved in: 0.003 / 0.020 / 0.016 (60.625 MB) Nodes: 35937
Cycle[0] Depth[6/9]: Updated constraints / Got system / Solved in: 0.003 / 0.017 / 0.019 (60.883 MB) Nodes: 38632
Cycle[0] Depth[7/9]: Updated constraints / Got system / Solved in: 0.006 / 0.028 / 0.032 (63.203 MB) Nodes: 94488
Cycle[0] Depth[8/9]: Updated constraints / Got system / Solved in: 0.013 / 0.055 / 0.063 (65.773 MB) Nodes: 218072
Cycle[0] Depth[9/9]: Updated constraints / Got system / Solved in: 0.009 / 0.106 / 0.103 (65.773 MB) Nodes: 317752
# Linear system solved: 0.6 (s), 65.8 (MB) / 65.8 (MB) / 0.0 (MB)
Got average: 0.0 (s), 64.7 (MB) / 65.8 (MB) / 0.5 (MB)
Iso-Value: 4.998261e-01 = 43352.9 / 86736
Vertices / Polygons: 120730 / 241244
Corners / Vertices / Edges / Surface / Set Table / Copy Finer: 0.1 / 0.2 / 0.2 / 0.1 / 0.2 / 0.0 (s)
# Got triangles: 1.4 (s), 85.5 (MB) / 85.5 (MB) / 0.0 (MB)
# Total Solve: 3.2 (s), 85.5 (MB)
[INFO] running /code/build/bin/odm_cleanmesh -inputFile /code/odm_meshing/odm_mesh.dirty.ply -outputFile /code/odm_meshing/odm_mesh.ply -removeIslands -decimateMesh 598765 -verbose
Running with parameters:
--inputFile /code/odm_meshing/odm_mesh.dirty.ply
--outputFile /code/odm_meshing/odm_mesh.ply
--decimateMesh 598765
--removeIslands
--verbose
Removing islands
Decimating mesh
Current vertex count: 120730
Wanted vertex count: 598765
Skipping decimation
Saving cleaned mesh to file...
OK
[INFO] Writing ODM 2.5D Mesh file in: /code/odm_meshing/odm_25dmesh.ply
[WARNING] Cannot calculate GSD, using requested resolution of 5.0
[INFO] ODM 2.5D DSM resolution: 0.2
[INFO] Created temporary directory: /code/odm_meshing/tmp
[INFO] Creating DSM for 2.5D mesh
[INFO] running pdal info /code/odm_filterpoints/point_cloud.ply > /tmp/tmpx2Bioz.json
[INFO] Point cloud bounds are [minx: -4732979.5, maxx: -4729824.5] [miny: 4203801, maxy: 4207344]
[INFO] DEM resolution is (15775, 17715), max tile size is 4096, will split DEM generation into 25 tiles
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x0_y0.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmpaAw6Lj.json
[INFO] running pdal pipeline -i /tmp/tmpaAw6Lj.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x0_y1.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x0_y2.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x0_y3.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmpW3CJsr.json
[INFO] Pipeline file: /tmp/tmpjsKHe4.json[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x0_y4.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] running pdal pipeline -i /tmp/tmpW3CJsr.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x1_y0.tif (max, radius: 0.282842712475, resolution: 0.2)[INFO] Pipeline file: /tmp/tmpDLGVVC.json
[INFO] running pdal pipeline -i /tmp/tmpjsKHe4.json
[INFO] Pipeline file: /tmp/tmpsPCOcy.json
[INFO] running pdal pipeline -i /tmp/tmpsPCOcy.json
[INFO] running pdal pipeline -i /tmp/tmpDLGVVC.json
[INFO] Pipeline file: /tmp/tmp86z_Tm.json
[INFO] running pdal pipeline -i /tmp/tmp86z_Tm.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x1_y1.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmpHOTwc2.json
[INFO] running pdal pipeline -i /tmp/tmpHOTwc2.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x1_y2.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmppOOGx7.json
[INFO] running pdal pipeline -i /tmp/tmppOOGx7.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x1_y3.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmpQpsQdX.json
[INFO] running pdal pipeline -i /tmp/tmpQpsQdX.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x1_y4.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmphhZHG3.json
[INFO] running pdal pipeline -i /tmp/tmphhZHG3.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x2_y0.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmp_TYxCR.json
[INFO] running pdal pipeline -i /tmp/tmp_TYxCR.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x2_y1.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmpkQlDJL.json
[INFO] running pdal pipeline -i /tmp/tmpkQlDJL.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x2_y2.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmpjNYofI.json
[INFO] running pdal pipeline -i /tmp/tmpjNYofI.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x2_y3.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmpO3qSkl.json
[INFO] running pdal pipeline -i /tmp/tmpO3qSkl.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x2_y4.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmplih_ee.json
[INFO] running pdal pipeline -i /tmp/tmplih_ee.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x3_y0.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmpFZ183f.json
[INFO] running pdal pipeline -i /tmp/tmpFZ183f.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x3_y1.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmpqaTfcx.json
[INFO] running pdal pipeline -i /tmp/tmpqaTfcx.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x3_y2.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmpWix2xE.json
[INFO] running pdal pipeline -i /tmp/tmpWix2xE.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x3_y3.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmp7bGL57.json
[INFO] running pdal pipeline -i /tmp/tmp7bGL57.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x3_y4.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmpC4A12J.json
[INFO] running pdal pipeline -i /tmp/tmpC4A12J.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x4_y0.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmpA3fhrq.json
[INFO] running pdal pipeline -i /tmp/tmpA3fhrq.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x4_y1.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmpk698P1.json
[INFO] running pdal pipeline -i /tmp/tmpk698P1.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x4_y2.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmpxaT0CB.json
[INFO] running pdal pipeline -i /tmp/tmpxaT0CB.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x4_y3.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmpRQ5lkk.json
[INFO] running pdal pipeline -i /tmp/tmpRQ5lkk.json
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x4_y4.tif (max, radius: 0.282842712475, resolution: 0.2)
[INFO] Pipeline file: /tmp/tmptm0Eht.json
[INFO] running pdal pipeline -i /tmp/tmptm0Eht.json
[INFO] running gdalbuildvrt "/code/odm_meshing/tmp/tiles.vrt" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x0_y0.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x0_y1.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x0_y2.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x0_y3.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x0_y4.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x1_y0.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x1_y1.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x1_y2.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x1_y3.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x1_y4.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x2_y0.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x2_y1.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x2_y2.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x2_y3.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x2_y4.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x3_y0.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x3_y1.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x3_y2.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x3_y3.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x3_y4.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x4_y0.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x4_y1.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x4_y2.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x4_y3.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.282842712475_x4_y4.tif"
0...10...20...30...40...50...60...70...80...90...100 - done.
[INFO] running gdal_translate -co NUM_THREADS=6 --config GDAL_CACHEMAX 48.0% /code/odm_meshing/tmp/tiles.vrt /code/odm_meshing/tmp/tiles.tmp.tif
Input file size is 15776, 17715
0...10...20...30...40...50...60...70...80...90...100 - done.
[INFO] running gdal_translate -co NUM_THREADS=6 --config GDAL_CACHEMAX 48.0% -outsize 10% 0 /code/odm_meshing/tmp/tiles.tmp.tif /code/odm_meshing/tmp/tiles.small.tif
Input file size is 15776, 17715
0...10...20...30...40...50...60...70...80...90...100 - done.
[INFO] running gdal_fillnodata.py -co NUM_THREADS=6 --config GDAL_CACHEMAX 48.0% -b 1 -of GTiff /code/odm_meshing/tmp/tiles.small.tif /code/odm_meshing/tmp/tiles.small_filled.tif
0...10...20...30...40...50...60...70...80...90...100 - done.
[INFO] running gdalbuildvrt -resolution highest -r bilinear "/code/odm_meshing/tmp/merged.vrt" "/code/odm_meshing/tmp/tiles.small_filled.tif" "/code/odm_meshing/tmp/tiles.tmp.tif"
0...10...20...30...40...50...60...70...80...90...100 - done.
[INFO] running gdal_translate -co NUM_THREADS=6 --config GDAL_CACHEMAX 48.0% /code/odm_meshing/tmp/merged.vrt /code/odm_meshing/tmp/tiles.tif
Input file size is 15776, 17715
0...10...20...30...40...50...60...70...80...90...100 - done.
[INFO] Starting smoothing...
[INFO] Smoothing iteration 1
[INFO] Completed smoothing to create odm_meshing/tmp/mesh_dsm.tif in 0:00:38.523952
[INFO] Completed mesh_dsm.tif in 0:01:00.197869
[INFO] Creating mesh from DSM: /code/odm_meshing/tmp/mesh_dsm.tif
[INFO] running /code/SuperBuild/src/dem2mesh/dem2mesh -inputFile /code/odm_meshing/tmp/mesh_dsm.tif -outputFile /code/odm_meshing/odm_25dmesh.dirty.ply -maxTileLength 4000 -maxVertexCount 598765 -verbose
Running with parameters:
-inputFile /code/odm_meshing/tmp/mesh_dsm.tif
-outputFile /code/odm_meshing/odm_25dmesh.dirty.ply
-maxVertexCount 598765
-maxTileLength 4000
-verbose
Raster Size is 15776x17715
Extent is (-4732979.500000, -4729824.300000), (4203801.000000, 4207344.000000)
NoData value: -9999
Description:
Reading raster...
Total vertices before simplification: 279471840
Blocks depth: 3
Splitting area in 64
Block size is 1972, 2214
Processing block (0,0)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (0,1)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (0,2)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (0,3)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (0,4)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (0,5)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (0,6)
Sampled 2292402 faces, target is 28066
Simplifying...
iteration 0 - triangles 2292402 threshold 2.43e-07
iteration 5 - triangles 622128 threshold 3.2768e-05
iteration 10 - triangles 456274 threshold 0.000371293
iteration 15 - triangles 436533 threshold 0.00188957
iteration 20 - triangles 423027 threshold 0.00643634
iteration 25 - triangles 405015 threshold 0.0172104
iteration 30 - triangles 362139 threshold 0.0391354
iteration 35 - triangles 318307 threshold 0.0792352
iteration 40 - triangles 271599 threshold 0.147008
iteration 45 - triangles 245697 threshold 0.254804
iteration 50 - triangles 204829 threshold 0.418195
iteration 55 - triangles 181519 threshold 0.656357
iteration 60 - triangles 160847 threshold 0.992437
iteration 65 - triangles 142233 threshold 1.45393
iteration 70 - triangles 127423 threshold 2.07307
iteration 75 - triangles 113260 threshold 2.88717
iteration 80 - triangles 101872 threshold 3.93904
iteration 85 - triangles 92675 threshold 5.27732
iteration 90 - triangles 83293 threshold 6.95688
iteration 95 - triangles 75920 threshold 9.03921
Writing to binary file... done!
Processing block (0,7)
Sampled 8377832 faces, target is 28066
Simplifying...
iteration 0 - triangles 8377832 threshold 2.43e-07
iteration 5 - triangles 3263239 threshold 3.2768e-05
iteration 10 - triangles 2856506 threshold 0.000371293
iteration 15 - triangles 2796274 threshold 0.00188957
iteration 20 - triangles 2739314 threshold 0.00643634
iteration 25 - triangles 2659862 threshold 0.0172104
iteration 30 - triangles 2376844 threshold 0.0391354
iteration 35 - triangles 2054712 threshold 0.0792352
iteration 40 - triangles 1715104 threshold 0.147008
iteration 45 - triangles 1531788 threshold 0.254804
iteration 50 - triangles 1250130 threshold 0.418195
iteration 55 - triangles 1095966 threshold 0.656357
iteration 60 - triangles 945088 threshold 0.992437
iteration 65 - triangles 821220 threshold 1.45393
iteration 70 - triangles 720454 threshold 2.07307
iteration 75 - triangles 630200 threshold 2.88717
iteration 80 - triangles 557130 threshold 3.93904
iteration 85 - triangles 497491 threshold 5.27732
iteration 90 - triangles 438559 threshold 6.95688
iteration 95 - triangles 393996 threshold 9.03921
Writing to binary file... done!
Processing block (1,0)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (1,1)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (1,2)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (1,3)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (1,4)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (1,5)
Sampled 161282 faces, target is 28066
Simplifying...
iteration 0 - triangles 161282 threshold 2.43e-07
iteration 5 - triangles 30156 threshold 3.2768e-05
Writing to binary file... done!
Processing block (1,6)
Sampled 8313335 faces, target is 28066
Simplifying...
iteration 0 - triangles 8313335 threshold 2.43e-07
iteration 5 - triangles 3265277 threshold 3.2768e-05
iteration 10 - triangles 2855917 threshold 0.000371293
iteration 15 - triangles 2801235 threshold 0.00188957
iteration 20 - triangles 2748905 threshold 0.00643634
iteration 25 - triangles 2658502 threshold 0.0172104
iteration 30 - triangles 2352336 threshold 0.0391354
iteration 35 - triangles 2024152 threshold 0.0792352
iteration 40 - triangles 1689283 threshold 0.147008
iteration 45 - triangles 1504283 threshold 0.254804
iteration 50 - triangles 1239051 threshold 0.418195
iteration 55 - triangles 1089228 threshold 0.656357
iteration 60 - triangles 943610 threshold 0.992437
iteration 65 - triangles 824789 threshold 1.45393
iteration 70 - triangles 727875 threshold 2.07307
iteration 75 - triangles 641278 threshold 2.88717
iteration 80 - triangles 571596 threshold 3.93904
iteration 85 - triangles 514953 threshold 5.27732
iteration 90 - triangles 460331 threshold 6.95688
iteration 95 - triangles 416983 threshold 9.03921
Writing to binary file... done!
Processing block (1,7)
Sampled 5489736 faces, target is 28066
Simplifying...
iteration 0 - triangles 5489736 threshold 2.43e-07
iteration 5 - triangles 1589435 threshold 3.2768e-05
iteration 10 - triangles 1210844 threshold 0.000371293
iteration 15 - triangles 1168429 threshold 0.00188957
iteration 20 - triangles 1140794 threshold 0.00643634
iteration 25 - triangles 1102996 threshold 0.0172104
iteration 30 - triangles 989286 threshold 0.0391354
iteration 35 - triangles 861673 threshold 0.0792352
iteration 40 - triangles 724325 threshold 0.147008
iteration 45 - triangles 650990 threshold 0.254804
iteration 50 - triangles 536124 threshold 0.418195
iteration 55 - triangles 470998 threshold 0.656357
iteration 60 - triangles 410614 threshold 0.992437
iteration 65 - triangles 358597 threshold 1.45393
iteration 70 - triangles 317525 threshold 2.07307
iteration 75 - triangles 278612 threshold 2.88717
iteration 80 - triangles 248462 threshold 3.93904
iteration 85 - triangles 223020 threshold 5.27732
iteration 90 - triangles 197584 threshold 6.95688
iteration 95 - triangles 178097 threshold 9.03921
Writing to binary file... done!
Processing block (2,0)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (2,1)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (2,2)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (2,3)
Sampled 142000 faces, target is 28066
Simplifying...
iteration 0 - triangles 142000 threshold 2.43e-07
iteration 5 - triangles 28564 threshold 3.2768e-05
Writing to binary file... done!
Processing block (2,4)
Sampled 5574655 faces, target is 28066
Simplifying...
iteration 0 - triangles 5574655 threshold 2.43e-07
iteration 5 - triangles 1814602 threshold 3.2768e-05
iteration 10 - triangles 1463838 threshold 0.000371293
iteration 15 - triangles 1416184 threshold 0.00188957
iteration 20 - triangles 1388399 threshold 0.00643634
iteration 25 - triangles 1359233 threshold 0.0172104
iteration 30 - triangles 1251519 threshold 0.0391354
iteration 35 - triangles 1096419 threshold 0.0792352
iteration 40 - triangles 924397 threshold 0.147008
iteration 45 - triangles 838667 threshold 0.254804
iteration 50 - triangles 689197 threshold 0.418195
iteration 55 - triangles 609534 threshold 0.656357
iteration 60 - triangles 530450 threshold 0.992437
iteration 65 - triangles 465554 threshold 1.45393
iteration 70 - triangles 411608 threshold 2.07307
iteration 75 - triangles 363373 threshold 2.88717
iteration 80 - triangles 323987 threshold 3.93904
iteration 85 - triangles 292926 threshold 5.27732
iteration 90 - triangles 261646 threshold 6.95688
iteration 95 - triangles 237365 threshold 9.03921
Writing to binary file... done!
Processing block (2,5)
Sampled 6998258 faces, target is 28066
Simplifying...
iteration 0 - triangles 6998258 threshold 2.43e-07
iteration 5 - triangles 2136606 threshold 3.2768e-05
iteration 10 - triangles 1637342 threshold 0.000371293
iteration 15 - triangles 1578647 threshold 0.00188957
iteration 20 - triangles 1550570 threshold 0.00643634
iteration 25 - triangles 1505979 threshold 0.0172104
iteration 30 - triangles 1342088 threshold 0.0391354
iteration 35 - triangles 1155850 threshold 0.0792352
iteration 40 - triangles 966148 threshold 0.147008
iteration 45 - triangles 865043 threshold 0.254804
iteration 50 - triangles 713160 threshold 0.418195
iteration 55 - triangles 630824 threshold 0.656357
iteration 60 - triangles 549775 threshold 0.992437
iteration 65 - triangles 482806 threshold 1.45393
iteration 70 - triangles 429249 threshold 2.07307
iteration 75 - triangles 381255 threshold 2.88717
iteration 80 - triangles 341922 threshold 3.93904
iteration 85 - triangles 310187 threshold 5.27732
iteration 90 - triangles 278820 threshold 6.95688
iteration 95 - triangles 254390 threshold 9.03921
Writing to binary file... done!
Processing block (2,6)
Sampled 3559546 faces, target is 28066
Simplifying...
iteration 0 - triangles 3559546 threshold 2.43e-07
iteration 5 - triangles 601649 threshold 3.2768e-05
iteration 10 - triangles 220346 threshold 0.000371293
iteration 15 - triangles 177710 threshold 0.00188957
iteration 20 - triangles 163360 threshold 0.00643634
iteration 25 - triangles 152491 threshold 0.0172104
iteration 30 - triangles 133434 threshold 0.0391354
iteration 35 - triangles 114190 threshold 0.0792352
iteration 40 - triangles 95397 threshold 0.147008
iteration 45 - triangles 84599 threshold 0.254804
iteration 50 - triangles 71317 threshold 0.418195
iteration 55 - triangles 63306 threshold 0.656357
iteration 60 - triangles 57492 threshold 0.992437
iteration 65 - triangles 51555 threshold 1.45393
iteration 70 - triangles 47533 threshold 2.07307
iteration 75 - triangles 43119 threshold 2.88717
iteration 80 - triangles 40054 threshold 3.93904
iteration 85 - triangles 37169 threshold 5.27732
iteration 90 - triangles 34461 threshold 6.95688
iteration 95 - triangles 32101 threshold 9.03921
Writing to binary file... done!
Processing block (2,7)
Sampled 66483 faces, target is 28066
Simplifying...
iteration 0 - triangles 66483 threshold 2.43e-07
Writing to binary file... done!
Processing block (3,0)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (3,1)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (3,2)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (3,3)
Sampled 6132310 faces, target is 28066
Simplifying...
iteration 0 - triangles 6132310 threshold 2.43e-07
iteration 5 - triangles 2169480 threshold 3.2768e-05
iteration 10 - triangles 1822288 threshold 0.000371293
iteration 15 - triangles 1776924 threshold 0.00188957
iteration 20 - triangles 1749768 threshold 0.00643634
iteration 25 - triangles 1717239 threshold 0.0172104
iteration 30 - triangles 1605347 threshold 0.0391354
iteration 35 - triangles 1412895 threshold 0.0792352
iteration 40 - triangles 1196625 threshold 0.147008
iteration 45 - triangles 1090419 threshold 0.254804
iteration 50 - triangles 888973 threshold 0.418195
iteration 55 - triangles 785040 threshold 0.656357
iteration 60 - triangles 678675 threshold 0.992437
iteration 65 - triangles 590922 threshold 1.45393
iteration 70 - triangles 517007 threshold 2.07307
iteration 75 - triangles 450635 threshold 2.88717
iteration 80 - triangles 396427 threshold 3.93904
iteration 85 - triangles 354091 threshold 5.27732
iteration 90 - triangles 310904 threshold 6.95688
iteration 95 - triangles 278502 threshold 9.03921
Writing to binary file... done!
Processing block (3,4)
Sampled 8732016 faces, target is 28066
Simplifying...
iteration 0 - triangles 8732016 threshold 2.43e-07
iteration 5 - triangles 4606816 threshold 3.2768e-05
iteration 10 - triangles 4410368 threshold 0.000371293
iteration 15 - triangles 4372854 threshold 0.00188957
iteration 20 - triangles 4300444 threshold 0.00643634
iteration 25 - triangles 4167568 threshold 0.0172104
iteration 30 - triangles 3676926 threshold 0.0391354
iteration 35 - triangles 3159862 threshold 0.0792352
iteration 40 - triangles 2625782 threshold 0.147008
iteration 45 - triangles 2318810 threshold 0.254804
iteration 50 - triangles 1893288 threshold 0.418195
iteration 55 - triangles 1658122 threshold 0.656357
iteration 60 - triangles 1419744 threshold 0.992437
iteration 65 - triangles 1232686 threshold 1.45393
iteration 70 - triangles 1076018 threshold 2.07307
iteration 75 - triangles 942154 threshold 2.88717
iteration 80 - triangles 830860 threshold 3.93904
iteration 85 - triangles 740064 threshold 5.27732
iteration 90 - triangles 653222 threshold 6.95688
iteration 95 - triangles 586296 threshold 9.03921
Writing to binary file... done!
Processing block (3,5)
Sampled 4837761 faces, target is 28066
Simplifying...
iteration 0 - triangles 4837761 threshold 2.43e-07
iteration 5 - triangles 1396649 threshold 3.2768e-05
iteration 10 - triangles 1058555 threshold 0.000371293
iteration 15 - triangles 1020286 threshold 0.00188957
iteration 20 - triangles 1002146 threshold 0.00643634
iteration 25 - triangles 976736 threshold 0.0172104
iteration 30 - triangles 889525 threshold 0.0391354
iteration 35 - triangles 776909 threshold 0.0792352
iteration 40 - triangles 654983 threshold 0.147008
iteration 45 - triangles 592028 threshold 0.254804
iteration 50 - triangles 487080 threshold 0.418195
iteration 55 - triangles 428840 threshold 0.656357
iteration 60 - triangles 375039 threshold 0.992437
iteration 65 - triangles 326756 threshold 1.45393
iteration 70 - triangles 288792 threshold 2.07307
iteration 75 - triangles 253119 threshold 2.88717
iteration 80 - triangles 224991 threshold 3.93904
iteration 85 - triangles 201798 threshold 5.27732
iteration 90 - triangles 178276 threshold 6.95688
iteration 95 - triangles 160470 threshold 9.03921
Writing to binary file... done!
Processing block (3,6)
Sampled 132 faces, target is 132
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (3,7)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (4,0)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (4,1)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (4,2)
Sampled 3548813 faces, target is 28066
Simplifying...
iteration 0 - triangles 3548813 threshold 2.43e-07
iteration 5 - triangles 853216 threshold 3.2768e-05
iteration 10 - triangles 557323 threshold 0.000371293
iteration 15 - triangles 525212 threshold 0.00188957
iteration 20 - triangles 512700 threshold 0.00643634
iteration 25 - triangles 494602 threshold 0.0172104
iteration 30 - triangles 440733 threshold 0.0391354
iteration 35 - triangles 382486 threshold 0.0792352
iteration 40 - triangles 320820 threshold 0.147008
iteration 45 - triangles 289468 threshold 0.254804
iteration 50 - triangles 241077 threshold 0.418195
iteration 55 - triangles 212684 threshold 0.656357
iteration 60 - triangles 188408 threshold 0.992437
iteration 65 - triangles 165356 threshold 1.45393
iteration 70 - triangles 148074 threshold 2.07307
iteration 75 - triangles 130577 threshold 2.88717
iteration 80 - triangles 117407 threshold 3.93904
iteration 85 - triangles 106082 threshold 5.27732
iteration 90 - triangles 94710 threshold 6.95688
iteration 95 - triangles 85565 threshold 9.03921
Writing to binary file... done!
Processing block (4,3)
Sampled 8642389 faces, target is 28066
Simplifying...
iteration 0 - triangles 8642389 threshold 2.43e-07
iteration 5 - triangles 4606033 threshold 3.2768e-05
iteration 10 - triangles 4396664 threshold 0.000371293
iteration 15 - triangles 4355429 threshold 0.00188957
iteration 20 - triangles 4274005 threshold 0.00643634
iteration 25 - triangles 4131667 threshold 0.0172104
iteration 30 - triangles 3661581 threshold 0.0391354
iteration 35 - triangles 3149131 threshold 0.0792352
iteration 40 - triangles 2616570 threshold 0.147008
iteration 45 - triangles 2310225 threshold 0.254804
iteration 50 - triangles 1889848 threshold 0.418195
iteration 55 - triangles 1655148 threshold 0.656357
iteration 60 - triangles 1418084 threshold 0.992437
iteration 65 - triangles 1231944 threshold 1.45393
iteration 70 - triangles 1076099 threshold 2.07307
iteration 75 - triangles 942206 threshold 2.88717
iteration 80 - triangles 832396 threshold 3.93904
iteration 85 - triangles 742882 threshold 5.27732
iteration 90 - triangles 656850 threshold 6.95688
iteration 95 - triangles 589718 threshold 9.03921
Writing to binary file... done!
Processing block (4,4)
Sampled 7251633 faces, target is 28066
Simplifying...
iteration 0 - triangles 7251633 threshold 2.43e-07
iteration 5 - triangles 2857147 threshold 3.2768e-05
iteration 10 - triangles 2506939 threshold 0.000371293
iteration 15 - triangles 2458507 threshold 0.00188957
iteration 20 - triangles 2408883 threshold 0.00643634
iteration 25 - triangles 2337086 threshold 0.0172104
iteration 30 - triangles 2092839 threshold 0.0391354
iteration 35 - triangles 1812617 threshold 0.0792352
iteration 40 - triangles 1519093 threshold 0.147008
iteration 45 - triangles 1356919 threshold 0.254804
iteration 50 - triangles 1119772 threshold 0.418195
iteration 55 - triangles 988685 threshold 0.656357
iteration 60 - triangles 857749 threshold 0.992437
iteration 65 - triangles 751522 threshold 1.45393
iteration 70 - triangles 663490 threshold 2.07307
iteration 75 - triangles 585702 threshold 2.88717
iteration 80 - triangles 521726 threshold 3.93904
iteration 85 - triangles 469784 threshold 5.27732
iteration 90 - triangles 419788 threshold 6.95688
iteration 95 - triangles 380932 threshold 9.03921
Writing to binary file... done!
Processing block (4,5)
Sampled 1095 faces, target is 1095
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (4,6)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (4,7)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (5,0)
Sampled 35949 faces, target is 28066
Simplifying...
iteration 0 - triangles 35949 threshold 2.43e-07
Writing to binary file... done!
Processing block (5,1)
Sampled 4533452 faces, target is 28066
Simplifying...
iteration 0 - triangles 4533452 threshold 2.43e-07
iteration 5 - triangles 1138789 threshold 3.2768e-05
iteration 10 - triangles 788451 threshold 0.000371293
iteration 15 - triangles 751490 threshold 0.00188957
iteration 20 - triangles 738830 threshold 0.00643634
iteration 25 - triangles 720192 threshold 0.0172104
iteration 30 - triangles 658312 threshold 0.0391354
iteration 35 - triangles 581770 threshold 0.0792352
iteration 40 - triangles 495918 threshold 0.147008
iteration 45 - triangles 452376 threshold 0.254804
iteration 50 - triangles 373417 threshold 0.418195
iteration 55 - triangles 328988 threshold 0.656357
iteration 60 - triangles 290082 threshold 0.992437
iteration 65 - triangles 254293 threshold 1.45393
iteration 70 - triangles 226845 threshold 2.07307
iteration 75 - triangles 199393 threshold 2.88717
iteration 80 - triangles 178178 threshold 3.93904
iteration 85 - triangles 160620 threshold 5.27732
iteration 90 - triangles 142027 threshold 6.95688
iteration 95 - triangles 128211 threshold 9.03921
Writing to binary file... done!
Processing block (5,2)
Sampled 8731265 faces, target is 28066
Simplifying...
iteration 0 - triangles 8731265 threshold 2.43e-07
iteration 5 - triangles 3780845 threshold 3.2768e-05
iteration 10 - triangles 3426565 threshold 0.000371293
iteration 15 - triangles 3368734 threshold 0.00188957
iteration 20 - triangles 3316702 threshold 0.00643634
iteration 25 - triangles 3234704 threshold 0.0172104
iteration 30 - triangles 2897612 threshold 0.0391354
iteration 35 - triangles 2506532 threshold 0.0792352
iteration 40 - triangles 2094716 threshold 0.147008
iteration 45 - triangles 1870716 threshold 0.254804
iteration 50 - triangles 1525226 threshold 0.418195
iteration 55 - triangles 1336714 threshold 0.656357
iteration 60 - triangles 1148936 threshold 0.992437
iteration 65 - triangles 997678 threshold 1.45393
iteration 70 - triangles 872986 threshold 2.07307
iteration 75 - triangles 762532 threshold 2.88717
iteration 80 - triangles 671866 threshold 3.93904
iteration 85 - triangles 598858 threshold 5.27732
iteration 90 - triangles 527180 threshold 6.95688
iteration 95 - triangles 472696 threshold 9.03921
Writing to binary file... done!
Processing block (5,3)
Sampled 7212510 faces, target is 28066
Simplifying...
iteration 0 - triangles 7212510 threshold 2.43e-07
iteration 5 - triangles 2660128 threshold 3.2768e-05
iteration 10 - triangles 2256128 threshold 0.000371293
iteration 15 - triangles 2200484 threshold 0.00188957
iteration 20 - triangles 2155132 threshold 0.00643634
iteration 25 - triangles 2094001 threshold 0.0172104
iteration 30 - triangles 1879771 threshold 0.0391354
iteration 35 - triangles 1628889 threshold 0.0792352
iteration 40 - triangles 1366389 threshold 0.147008
iteration 45 - triangles 1223777 threshold 0.254804
iteration 50 - triangles 1004849 threshold 0.418195
iteration 55 - triangles 883841 threshold 0.656357
iteration 60 - triangles 766437 threshold 0.992437
iteration 65 - triangles 669779 threshold 1.45393
iteration 70 - triangles 591656 threshold 2.07307
iteration 75 - triangles 521715 threshold 2.88717
iteration 80 - triangles 465612 threshold 3.93904
iteration 85 - triangles 419534 threshold 5.27732
iteration 90 - triangles 374326 threshold 6.95688
iteration 95 - triangles 339645 threshold 9.03921
Writing to binary file... done!
Processing block (5,4)
Sampled 1118622 faces, target is 28066
Simplifying...
iteration 0 - triangles 1118622 threshold 2.43e-07
iteration 5 - triangles 203410 threshold 3.2768e-05
iteration 10 - triangles 91363 threshold 0.000371293
iteration 15 - triangles 78408 threshold 0.00188957
iteration 20 - triangles 74582 threshold 0.00643634
iteration 25 - triangles 69962 threshold 0.0172104
iteration 30 - triangles 61198 threshold 0.0391354
iteration 35 - triangles 53162 threshold 0.0792352
iteration 40 - triangles 45420 threshold 0.147008
iteration 45 - triangles 40712 threshold 0.254804
iteration 50 - triangles 35144 threshold 0.418195
iteration 55 - triangles 31399 threshold 0.656357
iteration 60 - triangles 28719 threshold 0.992437
Writing to binary file... done!
Processing block (5,5)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (5,6)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (5,7)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (6,0)
Sampled 5372068 faces, target is 28066
Simplifying...
iteration 0 - triangles 5372068 threshold 2.43e-07
iteration 5 - triangles 1579999 threshold 3.2768e-05
iteration 10 - triangles 1208635 threshold 0.000371293
iteration 15 - triangles 1167352 threshold 0.00188957
iteration 20 - triangles 1149583 threshold 0.00643634
iteration 25 - triangles 1119484 threshold 0.0172104
iteration 30 - triangles 1002183 threshold 0.0391354
iteration 35 - triangles 869725 threshold 0.0792352
iteration 40 - triangles 727697 threshold 0.147008
iteration 45 - triangles 652604 threshold 0.254804
iteration 50 - triangles 536615 threshold 0.418195
iteration 55 - triangles 471535 threshold 0.656357
iteration 60 - triangles 411564 threshold 0.992437
iteration 65 - triangles 359646 threshold 1.45393
iteration 70 - triangles 318236 threshold 2.07307
iteration 75 - triangles 279464 threshold 2.88717
iteration 80 - triangles 248959 threshold 3.93904
iteration 85 - triangles 223398 threshold 5.27732
iteration 90 - triangles 197947 threshold 6.95688
iteration 95 - triangles 178322 threshold 9.03921
Writing to binary file... done!
Processing block (6,1)
Sampled 8725798 faces, target is 28066
Simplifying...
iteration 0 - triangles 8725798 threshold 2.43e-07
iteration 5 - triangles 3815928 threshold 3.2768e-05
iteration 10 - triangles 3462735 threshold 0.000371293
iteration 15 - triangles 3406385 threshold 0.00188957
iteration 20 - triangles 3360453 threshold 0.00643634
iteration 25 - triangles 3288877 threshold 0.0172104
iteration 30 - triangles 2962293 threshold 0.0391354
iteration 35 - triangles 2567039 threshold 0.0792352
iteration 40 - triangles 2146166 threshold 0.147008
iteration 45 - triangles 1922198 threshold 0.254804
iteration 50 - triangles 1566550 threshold 0.418195
iteration 55 - triangles 1374097 threshold 0.656357
iteration 60 - triangles 1180273 threshold 0.992437
iteration 65 - triangles 1023151 threshold 1.45393
iteration 70 - triangles 893815 threshold 2.07307
iteration 75 - triangles 779847 threshold 2.88717
iteration 80 - triangles 686796 threshold 3.93904
iteration 85 - triangles 611712 threshold 5.27732
iteration 90 - triangles 538932 threshold 6.95688
iteration 95 - triangles 482456 threshold 9.03921
Writing to binary file... done!
Processing block (6,2)
Sampled 4274965 faces, target is 28066
Simplifying...
iteration 0 - triangles 4274965 threshold 2.43e-07
iteration 5 - triangles 1101845 threshold 3.2768e-05
iteration 10 - triangles 766772 threshold 0.000371293
iteration 15 - triangles 729109 threshold 0.00188957
iteration 20 - triangles 714626 threshold 0.00643634
iteration 25 - triangles 692343 threshold 0.0172104
iteration 30 - triangles 620787 threshold 0.0391354
iteration 35 - triangles 540610 threshold 0.0792352
iteration 40 - triangles 454160 threshold 0.147008
iteration 45 - triangles 409810 threshold 0.254804
iteration 50 - triangles 338513 threshold 0.418195
iteration 55 - triangles 299100 threshold 0.656357
iteration 60 - triangles 263073 threshold 0.992437
iteration 65 - triangles 230494 threshold 1.45393
iteration 70 - triangles 205604 threshold 2.07307
iteration 75 - triangles 180995 threshold 2.88717
iteration 80 - triangles 161741 threshold 3.93904
iteration 85 - triangles 145366 threshold 5.27732
iteration 90 - triangles 129349 threshold 6.95688
iteration 95 - triangles 116761 threshold 9.03921
Writing to binary file... done!
Processing block (6,3)
Sampled 20486 faces, target is 20486
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (6,4)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (6,5)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (6,6)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (6,7)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (7,0)
Sampled 8653976 faces, target is 28066
Simplifying...
iteration 0 - triangles 8653976 threshold 2.43e-07
iteration 5 - triangles 3674423 threshold 3.2768e-05
iteration 10 - triangles 3327243 threshold 0.000371293
iteration 15 - triangles 3271822 threshold 0.00188957
iteration 20 - triangles 3227781 threshold 0.00643634
iteration 25 - triangles 3164423 threshold 0.0172104
iteration 30 - triangles 2875249 threshold 0.0391354
iteration 35 - triangles 2502645 threshold 0.0792352
iteration 40 - triangles 2098717 threshold 0.147008
iteration 45 - triangles 1888850 threshold 0.254804
iteration 50 - triangles 1537206 threshold 0.418195
iteration 55 - triangles 1349328 threshold 0.656357
iteration 60 - triangles 1160768 threshold 0.992437
iteration 65 - triangles 1006254 threshold 1.45393
iteration 70 - triangles 880356 threshold 2.07307
iteration 75 - triangles 767620 threshold 2.88717
iteration 80 - triangles 676194 threshold 3.93904
iteration 85 - triangles 602958 threshold 5.27732
iteration 90 - triangles 529802 threshold 6.95688
iteration 95 - triangles 474208 threshold 9.03921
Writing to binary file... done!
Processing block (7,1)
Sampled 3757524 faces, target is 28066
Simplifying...
iteration 0 - triangles 3757524 threshold 2.43e-07
iteration 5 - triangles 985662 threshold 3.2768e-05
iteration 10 - triangles 701171 threshold 0.000371293
iteration 15 - triangles 669956 threshold 0.00188957
iteration 20 - triangles 660725 threshold 0.00643634
iteration 25 - triangles 646972 threshold 0.0172104
iteration 30 - triangles 582781 threshold 0.0391354
iteration 35 - triangles 503600 threshold 0.0792352
iteration 40 - triangles 419814 threshold 0.147008
iteration 45 - triangles 377342 threshold 0.254804
iteration 50 - triangles 312807 threshold 0.418195
iteration 55 - triangles 277442 threshold 0.656357
iteration 60 - triangles 243925 threshold 0.992437
iteration 65 - triangles 213652 threshold 1.45393
iteration 70 - triangles 190989 threshold 2.07307
iteration 75 - triangles 168126 threshold 2.88717
iteration 80 - triangles 150277 threshold 3.93904
iteration 85 - triangles 135380 threshold 5.27732
iteration 90 - triangles 120248 threshold 6.95688
iteration 95 - triangles 108437 threshold 9.03921
Writing to binary file... done!
Processing block (7,2)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (7,3)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (7,4)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (7,5)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (7,6)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Processing block (7,7)
Sampled 0 faces, target is 0
Simplifying...
No simplification needed
Writing to binary file... done!
Merge step...
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.0-0.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.0-1.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.0-2.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.0-3.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.0-4.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.0-5.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.0-6.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.0-7.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.1-0.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.1-1.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.1-2.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.1-3.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.1-4.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.1-5.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.1-6.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.1-7.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.2-0.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.2-1.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.2-2.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.2-3.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.2-4.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.2-5.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.2-6.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.2-7.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.3-0.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.3-1.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.3-2.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.3-3.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.3-4.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.3-5.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.3-6.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.3-7.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.4-0.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.4-1.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.4-2.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.4-3.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.4-4.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.4-5.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.4-6.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.4-7.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.5-0.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.5-1.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.5-2.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.5-3.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.5-4.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.5-5.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.5-6.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.5-7.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.6-0.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.6-1.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.6-2.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.6-3.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.6-4.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.6-5.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.6-6.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.6-7.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.7-0.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.7-1.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.7-2.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.7-3.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.7-4.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.7-5.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.7-6.bin
Reading /code/odm_meshing/odm_25dmesh.dirty.ply.7-7.bin
Simplifying final mesh...
iteration 0 - triangles 5564627 threshold 2.43e-07
iteration 5 - triangles 4881184 threshold 3.2768e-05
iteration 10 - triangles 4862086 threshold 0.000371293
iteration 15 - triangles 4859070 threshold 0.00188957
iteration 20 - triangles 4856386 threshold 0.00643634
iteration 25 - triangles 4849940 threshold 0.0172104
iteration 30 - triangles 4744753 threshold 0.0391354
iteration 35 - triangles 4525844 threshold 0.0792352
iteration 40 - triangles 4223779 threshold 0.147008
iteration 45 - triangles 3934957 threshold 0.254804
iteration 50 - triangles 3472133 threshold 0.418195
iteration 55 - triangles 3135220 threshold 0.656357
iteration 60 - triangles 2780998 threshold 0.992437
iteration 65 - triangles 2483304 threshold 1.45393
iteration 70 - triangles 2226761 threshold 2.07307
iteration 75 - triangles 2010089 threshold 2.88717
iteration 80 - triangles 1829128 threshold 3.93904
iteration 85 - triangles 1675599 threshold 5.27732
iteration 90 - triangles 1537508 threshold 6.95688
iteration 95 - triangles 1420635 threshold 9.03921
Writing to file... done!
[INFO] running /code/build/bin/odm_cleanmesh -inputFile /code/odm_meshing/odm_25dmesh.dirty.ply -outputFile /code/odm_meshing/odm_25dmesh.ply -removeIslands -decimateMesh 598765 -verbose
Running with parameters:
--inputFile /code/odm_meshing/odm_25dmesh.dirty.ply
--outputFile /code/odm_meshing/odm_25dmesh.ply
--decimateMesh 598765
--removeIslands
--verbose
Removing islands
Decimating mesh
Current vertex count: 659259
Wanted vertex count: 598765
Target reduction set to 0.091761
Saving cleaned mesh to file...
OK
[INFO] Finished odm_meshing stage
[INFO] Running mvs_texturing stage
[INFO] Writing MVS Textured file in: /code/odm_texturing/odm_textured_model.obj
[INFO] running /code/SuperBuild/install/bin/texrecon /code/opensfm/reconstruction.nvm /code/odm_meshing/odm_mesh.ply /code/odm_texturing/odm_textured_model -d gmi -o gauss_clamping -t none -n 1073741823
/code/SuperBuild/install/bin/texrecon (built on Aug 6 2019, 03:11:08)
Load and prepare mesh:
PLY Loader: comment VTK generated PLY File
Reading PLY: 120730 verts... 241244 faces... done.
Warning: Zero-length normals detected: 4445 face normals, 16 vertex normals
Generating texture views:
NVM: Loading file...
NVM: Number of views: 8
NVM: Number of features: 0
Loading 100%... done. (Took 7.483s)
Building adjacency graph:
Adding edges 100%... done. (Took 0.585s)
361759 total edges.
View selection:
Building BVH from 241244 faces... done. (Took: 227 ms)
Calculating face qualities 100%... done. (Took 6.036s)
Postprocessing face infos 100%... done. (Took 0.042s)
Maximum quality of a face within an image: 16566.5
Clamping qualities to 1328.77 within normalization.
Writing data cost file... done.
Optimizing:
Time[s] Energy
0 236533
0 236421
0 235378
1 234733
1 234433
1 234296
2 234215
2 234148
2 234107
3 234073
5675 faces have not been seen
Took: 9.822s
Generating texture patches:
Running... done. (Took 2.957s)
1826 texture patches.
Running global seam leveling:
Create matrices for optimization... done.
Lhs dimensionality: 124076 x 124076
Calculating adjustments:
Color channel 0: CG took 64 iterations. Residual is 9.92941e-05
Color channel 2: CG took 64 iterations. Residual is 9.92941e-05
Color channel 1: CG took 64 iterations. Residual is 9.92941e-05
Took 0.18 seconds
Adjusting texture patches 100%... done. (Took 1.855s)
Running local seam leveling:
Blending texture patches 100%... done. (Took 10.59s)
Generating texture atlases:
Sorting texture patches... done.
Working on atlas 5 100%... done.
Finalizing texture atlases... done. (Took: 13.05s)
Building objmodel:
Saving model... done.
Whole texturing procedure took: 77.747s
[INFO] Writing MVS Textured file in: /code/odm_texturing_25d/odm_textured_model.obj
[INFO] running /code/SuperBuild/install/bin/texrecon /code/opensfm/reconstruction.nvm /code/odm_meshing/odm_25dmesh.ply /code/odm_texturing_25d/odm_textured_model -d gmi -o gauss_clamping -t none --nadir_mode -n 1073741823
/code/SuperBuild/install/bin/texrecon (built on Aug 6 2019, 03:11:08)
Load and prepare mesh:
PLY Loader: comment VTK generated PLY File
Reading PLY: 482779 verts... 964763 faces... done.
Removed 9 redundant faces.
Warning: Zero-length normals detected: 86705 face normals, 9242 vertex normals
Generating texture views:
NVM: Loading file...
NVM: Number of views: 8
NVM: Number of features: 0
Loading 100%... done. (Took 7.344s)
Building adjacency graph:
Adding edges 100%... done. (Took 2.241s)
1446788 total edges.
View selection:
Building BVH from 964754 faces... done. (Took: 1181 ms)
Calculating face qualities 100%... done. (Took 4.948s)
Postprocessing face infos 100%... done. (Took 0.134s)
Maximum quality of a face within an image: 932.599
Clamping qualities to 220.582 within normalization.
Writing data cost file... done.
Optimizing:
Time[s] Energy
1 415080
7 414545
8 408006
9 405273
10 404377
11 403903
12 403668
14 403593
15 403444
16 403359
17 403299
18 403260
19 403221
20 403177
177455 faces have not been seen
Took: 29.038s
Generating texture patches:
Running... done. (Took 3.604s)
21847 texture patches.
Running global seam leveling:
Create matrices for optimization... done.
Lhs dimensionality: 488928 x 488928
Calculating adjustments:
Color channel 2: CG took 83 iterations. Residual is 8.99903e-05
Color channel 0: CG took 83 iterations. Residual is 8.99903e-05
Color channel 1: CG took 83 iterations. Residual is 8.99903e-05
Took 0.981 seconds
Adjusting texture patches 100%... done. (Took 5.655s)
Running local seam leveling:
Blending texture patches 100%... done. (Took 24.907s)
Generating texture atlases:
Sorting texture patches... done.
Working on atlas 76 100%... done.
Finalizing texture atlases... done. (Took: 12.059s)
Building objmodel:
Saving model... done.
Whole texturing procedure took: 113.467s
[INFO] Finished mvs_texturing stage
[INFO] Running odm_georeferencing stage
[INFO] Running georeferencing with OpenSfM transformation matrix
[INFO] running /code/build/bin/odm_georef -bundleFile /code/opensfm/bundle_r000.out -inputTransformFile /code/opensfm/geocoords_transformation.txt -inputCoordFile /code/odm_georeferencing/coords.txt -inputFile /code/odm_texturing_25d/odm_textured_model.obj -outputFile /code/odm_texturing_25d/odm_textured_model_geo.obj -inputPointCloudFile /code/odm_filterpoints/point_cloud.ply -outputPointCloudFile /code/odm_georeferencing/odm_georeferenced_model.laz -outputPointCloudSrs '+proj=utm +zone=17 +datum=WGS84 +units=m +no_defs +type=crs' -verbose -logFile /code/odm_25dgeoreferencing/odm_georeferencing_log.txt -outputTransformFile /code/odm_25dgeoreferencing/odm_georeferencing_transform.txt -georefFileOutputPath /code/odm_25dgeoreferencing/odm_georeferencing_model_geo.txt
Log file path was set to: /code/odm_25dgeoreferencing/odm_georeferencing_log.txt
Transform file path was set to: /code/odm_25dgeoreferencing/odm_georeferencing_transform.txt
Georef file output path is set to: /code/odm_25dgeoreferencing/odm_georeferencing_model_geo.txt
Missing input in order to use GCP for georeferencing. Using EXIF data instead.
Reading mesh file...
.. mesh file read.
Applying transform to mesh...
.. mesh transformed.
Successfully saved model.
Saving final transform file to '/code/odm_25dgeoreferencing/odm_georeferencing_transform.txt'...
... final transform saved.
Transforming point cloud...
Point cloud file saved.
Saving georeference system file to '/code/odm_25dgeoreferencing/odm_georeferencing_model_geo.txt'...
... georeference system saved.
[INFO] Calculating cropping area and generating bounds shapefile from point cloud
[INFO] running pdal translate -i "/code/odm_georeferencing/odm_georeferenced_model.laz" -o "/code/odm_georeferencing/odm_georeferenced_model.decimated.las" decimation --filters.decimation.step=90
PDAL: writers.las: Unable to convert scaled value (1e+32) to int32 for dimension 'X' when writing LAS/LAZ file /code/odm_georeferencing/odm_georeferenced_model.decimated.las.
Traceback (most recent call last):
File "/code/run.py", line 56, in <module>
app.execute()
File "/code/stages/odm_app.py", line 92, in execute
self.first_stage.run()
File "/code/opendm/types.py", line 373, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 373, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 373, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 373, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 373, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 373, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 373, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 373, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 354, in run
self.process(self.args, outputs)
File "/code/stages/odm_georeferencing.py", line 138, in process
decimation_step=decimation_step)
File "/code/opendm/cropper.py", line 228, in create_bounds_gpkg
bounds_geojson_path = self.create_bounds_geojson(pointcloud_path, buffer_distance, decimation_step)
File "/code/opendm/cropper.py", line 137, in create_bounds_geojson
"--filters.decimation.step={} ".format(pointcloud_path, decimated_pointcloud_path, decimation_step))
File "/code/opendm/system.py", line 76, in run
raise Exception("Child returned {}".format(retcode))
Exception: Child returned 1
---
# A list of global configuration variables
# Uncomment lines as needed to edit default settings.
# Note this only works for settings with default values. Some commands like --rerun <module>
# or --force-ccd n will have to be set in the command line (if you need to)
# This line is really important to set up properly
project_path: '/' # Example: '/home/ubuntu/myodmproject'
# The rest of the settings will default to the values set unless you uncomment and change them
#resize_to: 2048
#start_with: 'resize'
#end_with: 'odm_orthophoto'
rerun_all: False
#zip_results: False
verbose: True
#time: False
#use_fixed_camera_params: False
#use_hybrid_bundle_adjustment: False
#opensfm_processes: 4 # by default this is set to $(nproc)
#min_num_features: 4000
#matcher_threshold: 2.0
#matcher_ratio: 0.6
#matcher_neighbors: 8
#matcher_distance: 0
#use_pmvs: False # The cmvs/pmvs settings only matter if 'Enabled' is set to True
#cmvs_maximages: 500
#pmvs_level: 1
#pmvs_csize: 2
#pmvs_threshold: 0.7
#pmvs_wsize: 7
#pmvs_min_images: 3
#pmvs_num_cores: 4 # by default this is set to $(nproc)
mesh_size: 598765
#mesh_octree_depth: 9
#mesh_samples: 1.0
#mesh_solver_divide: 9
#texturing_data_term: 'gmi'
#texturing_outlier_removal_type: 'gauss_clamping'
#texturing_skip_visibility_test: False
#texturing_skip_global_seam_leveling: False
#texturing_skip_local_seam_leveling: False
#texturing_skip_hole_filling: False
#texturing_keep_unseen_faces: False
#texturing_tone_mapping: 'none'
#gcp: !!null # YAML tag for None
#use_exif: False # Set to True if you have a GCP file (it auto-detects) and want to use EXIF
#dtm: False # Use this tag to build a DTM (Digital Terrain Model
#dsm: False # Use this tag to build a DSM (Digital Surface Model
#dem-gapfill-steps: 4
#dem-resolution: 0.1
#dem-maxangle:20
#dem-maxsd: 2.5
#dem-approximate: False
#dem-decimation: 1
#dem-terrain-type: ComplexForest
#orthophoto_resolution: 20.0 # Pixels/meter
#orthophoto_target_srs: !!null # Currently does nothing
#orthophoto_no_tiled: False
#orthophoto_compression: DEFLATE # Options are [JPEG, LZW, PACKBITS, DEFLATE, LZMA, NONE] Don't change unless you know what you are doing
#orthophoto_bigtiff: IF_SAFER # Options are [YES, NO, IF_NEEDED, IF_SAFER]
#build_overviews: FALSE
#pc-classify: none
# this was originally missing in the settings.yaml
texturing_nadir_weight: 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment