Update run_opensfm.py

pull/1329/head
Chihiro-KATO 2021-08-16 17:15:32 +09:00 zatwierdzone przez GitHub
rodzic c97d8b6b47
commit b655751f2a
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

@ -118,7 +118,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):
@ -258,4 +258,4 @@ class ODMOpenSfMStage(types.ODM_Stage):
]
for f in files:
if os.path.exists(f):
os.remove(f)
os.remove(f)