Heatmap extraction from thermal camera image?

I don't know exactly how to write. If anyone knows can help?
There should be a select button. All functions should be visible on the graphical interface. pop-up selection key should be. (Take Image, Draw Histogram, …etc.) A graphic window with in and out signs drawn in a suitable part of the screen should be.
Can you help me?

2 Kommentare

What kind of camera is it?
If you are using a FLIR camera then you need to use their extra-cost software to extract the actual temperature data. There is an exception if the camera has wifi, in which case there is an Android app that can extract the data.
This is my homework i will not use in real life. I am asked to create a heatmap from a thermal camera image.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Image Analyst
Image Analyst am 9 Mai 2022

0 Stimmen

See attached demo and modify image and colorbar locations to fit your image.

3 Kommentare

Undefined function 'isfile' for input arguments of type 'char'.
Error in thermal_image_color_to_grayscale (line 16)
if ~isfile(fullFileName)
I am getting an error like this. What should I do?
@Özgür Uzunkaya you must have a really old version (older than r2017b). Replace isfile with exist
if ~exist(fullFileName, 'file')
Image Analyst
Image Analyst am 14 Jun. 2022
Is eveything OK with this now?

Melden Sie sich an, um zu kommentieren.

Özgür Uzunkaya
Özgür Uzunkaya am 17 Mai 2022
Bearbeitet: Özgür Uzunkaya am 17 Mai 2022

0 Stimmen

yes, it really worked now, but it gives values when it is opened, it gives an error when it says ok, why might this occur?

13 Kommentare

Again it's because of your really old version which doesn't have histogram. You'll have to convert the histogram call to hist or histcounts, whichever is in the old version you have.
Walter Roberson
Walter Roberson am 17 Mai 2022
Bearbeitet: Walter Roberson am 17 Mai 2022
R14SP2 was released in March 2005, 17 years ago. The information that you were using such an old version should have been included in your question, or marked in the Release field when you created the question.
You need to change the histogram() call to a call to hist() . Note that hist() does not support the normalization option, so if normalization is important then you will need to use histcounts() to get the counts, divide those by the total count to get probability, and then use bar() to display the data.
I am using matlab 2013 version and yes I am getting the R14SP2 error. I got 2 errors when I changed the histogram to hist. 'input arguments must be numeric' and 'error in thermal_image_color_to_grayscale' line 195, the first of which is imageco12=460. if i can't fix it i will try to install the new version.
Attach the script with your modifications so I can fix it.
imageco12=460
should not cause any errors but maybe the problem is actually with the line above that. That is your line of code not mine, but I could still fix it. Attach your image also.
it gives error like this
Like I asked before, attach your m-file script and your RGB input image. Use the paperclip icon. I'll check back later today for them.
I tried the code in matlab 2017 version and got an error like this.
That needs R2018a. If you look through the above link you can find versions that work for earlier releases.
Or you could just comment that out and proceed, and worry about getting the rest of the logic right before you worry about making it the most beautiful.
Just comment out any function that does histogramming or plotting. Just look at the final image variable. That's really all you need.
I am getting error again. If I download the 2018 version, will these problems be fixed? Or what exactly do I need to change in 2017?
You don't even need that code. To maximize a figure, I think since 2014b, you can do
g = gcf;
g.WindowState = 'maximized';
If you're going to download another version, why download a 4 year old version to replace a 5 year old version? Why not get the latest version?
In the 2017 version, this gives an error as you wrote. 'Unrecognized property 'WindowState' for class 'matlab.ui.Figure'.'. you are right, i should try the latest version.
thank you for everything

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Distribution Plots finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 29 Apr. 2022

Kommentiert:

am 14 Jun. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by