Speed up DEM generation

Former-commit-id: be2815ac1c
pull/1161/head
Piero Toffanin 2019-06-11 14:18:27 -04:00
rodzic 7a4118c08f
commit c24d0fdc66
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -34,7 +34,7 @@ def classify(lasFile, scalar, slope, threshold, window, verbose=False):
error = None
def create_dem(input_point_cloud, dem_type, output_type='max', radiuses=['0.56'], gapfill=True,
outdir='', resolution=0.1, max_workers=1, max_tile_size=2048,
outdir='', resolution=0.1, max_workers=1, max_tile_size=4096,
verbose=False, decimation=None, keep_unfilled_copy=False,
apply_smoothing=True):
""" Create DEM from multiple radii, and optionally gapfill """

Wyświetl plik

@ -58,7 +58,7 @@ class ODMOpenSfMStage(types.ODM_Stage):
self.update_progress(80)
if not io.file_exists(tree.opensfm_reconstruction_nvm) or self.rerun():
octx.run('export_visualsfm')
octx.run('export_visualsfm --undistorted')
else:
log.ODM_WARNING('Found a valid OpenSfM NVM reconstruction file in: %s' %
tree.opensfm_reconstruction_nvm)