Georef dataset check

pull/1640/head
Piero Toffanin 2023-04-29 11:10:16 -04:00
rodzic 8c0e1b3173
commit ac89d2212e
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -80,8 +80,9 @@ class ODMOrthoPhotoStage(types.ODM_Stage):
else:
models.append(os.path.join(base_dir, model_file))
# Perform edge inpainting on RGB datasets
kwargs['inpaint'] = "-inpaintThreshold 1.0"
# Perform edge inpainting on georeferenced RGB datasets
if reconstruction.is_georeferenced():
kwargs['inpaint'] = "-inpaintThreshold 1.0"
kwargs['models'] = ','.join(map(double_quote, models))