From b655751f2af0f6a1085c8d46cef43e4172a99c77 Mon Sep 17 00:00:00 2001 From: Chihiro-KATO <87056228+Chihiro-KATO@users.noreply.github.com> Date: Mon, 16 Aug 2021 17:15:32 +0900 Subject: [PATCH] Update run_opensfm.py --- stages/run_opensfm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stages/run_opensfm.py b/stages/run_opensfm.py index 7aa8411f..48aa78ea 100644 --- a/stages/run_opensfm.py +++ b/stages/run_opensfm.py @@ -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) \ No newline at end of file + os.remove(f)