Skip to content
On this page

2023-07-06

2023-07-06

Done Today

  • Learn how to process thermal images
  • Check some relevant softwares

Thermal Camera

General answer for thermal images from any camera - you can't just convert grayscale level (or color if you already applied pallete to your image) to temperature values. You need to know some coefficients which relates to IR matrix. Some software may embed that data to image file metadata but there is no standard for that. Also, if you resaved your image file without knowing it, you'll probably lose that metadata.

Also, like plain visible-light camera, IR-camera can adapt it's range to current image. So, if you're shooting a human in a room, minimum temperature in your picture will be like 22°С (cold wall or floor), maximum will be like 37°C (hottest part of human body). In that case you'll get 256 gray levels covering range of 15 degrees, so black color is 22°С, white is 37°С (keep in mind proportion is not linear!). You move your camera to a cup of hot tea with like 60°С and your relation of gray level to temperature changes. So, you need to get coefficients for every frame.

It is possible to "fix" temperature range on some cameras but that depends on specific models.

More than that - most cheap thermal cameras don't deal with temperature values at all.

You can try to do that. It’s a less precise and more roundabout way of doing it. Simply compare your pixel to each of the pixels along the color bar, and find the closest match (Euclidean distance). That gives you a location along the colorbar that you can directly convert to a value.

Tags

Edit this page
Last updated on 8/21/2023