LJMUAstroecology / flirpy

Python library to interact with FLIR camera cores
Other
191 stars 54 forks source link

how to get temperature? #5

Closed sezan92 closed 4 years ago

sezan92 commented 4 years ago

Hello , is there any way to get the temperature from the pixel values? if yes, can you help?

jveitchmichaelis commented 4 years ago

Sorry for the late reply - what camera are you using?

If it's a Lepton then it's divide by 100 I think, to give temp in Celcius. If it's a Boson, it's not radiometric. If it's a Tau2 or you're converting a file from a Duo then it's something like x 0.04 and the output will be in Kelvin. Note you must be using raw 16-bit imagery for this and the camera must be radiometric.

EDIT: Ok so you're probably using FLIR ADAS, which is a Tau 2

For example in your pix2pix repository, you should probably be using the images from /floyd/input/flir_adas/train/thermal_16_bit.

jveitchmichaelis commented 4 years ago

Closing as I assume this is resolved!