kopia lustrzana https://github.com/OpenDroneMap/ODM
Properly label single thermal band
rodzic
5db0d0111d
commit
182bcfa68f
|
@ -88,6 +88,10 @@ class ODMOrthoPhotoStage(types.ODM_Stage):
|
||||||
if reconstruction.is_georeferenced():
|
if reconstruction.is_georeferenced():
|
||||||
kwargs['inpaint'] = "-inpaintThreshold 1.0"
|
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))
|
kwargs['models'] = ','.join(map(double_quote, models))
|
||||||
|
|
||||||
if reconstruction.is_georeferenced():
|
if reconstruction.is_georeferenced():
|
||||||
|
|
Ładowanie…
Reference in New Issue