thermal image processing to get the temprature on each pixel
Show older comments
i installed a darvi camera and taken the thermal images from this camera. i get the image in jeeg format. i want to calculate the tempratue of eache pixel of that image, i want ta calculate emistivity, region of interset. is it possible in matlab
2 Comments
yanqi liu
on 22 Jun 2022
yes,sir,may be use some image segment method,if possible,may be upload some image to analysis
Neha Thakkar
on 22 Jun 2022
Accepted Answer
More Answers (1)
Image Analyst
on 22 Jun 2022
0 votes
See attached demo. I had been using hard coded coordinates for the colorbar since, once known, they won't change for that particular camera. However so many people seem to be unable to figure out what coordinates the image and color bar are at that I decided to have the user draw a box around each. I also adapted it to handle either vertical or horizontal colorbars.

9 Comments
Neha Thakkar
on 23 Jun 2022
Neha Thakkar
on 23 Jun 2022
Image Analyst
on 23 Jun 2022
I don't know how to have a scroll bar for every pixel. If you want a "live" readout of the temperatures, look at the status bar near the bottom that gives you the values as you mouse around over the image.
I've put a newer version in my File Exchange:
I don't know why you can't use GetRectangularROI - maybe it's because you have a version older than r2018b. You can substitute imcrop for drawrectangle. imcrop will work with antique versions.
Neha Thakkar
on 24 Jun 2022
Image Analyst
on 24 Jun 2022
Then just hard code in the rows and columns that you know the image and colorbar cover. Or ask Mathworks for a free 30 day trial version.
Neha Thakkar
on 25 Jun 2022
Image Analyst
on 25 Jun 2022
@Neha Thakkar that's what the temperature image, "thermalImage", is. Just mouse around over the image and see the temperature at the bottom of the GUI. Or you can double click thermalImage in the workspace to have it popup in a spreadsheet like form inside MATLAB. If that solves it, can you click the "Accept this answer" link? Thanks in advance. 🙂
Neha Thakkar
on 27 Jun 2022
Moved: DGM
on 25 Mar 2023
Image Analyst
on 27 Jun 2022
Moved: DGM
on 25 Mar 2023
That won't because it's not using my program. It looks like you're just using some interactive MATLAB function to read in an RGB image. You need to do it from my program. You can either watch the GUI as you mouse around or specify a list of (row, column) coordinates to thermalImage array in the code.
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!