Merge pull request #1329 from ckato3/patch-1

Update run_opensfm.py
pull/1356/head
Piero Toffanin 2021-10-12 17:38:41 -04:00 zatwierdzone przez GitHub
commit 0226890316
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -115,7 +115,7 @@ class ODMOpenSfMStage(types.ODM_Stage):
if photo.is_thermal():
return thermal.dn_to_temperature(photo, image)
else:
return multispectral.dn_to_reflectance(photo, image, use_sun_sensor=args.radiometric_calibration=="camera+sun")
return multispectral.dn_to_reflectance(photo, args, image, use_sun_sensor=args.radiometric_calibration=="camera+sun")
def align_to_primary_band(shot_id, image):
@ -255,4 +255,4 @@ class ODMOpenSfMStage(types.ODM_Stage):
]
for f in files:
if os.path.exists(f):
os.remove(f)
os.remove(f)