Thermal Image Processing using IR Images

46 views (last 30 days)
Hi there, I am currently trying to do an image proccessing of an IR images. Is there a way to extract the information regarding hotspots shown in an IR image? Appreciate if anyone can help me regarding this. Most crucial is the temperature information from the hotspots against the blue areas in the image. Thank you.
  1 Comment
Zawir Jasmin
Zawir Jasmin on 12 Oct 2021
@Image Analyst Hi sir, I am new to Matlab and in need of an assistance in trying to find out how to extract the temperature measurement from an IR image. Also is there a way for getting hot-spot detection of the image for example the Matlab identify a specific area as high temperature levels?

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 12 Oct 2021
You'd need either a temperature image, which I think can be exported as long as you aren't using the very cheapest FLIR camera. Or you'd need a colormap so we can convert color into temperature, like in the attached demo.
To mouse around and look at the temperatures in the image you can call impixelinfo() after you display it with imshow().
If you want to locate hot spots based on their temperature, then see my Image Segmentation Tutorial.
  4 Comments
Zawir Jasmin
Zawir Jasmin on 15 Oct 2021
After I ran the code given by sir, I noticed my image that turned to grayscale works. However, the colourbar that was cropped is the left side of the image. I am wondering if the image has no colourbar, how do I clear out the colourbar segment and also what if the image has the colourbar but it is on the right side of the image. I tried with the right side colourbar image but the algorithm crops the left side still. Am I missing something to alter this function?
Image Analyst
Image Analyst on 15 Oct 2021
The demo assumes there is a color bar next to the image in a certain location in the image. The image you have shown me so far does not have a colorbar in it. It was just grabbing some part of the image assuming it was a color bar but it isn't. So once you use the proper image you will have to adjust the coordinates from where it takes the colorbar. You can use impixelinfo after you display the image to show the mouse coordinates in the status bar in the lower left of the figure. Attach your image with color bar in it if you need more help. Also, what model of camera are you using? If you're using the very cheapest (like $100) one that clips onto your phone, then you might want to pay a little extra and get the next one up that actually exports the actual temperature values instead of just a pretty picture.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!