How do I determine heat in a thermal image using image processing?
Afficher commentaires plus anciens
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 commentaires
Panda
le 22 Mai 2017
Image Analyst can you teach me. now i want to change thermal image to temperature scale by matlab
Image Analyst
le 22 Mai 2017
I don't know what that means. The thermal image already has units of temperature, or some factor times temperature.
Réponse acceptée
Plus de réponses (4)
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 commentaires
Image Analyst
le 11 Avr 2017
Modifié(e) : Image Analyst
le 13 Avr 2020
No, you can't as you'll realize once you think about it. You have to use the full colormap. I attach a demo.

Jai Sri
le 13 Avr 2020
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
le 13 Avr 2020
Modifié(e) : Image Analyst
le 13 Avr 2020
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
le 23 Oct 2016
Modifié(e) : Walter Roberson
le 23 Oct 2016
0 votes
this example its might useful for you
Piotr Murawski
le 9 Déc 2016
0 votes
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
le 26 Fév 2018
0 votes
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 :)
1 commentaire
Image Analyst
le 13 Avr 2020
Thank you Mohammed. It looks like that will be very useful to people using FLIR cameras.
Catégories
En savoir plus sur Image Processing Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!