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

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.

댓글을 달려면 로그인하십시오.

답변 (2개)

Image Analyst
Image Analyst 2022년 5월 9일

0 개 추천

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

댓글 수: 3

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')
Is eveything OK with this now?

댓글을 달려면 로그인하십시오.

Özgür Uzunkaya
Özgür Uzunkaya 2022년 5월 17일
편집: Özgür Uzunkaya 2022년 5월 17일

0 개 추천

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

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 2022년 5월 17일
편집: Walter Roberson 2022년 5월 17일
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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

질문:

2022년 4월 29일

댓글:

2022년 6월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by