Properly label single thermal band

pull/1653/head
Piero Toffanin 2023-05-19 11:21:56 -04:00
rodzic 5db0d0111d
commit 182bcfa68f
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -88,6 +88,10 @@ class ODMOrthoPhotoStage(types.ODM_Stage):
if reconstruction.is_georeferenced():
kwargs['inpaint'] = "-inpaintThreshold 1.0"
# Thermal dataset with single band
if reconstruction.photos[0].band_name.upper() == "LWIR":
kwargs['bands'] = '-bands lwir'
kwargs['models'] = ','.join(map(double_quote, models))
if reconstruction.is_georeferenced():