bilinear interpolation in merge orthophoto, less alarming log change

Former-commit-id: c1cf75ac1e
pull/1161/head
Piero Toffanin 2019-05-28 15:32:01 -04:00
rodzic 880db82f3a
commit 4a899a908c
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -252,7 +252,7 @@ def compute_euclidean_map(geotiff_path, output_path, overwrite=False):
else:
log.ODM_WARNING("Cannot compute euclidean distance file: %s" % output_path)
else:
log.ODM_WARNING("Already found a euclidean distance map: %s" % output_path)
log.ODM_INFO("Found a euclidean distance map: %s" % output_path)
return output_path

Wyświetl plik

@ -245,7 +245,7 @@ class ODMMergeStage(types.ODM_Stage):
# Note: cblend has a high performance penalty
system.run('gdalwarp -cutline {cutline} '
'-cblend 20 '
'-r lanczos -multi '
'-r bilinear -multi '
'-wo NUM_THREADS={threads} '
'--config GDAL_CACHEMAX {max_memory}% '
'{input_file} {orthophoto_merged}'.format(**kwargs)