How do I determine heat in a thermal image using image processing?

7 次查看(过去 30 天)
Hi!
I have a project. What happens is that I put a thermal image in image processor and then I want MATLAB to determine where in the image is the heat (the red-yellow) part of the image.
can you please help me?
  2 个评论
Panda
Panda 2017-5-22
Image Analyst can you teach me. now i want to change thermal image to temperature scale by matlab
Image Analyst
Image Analyst 2017-5-22
I don't know what that means. The thermal image already has units of temperature, or some factor times temperature.

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2014-10-3
First of all you need to get the original data, not some pseudocolored RGB image. That means you'll have to have the raw image file from the camera and a reader for it. What format is the original image in? Don't tell me PNG, JPG, or similar because that's no good - that will be just a displayed image with no real temperature data inside it.
  3 个评论
Image Analyst
Image Analyst 2014-10-3
That's actually the complicated way - a lot more. At the very least see if you can get it in grayscale, not pseudocolor. If there is absolutely no possible way around working with a low resolution pseudocolored image (poor guy), then you'll have to obtain the colormap somehow and make a look up table to convert the color into a temperature. Your temperature precision may be horrible with this bad approach.
Image Analyst
Image Analyst 2014-10-6
You can call FLIR and ask them which menu item gives you the actual temperature data rather than gray scale or RGB colors. I'm not sure which menu item would do it. But you want floating point values around 0-100 degrees C rather than integers in the range 0-255.

请先登录,再进行评论。

更多回答(4 个)

shazia sk
shazia sk 2017-4-11
编辑:shazia sk 2017-4-11
If I have understood your question correctly, it simply means you need to identify the red pixels from the image, since they are indicative of heat. I assume the thermal image has been subjected to some colour palette representing heat map of the image. From image processing point of view, channel split functions can segregate the RGB channels, and you can simply use the Red channel image for your purpose.
  3 个评论
Jai Sri
Jai Sri 2020-4-13
Error in the thermal_image_color_to_gray scale.m program.The error line is histogram(thermalImage,'Normalizaton', 'probability'): How to solve this problem?
Image Analyst
Image Analyst 2020-4-13
编辑:Image Analyst 2020-4-13
I just ran it again and it ran fine. For some reason you accidentally deleted an i in Normalization.
Change 'Normalizaton' to 'Normalization' and it should work.
But I'm attaching the newest version which gives the histogram in degrees rather than gray levels.

请先登录,再进行评论。


mohammed ahmed
mohammed ahmed 2016-10-23
编辑:Walter Roberson 2016-10-23

Piotr Murawski
Piotr Murawski 2016-12-9
This is a little bit more complicated than "go to other color palete". Flir save at the moment radiometric data as a radiometric jpeg file which is an extension of standard image jpeg file. The problem is that in file are only energy value not a themperature value. I try to use Flir SDK for Matlab at the moment but I do not have any results yet. There is not exacly true about "RAW Data", if You have FLIR ResearchIR You can export themperature value as a for example csv file and read them in Matlab. Of cource there are not raw data but You can calculate heat flow.

Mohammed  Jaddoa
Mohammed Jaddoa 2018-2-26
Bro I used to have this question for long time till I reach solution, you can extract temperature by using mat file that its generate it by thermal camera after that you can convert it to image and deal with it as image but when you want obtain temperature you must use mat files, for FLIR camera they have platform which deal with matlab effectively http://www.flir.com.au/science/display/?id=74637 please have look and check their code , good luck :)

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by