Last active
September 1, 2019 18:46
-
-
Save skorasaurus/7901e99c9d3628ab0fef08a5771edcce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it --rm \ | |
-v "$(pwd)/geotagged-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 --fast-orthophoto | tee 2019-09-01-take8.log | |
=================== | |
[INFO] Fast orthophoto is turned on, automatically setting --skip-3dmodel | |
[INFO] Initializing OpenDroneMap app - Sun Sep 01 17:56:43 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: True | |
[INFO] force_gps: 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: 11 | |
[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: False | |
[INFO] rerun_from: None | |
[INFO] resize_to: 2048 | |
[INFO] skip_3dmodel: True | |
[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] Running dataset stage | |
[INFO] Loading dataset from: /code/images | |
[INFO] Loading 2 images | |
[INFO] Wrote images database: /code/images.json | |
[INFO] Found 2 usable images | |
[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] Altitude data detected, enabling it for GPS alignment | |
[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', 'use_altitude_tag: yes', 'align_method: naive'] | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm extract_metadata "/code/opensfm" | |
2019-09-01 17:56:44,534 INFO: Extracting EXIF for 14124.jpg | |
2019-09-01 17:56:44,598 INFO: Extracting EXIF for 14125.jpg | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm detect_features "/code/opensfm" | |
2019-09-01 17:56:45,852 INFO: Extracting ROOT_HAHOG features for image 14124.jpg | |
2019-09-01 17:56:46,472 INFO: Extracting ROOT_HAHOG features for image 14125.jpg | |
2019-09-01 17:56:53,375 DEBUG: Found 11104 points in 5.2177271843s | |
2019-09-01 17:56:53,693 DEBUG: Found 11328 points in 5.53047299385s | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm match_features "/code/opensfm" | |
2019-09-01 17:56:55,381 INFO: Matching 1 image pairs | |
2019-09-01 17:56:55,928 INFO: Matching 14124.jpg - 1 / 2 | |
2019-09-01 17:56:56,408 INFO: Matching 14125.jpg - 2 / 2 | |
2019-09-01 17:56:59,254 DEBUG: 14124.jpg - 14125.jpg has 1367 candidate matches | |
2019-09-01 17:56:59,261 DEBUG: Robust matching time : 0.00729084014893s | |
2019-09-01 17:56:59,261 DEBUG: Full matching 1330 / 1367, time: 3.33336091042s | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm create_tracks "/code/opensfm" | |
2019-09-01 17:57:00,032 INFO: reading features | |
2019-09-01 17:57:00,081 DEBUG: Merging features onto tracks | |
2019-09-01 17:57:00,094 DEBUG: Good tracks: 1330 | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm reconstruct "/code/opensfm" | |
2019-09-01 17:57:00,868 INFO: Starting incremental reconstruction | |
2019-09-01 17:57:00,883 INFO: Starting reconstruction with 14124.jpg and 14125.jpg | |
2019-09-01 17:57:01,004 INFO: Two-view reconstruction inliers: 1330 / 1330 | |
2019-09-01 17:57:01,146 INFO: Triangulated: 1330 | |
2019-09-01 17:57:01,185 DEBUG: Ceres Solver Report: Iterations: 3, Initial cost: 7.331754e+02, Final cost: 7.310280e+02, Termination: CONVERGENCE | |
2019-09-01 17:57:01,336 DEBUG: Ceres Solver Report: Iterations: 3, Initial cost: 7.314140e+02, Final cost: 7.301887e+02, Termination: CONVERGENCE | |
2019-09-01 17:57:02,576 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 1.462780e+03, Final cost: 1.456044e+03, Termination: NO_CONVERGENCE | |
2019-09-01 17:57:02,632 INFO: Removed outliers: 76 | |
2019-09-01 17:57:02,713 INFO: ------------------------------------------------------- | |
2019-09-01 17:57:03,993 DEBUG: Ceres Solver Report: Iterations: 18, Initial cost: 1.607093e+01, Final cost: 7.843811e+00, Termination: CONVERGENCE | |
2019-09-01 17:57:04,024 INFO: Removed outliers: 13 | |
2019-09-01 17:57:04,081 INFO: {'average_track_length': 2.0, 'points_count': 1274, 'observations_count': 2548, 'cameras_count': 2, 'average_track_length_notwo': -1} | |
2019-09-01 17:57:04,082 INFO: Reconstruction 0: 2 images, 1274 points | |
2019-09-01 17:57:04,082 INFO: 1 partial reconstructions in total. | |
[INFO] Updating /code/opensfm/config.yaml | |
[INFO] undistorted_image_max_size: 5467 | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm undistort "/code/opensfm" | |
2019-09-01 17:57:05,360 DEBUG: Undistorting the reconstruction | |
2019-09-01 17:57:06,091 DEBUG: Undistorting image 14124.jpg | |
2019-09-01 17:57:06,623 DEBUG: Undistorting image 14125.jpg | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm export_visualsfm --undistorted "/code/opensfm" | |
2019-09-01 17:57:12,017 DEBUG: STREAM 'IHDR' 16 13 | |
2019-09-01 17:57:12,017 DEBUG: STREAM 'IDAT' 41 8192 | |
2019-09-01 17:57:12,019 DEBUG: STREAM 'IHDR' 16 13 | |
2019-09-01 17:57:12,019 DEBUG: STREAM 'IDAT' 41 8192 | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm export_ply --no-cameras "/code/opensfm" | |
[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 odm_filterpoints stage | |
[INFO] Filtering point cloud (statistical, meanK 16, standard deviation 2.5) | |
[INFO] running /code/build/bin/odm_filterpoints -inputFile /code/opensfm/reconstruction.ply -outputFile /code/odm_filterpoints/point_cloud.ply -sd 2.5 -meank 16 -verbose | |
Running with parameters: | |
--inputFile /code/opensfm/reconstruction.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 2.5D Mesh file in: /code/odm_meshing/odm_25dmesh.ply | |
[93m[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/tmpSYcbRn.json | |
[INFO] Point cloud bounds are [minx: -997.1917114, maxx: 751.9190674] [miny: -1371.436523, maxy: 1403.452271] | |
[INFO] DEM resolution is (8746, 13875), max tile size is 4096, will split DEM generation into 9 tiles | |
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x0_y0.tif (max, radius: 0.565685424949, resolution: 0.2) | |
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x0_y1.tif (max, radius: 0.565685424949, resolution: 0.2) | |
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x0_y2.tif (max, radius: 0.565685424949, resolution: 0.2) | |
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x1_y1.tif (max, radius: 0.565685424949, resolution: 0.2)[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x1_y0.tif (max, radius: 0.565685424949, resolution: 0.2) | |
[INFO] Pipeline file: /tmp/tmpLCci99.json | |
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x1_y2.tif (max, radius: 0.565685424949, resolution: 0.2) | |
[INFO] Pipeline file: /tmp/tmpnxJIhM.json | |
[INFO] running pdal pipeline -i /tmp/tmpnxJIhM.json | |
[INFO] running pdal pipeline -i /tmp/tmpLCci99.json | |
[INFO] Pipeline file: /tmp/tmpJN91NL.json | |
[INFO] running pdal pipeline -i /tmp/tmpJN91NL.json | |
[INFO] Pipeline file: /tmp/tmpi90Yet.json | |
[INFO] Pipeline file: /tmp/tmp28WWZe.json | |
[INFO] Pipeline file: /tmp/tmpMY6yN7.json | |
[INFO] running pdal pipeline -i /tmp/tmpMY6yN7.json | |
[INFO] running pdal pipeline -i /tmp/tmp28WWZe.json | |
[INFO] running pdal pipeline -i /tmp/tmpi90Yet.json | |
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x2_y0.tif (max, radius: 0.565685424949, resolution: 0.2) | |
[INFO] Pipeline file: /tmp/tmpAKsRuG.json | |
[INFO] running pdal pipeline -i /tmp/tmpAKsRuG.json | |
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x2_y1.tif (max, radius: 0.565685424949, resolution: 0.2) | |
[INFO] Pipeline file: /tmp/tmpNJNFpx.json | |
[INFO] running pdal pipeline -i /tmp/tmpNJNFpx.json | |
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x2_y2.tif (max, radius: 0.565685424949, resolution: 0.2) | |
[INFO] Pipeline file: /tmp/tmp3cFZ95.json | |
[INFO] running pdal pipeline -i /tmp/tmp3cFZ95.json | |
[INFO] running gdalbuildvrt "/code/odm_meshing/tmp/tiles.vrt" "/code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x0_y0.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x0_y1.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x0_y2.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x1_y0.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x1_y1.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x1_y2.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x2_y0.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x2_y1.tif" "/code/odm_meshing/tmp/mesh_dsm_r0.565685424949_x2_y2.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.15% /code/odm_meshing/tmp/tiles.vrt /code/odm_meshing/tmp/tiles.tmp.tif | |
Input file size is 8746, 13875 | |
0...10...20...30...40...50...60...70...80...90...100 - done. | |
[INFO] running gdal_translate -co NUM_THREADS=6 --config GDAL_CACHEMAX 48.15% -outsize 10% 0 /code/odm_meshing/tmp/tiles.tmp.tif /code/odm_meshing/tmp/tiles.small.tif | |
Input file size is 8746, 13875 | |
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.15% -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.15% /code/odm_meshing/tmp/merged.vrt /code/odm_meshing/tmp/tiles.tif | |
Input file size is 8746, 13875 | |
0...10...20...30...40...50...60...70...80...90...100 - done. | |
[INFO] Completed mesh_dsm.tif in 0:00:14.065527 | |
[INFO] Sampling points from DSM: /code/odm_meshing/tmp/mesh_dsm.tif | |
[INFO] running /code/SuperBuild/src/dem2points/dem2points -inputFile /code/odm_meshing/tmp/mesh_dsm.tif -outputFile /code/odm_meshing/tmp/dsm_points.ply -skirtHeightThreshold 1.5 -skirtIncrements 0.2 -skirtHeightCap 100 -verbose | |
Running with parameters: | |
--inputFile /code/odm_meshing/tmp/mesh_dsm.tif | |
--outputFile /code/odm_meshing/tmp/dsm_points.ply | |
--skirtHeightThreshold 1.500000 | |
--skirtIncrements 0.200000 | |
--skirtHeightCap 100.000000 | |
--verbose | |
Raster Size is 8746x13875 | |
Extent is (-997.191711, 752.008289), (-1371.510660, 1403.489340) | |
Read nodata value: -9999 | |
Calculating skirts and vertex count... 299965 skirt points will be added | |
Total vertices: 110833945 | |
Sampling and writing to file... done! | |
[INFO] running /code/SuperBuild/src/PoissonRecon/Bin/Linux/PoissonRecon --in /code/odm_meshing/tmp/dsm_points.ply --out /code/odm_meshing/odm_25dmesh.dirty.ply --depth 11 --pointWeight 4 --samplesPerNode 1.0 --threads 5 --linearFit --verbose | |
************************************************************* | |
************************************************************* | |
** Running Screened Poisson Reconstruction (Version 12.00) ** | |
************************************************************* | |
************************************************************* | |
--in /code/odm_meshing/tmp/dsm_points.ply | |
--depth 11 | |
--out /code/odm_meshing/odm_25dmesh.dirty.ply | |
--verbose | |
--samplesPerNode 1.000000 | |
--pointWeight 4.000000 | |
--threads 5 | |
--linearFit | |
Input Points / Samples: 110833945 / 2136596 | |
# Read input into tree: 92.4 (s), 262.8 (MB) / 262.8 (MB) / 0.0 (MB) | |
# Got kernel density: 0.8 (s), 332.0 (MB) / 332.0 (MB) / 0.5 (MB) | |
# Got normal field: 4.5 (s), 753.2 (MB) / 753.2 (MB) / 0.0 (MB) | |
Point weight / Estimated Area: 4.71665e-09 / 0.522765 | |
# Finalized tree: 4.2 (s), 1214.2 (MB) / 1214.2 (MB) / 0.0 (MB) | |
# Set FEM constraints: 8.3 (s), 987.5 (MB) / 1214.2 (MB) / 0.0 (MB) | |
#Set point constraints: 1.7 (s), 987.5 (MB) / 1214.2 (MB) / 0.5 (MB) | |
Leaf Nodes / Active Nodes / Ghost Nodes: 12491935 / 14275776 / 721 | |
Memory Usage: 987.457 MB | |
Cycle[0] Depth[ 0/11]: Updated constraints / Got system / Solved in: 0.002 / 0.001 / 0.000 (1058.688 MB) Nodes: 8 | |
Cycle[0] Depth[ 1/11]: Updated constraints / Got system / Solved in: 0.001 / 0.000 / 0.000 (1058.688 MB) Nodes: 27 | |
Cycle[0] Depth[ 2/11]: Updated constraints / Got system / Solved in: 0.001 / 0.001 / 0.000 (1059.387 MB) Nodes: 125 | |
Cycle[0] Depth[ 3/11]: Updated constraints / Got system / Solved in: 0.001 / 0.005 / 0.001 (1059.699 MB) Nodes: 729 | |
Cycle[0] Depth[ 4/11]: Updated constraints / Got system / Solved in: 0.002 / 0.010 / 0.003 (1060.211 MB) Nodes: 4913 | |
Cycle[0] Depth[ 5/11]: Updated constraints / Got system / Solved in: 0.003 / 0.028 / 0.017 (1062.527 MB) Nodes: 35937 | |
Cycle[0] Depth[ 6/11]: Updated constraints / Got system / Solved in: 0.004 / 0.012 / 0.009 (1065.102 MB) Nodes: 31336 | |
Cycle[0] Depth[ 7/11]: Updated constraints / Got system / Solved in: 0.007 / 0.037 / 0.028 (1078.234 MB) Nodes: 100768 | |
Cycle[0] Depth[ 8/11]: Updated constraints / Got system / Solved in: 0.022 / 0.116 / 0.100 (1124.820 MB) Nodes: 348112 | |
Cycle[0] Depth[ 9/11]: Updated constraints / Got system / Solved in: 0.060 / 0.370 / 0.379 (1255.215 MB) Nodes: 1208688 | |
Cycle[0] Depth[10/11]: Updated constraints / Got system / Solved in: 0.215 / 1.371 / 1.344 (1562.227 MB) Nodes: 3858736 | |
Cycle[0] Depth[11/11]: Updated constraints / Got system / Solved in: 0.223 / 3.060 / 2.889 (1796.172 MB) Nodes: 8659048 | |
# Linear system solved: 12.7 (s), 1796.2 (MB) / 1796.2 (MB) / 0.0 (MB) | |
Got average: 0.6 (s), 913.6 (MB) / 1796.2 (MB) / 0.1 (MB) | |
Iso-Value: 4.986182e-01 = 5.52638e+07 / 1.10834e+08 | |
Vertices / Polygons: 2269794 / 4538706 | |
Corners / Vertices / Edges / Surface / Set Table / Copy Finer: 1.8 / 2.0 / 3.4 / 3.3 / 4.4 / 0.5 (s) | |
# Got triangles: 23.5 (s), 1814.0 (MB) / 1814.0 (MB) / 0.0 (MB) | |
# Total Solve: 151.4 (s), 1814.0 (MB) | |
[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: 2269794 | |
Wanted vertex count: 598765 | |
Target reduction set to 0.736203 | |
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_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 13 2019, 21:43:57) | |
Load and prepare mesh: | |
PLY Loader: comment VTK generated PLY File | |
Reading PLY: 598404 verts... 1196604 faces... done. | |
Warning: Zero-length normals detected: 8 face normals, 0 vertex normals | |
Generating texture views: | |
NVM: Loading file... | |
NVM: Number of views: 2 | |
NVM: Number of features: 0 | |
Loading 100%... done. (Took 4.193s) | |
Building adjacency graph: | |
Adding edges 100%... done. (Took 3.119s) | |
1794810 total edges. | |
View selection: | |
Building BVH from 1196604 faces... done. (Took: 1717 ms) | |
Calculating face qualities 100%... done. (Took 2.172s) | |
Postprocessing face infos 100%... done. (Took 0.129s) | |
Maximum quality of a face within an image: 229.875 | |
Clamping qualities to 194.54 within normalization. | |
Writing data cost file... done. | |
Optimizing: | |
Time[s] Energy | |
1 1173745 | |
5 1173745 | |
6 1173732 | |
7 1173728 | |
8 1173727 | |
9 1173727 | |
9 1173727 | |
10 1173727 | |
11 1173727 | |
12 1173727 | |
1170192 faces have not been seen | |
Took: 18.612s | |
Generating texture patches: | |
Running... done. (Took 3.909s) | |
969 texture patches. | |
Running global seam leveling: | |
Create matrices for optimization... done. | |
Lhs dimensionality: 21280 x 21280 | |
Calculating adjustments: | |
Color channel 0: CG took 79 iterations. Residual is 9.04314e-05 | |
Color channel 2: CG took 79 iterations. Residual is 9.04314e-05 | |
Color channel 1: CG took 79 iterations. Residual is 9.04314e-05 | |
Took 0.05 seconds | |
Adjusting texture patches 100%... done. (Took 0.11s) | |
Running local seam leveling: | |
Blending texture patches 100%... done. (Took 1.52s) | |
Generating texture atlases: | |
Sorting texture patches... done. | |
Working on atlas 1 100%... done. | |
Finalizing texture atlases... done. (Took: 6.31s) | |
Building objmodel: | |
Saving model... done. | |
Whole texturing procedure took: 45.182s | |
[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=40 | |
[INFO] running pdal info --boundary --filters.hexbin.edge_size=1 --filters.hexbin.threshold=0 /code/odm_georeferencing/odm_georeferenced_model.decimated.las > /code/odm_georeferencing/odm_georeferenced_model.boundary.json | |
[INFO] running pdal info --summary /code/odm_georeferencing/odm_georeferenced_model.laz > /code/odm_georeferencing/odm_georeferenced_model.summary.json | |
[INFO] running ogr2ogr -overwrite -f GPKG -a_srs "+proj=utm +zone=17 +datum=WGS84 +units=m +no_defs" /code/odm_georeferencing/odm_georeferenced_model.bounds.gpkg /code/odm_georeferencing/odm_georeferenced_model.bounds.geojson | |
[INFO] Finished odm_georeferencing stage | |
[INFO] Running odm_dem stage | |
[INFO] Classify: False | |
[INFO] Create DSM: False | |
[INFO] Create DTM: False | |
[INFO] DEM input file /code/odm_georeferencing/odm_georeferenced_model.laz found: True | |
[93m[WARNING] DEM will not be generated | |
[INFO] Finished odm_dem stage | |
[INFO] Running odm_orthophoto stage | |
[93m[WARNING] Cannot calculate GSD, using requested resolution of 5.0 | |
[INFO] running /code/build/bin/odm_orthophoto -inputFile /code/odm_texturing_25d/odm_textured_model_geo.obj -logFile /code/odm_orthophoto/odm_orthophoto_log.txt -outputFile /code/odm_orthophoto/odm_orthophoto.png -resolution 20.0 -verbose -outputCornerFile /code/odm_orthophoto/odm_orthophoto_corners.txt | |
Writing corners to: /code/odm_orthophoto/odm_orthophoto_corners.txt | |
Reading mesh file... | |
.. mesh file read. | |
Set boundary to contain entire model. | |
Local boundary points: | |
Point 1: -1127.62 -1403.25 | |
Point 2: -1127.62 1452.93 | |
Point 3: 921.954 1452.93 | |
Point 4: 921.954 -1403.25 | |
Ortho photo bounds x : -1127.62 -> 921.954 | |
Ortho photo bounds y : -1403.25 -> 1452.93 | |
Ortho photo area : 5.85394e+06m2 | |
Ortho photo resolution, width x height : 40992x57124 | |
New ortho photo resolution, width x height : 40992x57124 | |
OpenCV Error: Insufficient memory (Failed to allocate 9366508036 bytes) in OutOfMemoryError, file /code/SuperBuild/src/opencv/modules/core/src/alloc.cpp, line 52 | |
Couldn't allocate enough memory to render the orthophoto (40992x57124 cells = 9366508032 bytes). Try to reduce the -resolution parameter or add more RAM. | |
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 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_orthophoto.py", line 65, in process | |
'-outputCornerFile {corners}'.format(**kwargs)) | |
File "/code/opendm/system.py", line 76, in run | |
raise Exception("Child returned {}".format(retcode)) | |
Exception: Child returned 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it --rm \ | |
-v "$(pwd)/geotagged-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 --fast-orthophoto --orthophoto-resolution 20 | tee 2019-09-01-take9.log | |
================== | |
[INFO] Fast orthophoto is turned on, automatically setting --skip-3dmodel | |
[INFO] Initializing OpenDroneMap app - Sun Sep 01 18:28:07 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: True | |
[INFO] force_gps: 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: 11 | |
[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: 20.0 | |
[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: False | |
[INFO] rerun_from: None | |
[INFO] resize_to: 2048 | |
[INFO] skip_3dmodel: True | |
[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] Running dataset stage | |
[INFO] Loading dataset from: /code/images | |
[INFO] Loading 2 images | |
[INFO] Wrote images database: /code/images.json | |
[INFO] Found 2 usable images | |
[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] Altitude data detected, enabling it for GPS alignment | |
[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', 'use_altitude_tag: yes', 'align_method: naive'] | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm extract_metadata "/code/opensfm" | |
2019-09-01 18:28:07,688 INFO: Extracting EXIF for 14124.jpg | |
2019-09-01 18:28:07,704 INFO: Extracting EXIF for 14125.jpg | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm detect_features "/code/opensfm" | |
2019-09-01 18:28:08,767 INFO: Extracting ROOT_HAHOG features for image 14124.jpg | |
2019-09-01 18:28:09,186 INFO: Extracting ROOT_HAHOG features for image 14125.jpg | |
2019-09-01 18:28:14,453 DEBUG: Found 11328 points in 4.3309071064s | |
2019-09-01 18:28:14,750 DEBUG: Found 11104 points in 4.61381816864s | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm match_features "/code/opensfm" | |
2019-09-01 18:28:16,330 INFO: Matching 1 image pairs | |
2019-09-01 18:28:16,783 INFO: Matching 14124.jpg - 1 / 2 | |
2019-09-01 18:28:17,159 INFO: Matching 14125.jpg - 2 / 2 | |
2019-09-01 18:28:19,849 DEBUG: 14124.jpg - 14125.jpg has 1367 candidate matches | |
2019-09-01 18:28:19,850 DEBUG: Robust matching time : 0.000653982162476s | |
2019-09-01 18:28:19,850 DEBUG: Full matching 1330 / 1367, time: 3.06679916382s | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm create_tracks "/code/opensfm" | |
2019-09-01 18:28:20,540 INFO: reading features | |
2019-09-01 18:28:20,589 DEBUG: Merging features onto tracks | |
2019-09-01 18:28:20,601 DEBUG: Good tracks: 1330 | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm reconstruct "/code/opensfm" | |
2019-09-01 18:28:21,217 INFO: Starting incremental reconstruction | |
2019-09-01 18:28:21,231 INFO: Starting reconstruction with 14124.jpg and 14125.jpg | |
2019-09-01 18:28:21,360 INFO: Two-view reconstruction inliers: 1330 / 1330 | |
2019-09-01 18:28:21,468 INFO: Triangulated: 1330 | |
2019-09-01 18:28:21,507 DEBUG: Ceres Solver Report: Iterations: 3, Initial cost: 7.331754e+02, Final cost: 7.310280e+02, Termination: CONVERGENCE | |
2019-09-01 18:28:21,624 DEBUG: Ceres Solver Report: Iterations: 3, Initial cost: 7.314140e+02, Final cost: 7.301887e+02, Termination: CONVERGENCE | |
2019-09-01 18:28:22,057 DEBUG: Ceres Solver Report: Iterations: 51, Initial cost: 1.462780e+03, Final cost: 1.456044e+03, Termination: NO_CONVERGENCE | |
2019-09-01 18:28:22,075 INFO: Removed outliers: 76 | |
2019-09-01 18:28:22,082 INFO: ------------------------------------------------------- | |
2019-09-01 18:28:22,295 DEBUG: Ceres Solver Report: Iterations: 18, Initial cost: 1.607093e+01, Final cost: 7.843811e+00, Termination: CONVERGENCE | |
2019-09-01 18:28:22,324 INFO: Removed outliers: 13 | |
2019-09-01 18:28:22,345 INFO: {'average_track_length': 2.0, 'points_count': 1274, 'observations_count': 2548, 'cameras_count': 2, 'average_track_length_notwo': -1} | |
2019-09-01 18:28:22,345 INFO: Reconstruction 0: 2 images, 1274 points | |
2019-09-01 18:28:22,346 INFO: 1 partial reconstructions in total. | |
[INFO] Updating /code/opensfm/config.yaml | |
[INFO] undistorted_image_max_size: 5467 | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm undistort "/code/opensfm" | |
2019-09-01 18:28:23,060 DEBUG: Undistorting the reconstruction | |
2019-09-01 18:28:23,635 DEBUG: Undistorting image 14124.jpg | |
2019-09-01 18:28:24,059 DEBUG: Undistorting image 14125.jpg | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm export_visualsfm --undistorted "/code/opensfm" | |
2019-09-01 18:28:28,338 DEBUG: STREAM 'IHDR' 16 13 | |
2019-09-01 18:28:28,338 DEBUG: STREAM 'IDAT' 41 8192 | |
2019-09-01 18:28:28,339 DEBUG: STREAM 'IHDR' 16 13 | |
2019-09-01 18:28:28,339 DEBUG: STREAM 'IDAT' 41 8192 | |
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm export_ply --no-cameras "/code/opensfm" | |
[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 odm_filterpoints stage | |
[INFO] Filtering point cloud (statistical, meanK 16, standard deviation 2.5) | |
[INFO] running /code/build/bin/odm_filterpoints -inputFile /code/opensfm/reconstruction.ply -outputFile /code/odm_filterpoints/point_cloud.ply -sd 2.5 -meank 16 -verbose | |
Running with parameters: | |
--inputFile /code/opensfm/reconstruction.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 2.5D Mesh file in: /code/odm_meshing/odm_25dmesh.ply | |
[93m[WARNING] Cannot calculate GSD, using requested resolution of 20.0 | |
[INFO] ODM 2.5D DSM resolution: 0.8 | |
[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/tmpa_Og6E.json | |
[INFO] Point cloud bounds are [minx: -997.1917114, maxx: 751.9190674] [miny: -1371.436523, maxy: 1403.452271] | |
[INFO] DEM resolution is (2187, 3469), max tile size is 4096, will split DEM generation into 1 tiles | |
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r2.2627416998_x0_y0.tif (max, radius: 2.2627416998, resolution: 0.8) | |
[INFO] Pipeline file: /tmp/tmpogpln7.json | |
[INFO] running pdal pipeline -i /tmp/tmpogpln7.json | |
[INFO] running gdalbuildvrt "/code/odm_meshing/tmp/tiles.vrt" "/code/odm_meshing/tmp/mesh_dsm_r2.2627416998_x0_y0.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.15% /code/odm_meshing/tmp/tiles.vrt /code/odm_meshing/tmp/tiles.tmp.tif | |
Input file size is 2187, 3469 | |
0...10...20...30...40...50...60...70...80...90...100 - done. | |
[INFO] running gdal_translate -co NUM_THREADS=6 --config GDAL_CACHEMAX 48.15% -outsize 10% 0 /code/odm_meshing/tmp/tiles.tmp.tif /code/odm_meshing/tmp/tiles.small.tif | |
Input file size is 2187, 3469 | |
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.15% -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.15% /code/odm_meshing/tmp/merged.vrt /code/odm_meshing/tmp/tiles.tif | |
Input file size is 2187, 3469 | |
0...10...20...30...40...50...60...70...80...90...100 - done. | |
[INFO] Completed mesh_dsm.tif in 0:00:01.489223 | |
[INFO] Sampling points from DSM: /code/odm_meshing/tmp/mesh_dsm.tif | |
[INFO] running /code/SuperBuild/src/dem2points/dem2points -inputFile /code/odm_meshing/tmp/mesh_dsm.tif -outputFile /code/odm_meshing/tmp/dsm_points.ply -skirtHeightThreshold 1.5 -skirtIncrements 0.2 -skirtHeightCap 100 -verbose | |
Running with parameters: | |
--inputFile /code/odm_meshing/tmp/mesh_dsm.tif | |
--outputFile /code/odm_meshing/tmp/dsm_points.ply | |
--skirtHeightThreshold 1.500000 | |
--skirtIncrements 0.200000 | |
--skirtHeightCap 100.000000 | |
--verbose | |
Raster Size is 2187x3469 | |
Extent is (-997.191711, 752.408289), (-1371.436523, 1403.763477) | |
Read nodata value: -9999 | |
Calculating skirts and vertex count... 257725 skirt points will be added | |
Total vertices: 7821820 | |
Sampling and writing to file... done! | |
[INFO] running /code/SuperBuild/src/PoissonRecon/Bin/Linux/PoissonRecon --in /code/odm_meshing/tmp/dsm_points.ply --out /code/odm_meshing/odm_25dmesh.dirty.ply --depth 11 --pointWeight 4 --samplesPerNode 1.0 --threads 5 --linearFit --verbose | |
************************************************************* | |
************************************************************* | |
** Running Screened Poisson Reconstruction (Version 12.00) ** | |
************************************************************* | |
************************************************************* | |
--in /code/odm_meshing/tmp/dsm_points.ply | |
--depth 11 | |
--out /code/odm_meshing/odm_25dmesh.dirty.ply | |
--verbose | |
--samplesPerNode 1.000000 | |
--pointWeight 4.000000 | |
--threads 5 | |
--linearFit | |
Input Points / Samples: 7821820 / 2276083 | |
# Read input into tree: 6.0 (s), 282.5 (MB) / 282.5 (MB) / 0.0 (MB) | |
# Got kernel density: 0.8 (s), 357.1 (MB) / 357.1 (MB) / 0.5 (MB) | |
# Got normal field: 4.1 (s), 814.4 (MB) / 814.4 (MB) / 0.0 (MB) | |
Point weight / Estimated Area: 7.22992e-08 / 0.565512 | |
# Finalized tree: 3.9 (s), 1308.3 (MB) / 1308.3 (MB) / 0.0 (MB) | |
# Set FEM constraints: 7.4 (s), 1064.6 (MB) / 1308.3 (MB) / 0.0 (MB) | |
#Set point constraints: 1.4 (s), 1064.6 (MB) / 1308.3 (MB) / 0.2 (MB) | |
Leaf Nodes / Active Nodes / Ghost Nodes: 13443501 / 15363600 / 401 | |
Memory Usage: 1064.617 MB | |
Cycle[0] Depth[ 0/11]: Updated constraints / Got system / Solved in: 0.000 / 0.000 / 0.000 (1140.207 MB) Nodes: 8 | |
Cycle[0] Depth[ 1/11]: Updated constraints / Got system / Solved in: 0.001 / 0.000 / 0.000 (1140.918 MB) Nodes: 27 | |
Cycle[0] Depth[ 2/11]: Updated constraints / Got system / Solved in: 0.001 / 0.001 / 0.000 (1141.176 MB) Nodes: 125 | |
Cycle[0] Depth[ 3/11]: Updated constraints / Got system / Solved in: 0.001 / 0.003 / 0.000 (1141.176 MB) Nodes: 729 | |
Cycle[0] Depth[ 4/11]: Updated constraints / Got system / Solved in: 0.002 / 0.010 / 0.003 (1141.434 MB) Nodes: 4913 | |
Cycle[0] Depth[ 5/11]: Updated constraints / Got system / Solved in: 0.003 / 0.023 / 0.014 (1143.492 MB) Nodes: 35937 | |
Cycle[0] Depth[ 6/11]: Updated constraints / Got system / Solved in: 0.003 / 0.009 / 0.008 (1147.359 MB) Nodes: 33096 | |
Cycle[0] Depth[ 7/11]: Updated constraints / Got system / Solved in: 0.008 / 0.031 / 0.026 (1160.504 MB) Nodes: 106904 | |
Cycle[0] Depth[ 8/11]: Updated constraints / Got system / Solved in: 0.018 / 0.083 / 0.081 (1210.227 MB) Nodes: 374040 | |
Cycle[0] Depth[ 9/11]: Updated constraints / Got system / Solved in: 0.059 / 0.296 / 0.345 (1369.250 MB) Nodes: 1291928 | |
Cycle[0] Depth[10/11]: Updated constraints / Got system / Solved in: 0.207 / 1.006 / 1.382 (1684.070 MB) Nodes: 4115048 | |
Cycle[0] Depth[11/11]: Updated constraints / Got system / Solved in: 0.207 / 2.238 / 2.682 (1977.891 MB) Nodes: 9373136 | |
# Linear system solved: 11.1 (s), 1977.9 (MB) / 1977.9 (MB) / 0.0 (MB) | |
Got average: 0.5 (s), 1030.7 (MB) / 1977.9 (MB) / 0.4 (MB) | |
Iso-Value: 4.979821e-01 = 3.89513e+06 / 7.82182e+06 | |
Vertices / Polygons: 2416027 / 4831649 | |
Corners / Vertices / Edges / Surface / Set Table / Copy Finer: 1.5 / 1.8 / 2.5 / 3.2 / 4.0 / 0.4 (s) | |
# Got triangles: 21.1 (s), 2088.1 (MB) / 2088.1 (MB) / -nan (MB) | |
# Total Solve: 59.1 (s), 2088.1 (MB) | |
[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: 2416027 | |
Wanted vertex count: 598765 | |
Target reduction set to 0.752170 | |
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_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 13 2019, 21:43:57) | |
Load and prepare mesh: | |
PLY Loader: comment VTK generated PLY File | |
Reading PLY: 598693 verts... 1197229 faces... done. | |
Warning: Zero-length normals detected: 16 face normals, 0 vertex normals | |
Generating texture views: | |
NVM: Loading file... | |
NVM: Number of views: 2 | |
NVM: Number of features: 0 | |
Loading 100%... done. (Took 3.915s) | |
Building adjacency graph: | |
Adding edges 100%... done. (Took 3.141s) | |
1795742 total edges. | |
View selection: | |
Building BVH from 1197229 faces... done. (Took: 1626 ms) | |
Calculating face qualities 100%... done. (Took 2.028s) | |
Postprocessing face infos 100%... done. (Took 0.106s) | |
Maximum quality of a face within an image: 223.09 | |
Clamping qualities to 192.613 within normalization. | |
Writing data cost file... done. | |
Optimizing: | |
Time[s] Energy | |
0 1174630 | |
4 1174630 | |
5 1174595 | |
6 1174584 | |
7 1174580 | |
8 1174579 | |
8 1174579 | |
9 1174579 | |
10 1174579 | |
11 1174579 | |
1170586 faces have not been seen | |
Took: 17.023s | |
Generating texture patches: | |
Running... done. (Took 3.339s) | |
1624 texture patches. | |
Running global seam leveling: | |
Create matrices for optimization... done. | |
Lhs dimensionality: 20751 x 20751 | |
Calculating adjustments: | |
Color channel 0: CG took 75 iterations. Residual is 8.91236e-05 | |
Color channel 1: CG took 75 iterations. Residual is 8.91236e-05 | |
Color channel 2: CG took 75 iterations. Residual is 8.91236e-05 | |
Took 0.045 seconds | |
Adjusting texture patches 100%... done. (Took 0.088s) | |
Running local seam leveling: | |
Blending texture patches 100%... done. (Took 1.176s) | |
Generating texture atlases: | |
Sorting texture patches... done. | |
Working on atlas 1 100%... done. | |
Finalizing texture atlases... done. (Took: 7.253s) | |
Building objmodel: | |
Saving model... done. | |
Whole texturing procedure took: 42.826s | |
[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=40 | |
[INFO] running pdal info --boundary --filters.hexbin.edge_size=1 --filters.hexbin.threshold=0 /code/odm_georeferencing/odm_georeferenced_model.decimated.las > /code/odm_georeferencing/odm_georeferenced_model.boundary.json | |
[INFO] running pdal info --summary /code/odm_georeferencing/odm_georeferenced_model.laz > /code/odm_georeferencing/odm_georeferenced_model.summary.json | |
[INFO] running ogr2ogr -overwrite -f GPKG -a_srs "+proj=utm +zone=17 +datum=WGS84 +units=m +no_defs" /code/odm_georeferencing/odm_georeferenced_model.bounds.gpkg /code/odm_georeferencing/odm_georeferenced_model.bounds.geojson | |
[INFO] Finished odm_georeferencing stage | |
[INFO] Running odm_dem stage | |
[INFO] Classify: False | |
[INFO] Create DSM: False | |
[INFO] Create DTM: False | |
[INFO] DEM input file /code/odm_georeferencing/odm_georeferenced_model.laz found: True | |
[93m[WARNING] DEM will not be generated | |
[INFO] Finished odm_dem stage | |
[INFO] Running odm_orthophoto stage | |
[93m[WARNING] Cannot calculate GSD, using requested resolution of 20.0 | |
[INFO] running /code/build/bin/odm_orthophoto -inputFile /code/odm_texturing_25d/odm_textured_model_geo.obj -logFile /code/odm_orthophoto/odm_orthophoto_log.txt -outputFile /code/odm_orthophoto/odm_orthophoto.png -resolution 5.0 -verbose -outputCornerFile /code/odm_orthophoto/odm_orthophoto_corners.txt | |
Writing corners to: /code/odm_orthophoto/odm_orthophoto_corners.txt | |
Reading mesh file... | |
.. mesh file read. | |
Set boundary to contain entire model. | |
Local boundary points: | |
Point 1: -1155.38 -1411.55 | |
Point 2: -1155.38 1452 | |
Point 3: 920.439 1452 | |
Point 4: 920.439 -1411.55 | |
Ortho photo bounds x : -1155.38 -> 920.439 | |
Ortho photo bounds y : -1411.55 -> 1452 | |
Ortho photo area : 5.94422e+06m2 | |
Ortho photo resolution, width x height : 10380x14318 | |
Translating and scaling mesh... | |
.. mesh translated and scaled. | |
Rendering the ortho photo... | |
Material 0 rendered. | |
...ortho photo rendered | |
Writing ortho photo to /code/odm_orthophoto/odm_orthophoto.png | |
Writing corner coordinates to /code/odm_orthophoto/odm_orthophoto_corners.txt | |
Orthophoto generation done. | |
[INFO] Creating GeoTIFF | |
[INFO] running gdal_translate -a_ullr 448100.548069 4596683.23499 450176.370762 4593819.68592 -co NUM_THREADS=6 -co BIGTIFF=IF_SAFER -co BLOCKYSIZE=512 -co COMPRESS=DEFLATE -co BLOCKXSIZE=512 -co TILED=YES -co PREDICTOR=2 -a_srs "+proj=utm +zone=17 +datum=WGS84 +units=m +no_defs +type=crs" --config GDAL_CACHEMAX 48.15% /code/odm_orthophoto/odm_orthophoto.png /code/odm_orthophoto/odm_orthophoto.tif > /code/odm_orthophoto/gdal_translate_log.txt | |
[INFO] Cropping /code/odm_orthophoto/odm_orthophoto.tif | |
[INFO] running gdalwarp -cutline /code/odm_georeferencing/odm_georeferenced_model.bounds.gpkg -crop_to_cutline -co NUM_THREADS=6 -co BIGTIFF=IF_SAFER -co BLOCKYSIZE=512 -co COMPRESS=DEFLATE -co BLOCKXSIZE=512 -co TILED=YES -co PREDICTOR=2 /code/odm_orthophoto/odm_orthophoto.original.tif /code/odm_orthophoto/odm_orthophoto.tif --config GDAL_CACHEMAX 48.15% | |
Using band 4 of source image as alpha. | |
Creating output file that is 7640P x 12912L. | |
Processing input file /code/odm_orthophoto/odm_orthophoto.original.tif. | |
0...10...20...30...40...50...60...70...80...90...100 - done. | |
[INFO] Finished odm_orthophoto stage | |
[INFO] No more stages to run | |
[INFO] MMMMMMMMMMMNNNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNNNMMMMMMMMMMM | |
[INFO] MMMMMMdo:..---../sNMMMMMMMMMMMMMMMMMMMMMMMMMMNs/..---..:odMMMMMM | |
[INFO] MMMMy-.odNMMMMMNy/`/mMMMMMMMMMMMMMMMMMMMMMMm/`/hNMMMMMNdo.-yMMMM | |
[INFO] MMN/`sMMMMMMMMMNNMm/`yMMMMMMMMMMMMMMMMMMMMy`/mMNNMMMMMMMMNs`/MMM | |
[INFO] MM/ hMMMMMMMMNs.+MMM/ dMMMMMMMMMMMMMMMMMMh +MMM+.sNMMMMMMMMh +MM | |
[INFO] MN /MMMMMMNo/./mMMMMN :MMMMMMMMMMMMMMMMMM: NMMMMm/./oNMMMMMM: NM | |
[INFO] Mm +MMMMMN+ `/MMMMMMM`-MMMMMMMMMMMMMMMMMM-`MMMMMMM:` oNMMMMM+ mM | |
[INFO] MM..NMMNs./mNMMMMMMMy sMMMMMMMMMMMMMMMMMMo hMMMMMMMNm/.sNMMN`-MM | |
[INFO] MMd`:mMNomMMMMMMMMMy`:MMMMMMMNmmmmNMMMMMMN:`hMMMMMMMMMdoNMm-`dMM | |
[INFO] MMMm:.omMMMMMMMMNh/ sdmmho/.`..`-``-/sddh+ /hNMMMMMMMMdo.:mMMM | |
[INFO] MMMMMd+--/osss+:-:/` ```:- .ym+ hmo``:-` `+:-:ossso/-:+dMMMMM | |
[INFO] MMMMMMMNmhysosydmNMo /ds`/NMM+ hMMd..dh. sMNmdysosyhmNMMMMMMM | |
[INFO] MMMMMMMMMMMMMMMMMMMs .:-:``hmmN+ yNmds -:.:`-NMMMMMMMMMMMMMMMMMM | |
[INFO] MMMMMMMMMMMMMMMMMMN.-mNm- //:::. -:://: +mMd`-NMMMMMMMMMMMMMMMMM | |
[INFO] MMMMMMMMMMMMMMMMMM+ dMMN -MMNNN+ yNNNMN :MMMs sMMMMMMMMMMMMMMMMM | |
[INFO] MMMMMMMMMMMMMMMMMM`.mmmy /mmmmm/ smmmmm``mmmh :MMMMMMMMMMMMMMMMM | |
[INFO] MMMMMMMMMMMMMMMMMM``:::- ./////. -:::::` :::: -MMMMMMMMMMMMMMMMM | |
[INFO] MMMMMMMMMMMMMMMMMM:`mNNd /NNNNN+ hNNNNN .NNNy +MMMMMMMMMMMMMMMMM | |
[INFO] MMMMMMMMMMMMMMMMMMd`/MMM.`ys+//. -/+oso +MMN.`mMMMMMMMMMMMMMMMMM | |
[INFO] MMMMMMMMMMMMMMMMMMMy /o:- `oyhd/ shys+ `-:s-`hMMMMMMMMMMMMMMMMMM | |
[INFO] MMMMMMMMNmdhhhdmNMMM` +d+ sMMM+ hMMN:`hh- sMMNmdhhhdmNMMMMMMMM | |
[INFO] MMMMMms:::/++//::+ho .+- /dM+ hNh- +/` -h+:://++/::/smMMMMM | |
[INFO] MMMN+./hmMMMMMMNds- ./oso:.``:. :-``.:os+- -sdNMMMMMMmy:.oNMMM | |
[INFO] MMm-.hMNhNMMMMMMMMNo`/MMMMMNdhyyyyhhdNMMMM+`oNMMMMMMMMNhNMh.-mMM | |
[INFO] MM:`mMMN/-sNNMMMMMMMo yMMMMMMMMMMMMMMMMMMy sMMMMMMMNNs-/NMMm`:MM | |
[INFO] Mm /MMMMMd/.-oMMMMMMN :MMMMMMMMMMMMMMMMMM-`MMMMMMMo-./dMMMMM/ NM | |
[INFO] Mm /MMMMMMm:-`sNMMMMN :MMMMMMMMMMMMMMMMMM-`MMMMMNs`-/NMMMMMM/ NM | |
[INFO] MM:`mMMMMMMMMd/-sMMMo yMMMMMMMMMMMMMMMMMMy sMMMs-/dMMMMMMMMd`:MM | |
[INFO] MMm-.hMMMMMMMMMdhMNo`+MMMMMMMMMMMMMMMMMMMM+`oNMhdMMMMMMMMMh.-mMM | |
[INFO] MMMNo./hmNMMMMMNms--yMMMMMMMMMMMMMMMMMMMMMMy--smNMMMMMNmy/.oNMMM | |
[INFO] MMMMMms:-:/+++/:-+hMMMMMMMMMMMMMMMMMMMMMMMMMNh+-:/+++/:-:smMMMMM | |
[INFO] MMMMMMMMNdhhyhdmMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMmdhyhhmNMMMMMMMM | |
[INFO] MMMMMMMMMMMMMMMNNNNNMMMMMMNNNNNNMMMMMMMMNNMMMMMMMNNMMMMMMMMMMMMM | |
[INFO] MMMMMMMMMMMMMh/-...-+dMMMm......:+hMMMMs../MMMMMo..sMMMMMMMMMMMM | |
[INFO] MMMMMMMMMMMM/ /yhy- sMMm -hhy/ :NMM+ oMMMy /MMMMMMMMMMMM | |
[INFO] MMMMMMMMMMMy /MMMMN` NMm /MMMMo +MM: .` yMd``` :MMMMMMMMMMMM | |
[INFO] MMMMMMMMMMM+ sMMMMM: hMm /MMMMd -MM- /s `h.`d- -MMMMMMMMMMMM | |
[INFO] MMMMMMMMMMMs +MMMMM. mMm /MMMMy /MM. +M/ yM: `MMMMMMMMMMMM | |
[INFO] MMMMMMMMMMMN- smNm/ +MMm :NNdo` .mMM` oMM+/yMM/ MMMMMMMMMMMM | |
[INFO] MMMMMMMMMMMMNo- `:yMMMm `:sNMMM` sMMMMMMM+ NMMMMMMMMMMM | |
[INFO] MMMMMMMMMMMMMMMNmmNMMMMMMMNmmmmNMMMMMMMNNMMMMMMMMMNNMMMMMMMMMMMM | |
[INFO] OpenDroneMap app finished - Sun Sep 01 18:31:57 2019 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment