# How can we re construct images with equation for temperature distribution. ?

조회 수: 3 (최근 30일)
JINU SUDHAKARAN Mr 2023년 1월 30일
댓글: JINU SUDHAKARAN Mr 2023년 5월 26일
I have the thermal images for one side of the glass and an equation of temperature distribution on the other side . how can construct thermal images on the other side from the images avilable now and the equation. T_other side = -0.25807*T_availble_side+ 53.3947
##### 댓글 수: 5이전 댓글 3개 표시이전 댓글 3개 숨기기
Image Analyst 2023년 5월 24일
I don't understand what you're asking. Are you asking me if I am not able to use a polynomial function? Well, yes of course I know how to use a polynomial function. Who doesn't? It's rather straightforward. And no one is preventing me from using a polynomial function whenever I want to.
If that's not what you meant, then please explain using complete sentences that are very explicit so there is no doubt of ambiguity about what you mean.
JINU SUDHAKARAN Mr 2023년 5월 26일
I have the thermal images for one side of the glass and an equation of temperature distribution on the other side . how can construct thermal images on the other side from the images avilable now and the equation. T_other side = (-0.1816)+1.32947*(T_availble_side)- 0.00974 (T_availble_side)^2

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

### 채택된 답변

Image Analyst 2023년 1월 30일
See my attached demo.
##### 댓글 수: 3이전 댓글 1개 표시이전 댓글 1개 숨기기
Image Analyst 2023년 1월 30일
1. can you please explain the method. The image you attached is corresponding to the first image. is it? The method is explained in numerous comments in the code. Basically I extract the color bar to create a look up table to convert the RGB image into a temperature image.
2. How can we use the eautaion for conctructing the images: kindly please explain these parts in the answer. Again, it's well explained by tons of comments in the code. There are probably as many lines of comments in there as lines of code. The main line of code is this: indexedImage = rgb2ind(rgbImage, storedColorMap)
3. How we can we applied to a group of images at a time? You could make the main part into a function and call that function in a loop. See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files?
4. I tried to run the code and it shows results upto the hisdtogram. From that poertion how can we proceed? At the end of the script you have the temperature image. It's an image where each pixel location is the temperature. You must know what you want to do with that image. If you don't know why you want the image, then why are you even working with the image at all. Maybe you just want the mean temperature of the image, or maybe you want the area of some hot region in the image. Once you know what you want to do you use standard image analysis functions to measure it. If you're still confused, see my Image Segmentation Tutorial: https://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862&sort=downloads_desc
JINU SUDHAKARAN Mr 2023년 2월 1일
thank you

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

### 추가 답변 (1개)

Sulaymon Eshkabilov 2023년 1월 30일
Use gtext() to display the equation

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

### 카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

### Community Treasure Hunt

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

Start Hunting!

Translated by