I want to extract the temperature from the IR image at every pixel
10 views (last 30 days)
Show older comments
This the IR image of heated tube. I want to extract the temperature at every pixel in excel sheet
0 Comments
Answers (3)
Diwakar Diwakar
on 30 May 2023
Try this code.
% Load the IR image
IR_image = imread('path_to_image.png'); % Replace 'path_to_image.png' with the actual path to your image file
% Define calibration parameters
emissivity = 0.95;
reflected_temp = 20.0;
atmospheric_temp = 25.0;
% Convert the image to temperature
T = (IR_image - reflected_temp) / emissivity + atmospheric_temp;
% Display the temperature image
imshow(T);
colorbar;
title('Temperature Image');
0 Comments
Image Analyst
on 31 May 2023
You need to "undo" the colormap and get back to the original temperature image. See my File Exchange demo:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1399164/image.png)
0 Comments
See Also
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!