I am looking for a little bit of help from your side, because the support of FLIR is a little bit disappointing, to state it mildly.
We have a FLIR A655sc camera that I can read out without any trouble with IMAQdx via GigE interface. The camera has 16bit and I easily get the greyscale image.
To make that an useful piece of information, I need to convert 16bit greyscale to temperature. But the conversion factor is nowhere to be found.
Does anybody here now?
I took two comparison images in the FLIR software, one with Counts as scale, on with Temperature as scale. See attached screenshots.
I found this link, but the scaling factor as 10 or 100 does not really match what I see here, where 13155 Counts convert to 293.9 Kelvin or 20.4 °C.
Thanks for your help.
Solved! Go to Solution.
Okay, so after a LOOOOOT of digging here is the answer in two flavors:
1) The camera can either give raw 16bit images and the software has to do the conversion itself with 3 steps:
- Subtract the global offset from each pixel and divide by gain (easy!)
- To the result, apply the universal thermography equation, with the object parameters (f****** hard and a lot of work!)
- To the result apply equation 126.96.36.199 from the GenICam standard: Temperature (in Kelvin) = B / log(R / S + F), where S is the 16-bit digital signal value. log(x) is the base-e logarithm of the x parameter. (easy again!)
Voila, there you go. I found this out after digging through FLIR's C++ code, that can be found here.
2) You take the easy way and set the camera attribute 'CameraAttributes::ImageStreamControl::IRFormat' to the following:
Use either value 1 or 2 and then you get the temperature in °K by dividing the 16bit value by 10 (for 100mK resolution) or 100 (for 10mK resolution).
It could have been so easy. Thanks for nothing FLIR support, btw.
Thank you for the response, the link to the C++ code you provided no longer works, would you be able to please re-share the link or alternatively could you possibly share the process you followed for obtaining the code in the first place, I have been unable to find it myself.
I actually called the FLIR support and they send me the link per mail.
I tried to do the same and they told me that they do not release this information, would you be able to share a copy of the files if you still have them?