kopia lustrzana https://github.com/OpenDroneMap/ODM
commit
0226890316
|
@ -115,7 +115,7 @@ class ODMOpenSfMStage(types.ODM_Stage):
|
||||||
if photo.is_thermal():
|
if photo.is_thermal():
|
||||||
return thermal.dn_to_temperature(photo, image)
|
return thermal.dn_to_temperature(photo, image)
|
||||||
else:
|
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):
|
def align_to_primary_band(shot_id, image):
|
||||||
|
@ -255,4 +255,4 @@ class ODMOpenSfMStage(types.ODM_Stage):
|
||||||
]
|
]
|
||||||
for f in files:
|
for f in files:
|
||||||
if os.path.exists(f):
|
if os.path.exists(f):
|
||||||
os.remove(f)
|
os.remove(f)
|
||||||
|
|
Ładowanie…
Reference in New Issue