diff --git a/stages/run_opensfm.py b/stages/run_opensfm.py index 415778a4..7275cb47 100644 --- a/stages/run_opensfm.py +++ b/stages/run_opensfm.py @@ -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) \ No newline at end of file + os.remove(f)