I need to detect temperature from thermal image without converting it into gray scale

2 views (last 30 days)
I have code which convert a thermal image into gray scale image and then the temperature can be detected ...but I am looking for a code that can directly detect temperature from thermal image without it to Gray scale image

Answers (1)

Walter Roberson
Walter Roberson on 5 Jun 2021
This has been discussed a few times in the past.
The most difficult part of this is in converting the color into a temperature. Thermal images that are in color are always "false color", and most of the time, there is no linear component -- for example converting to L*ab and examining the Chroma turns out to not be linear, and converting to HSV and examining the Hue turns out to not be linear, and so on.
A lot of the time, companies do not publish the key or the color table. One of the major thermal imaging manufacturers historically did not even put a colorbar on the images.
So... you have to go through a calibration phase to figure out what temperature shows up as what color. Unless, that is, there is a color bar, in which case you have to spend time doing image analysis of the color bar in order to build a look-up table relating color and temperature.
There are some manufacturers that are very conscientious about using colors that can be analyzed and converted directly to temperature. Some manufacturers of thermal imaging products produce both a pseudo-color image and a floating point array, stored in the same TIFF file, so that the color data can be read out directly.
But there are a lot of other manufacturers that care more about mass sales to consumers who do not need to do scientific processing of the resulting images.
  7 Comments

Sign in to comment.

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!