Removed thermal temperature conversion

pull/1493/head
usplm 2022-06-15 03:31:42 -04:00 zatwierdzone przez Piero Toffanin
rodzic 1a0711671f
commit d640e0dfd9
1 zmienionych plików z 0 dodań i 6 usunięć

Wyświetl plik

@ -25,12 +25,6 @@ def dn_to_radiance(photo, image):
image = image.astype("float32")
if len(image.shape) != 3:
raise ValueError("Image should have shape length of 3 (got: %s)" % len(image.shape))
# Handle thermal bands (experimental)
if photo.band_name == 'LWIR':
image -= (273.15 * 100.0) # Convert Kelvin to Celsius
image *= 0.01
return image
# All others
a1, a2, a3 = photo.get_radiometric_calibration()