I want to extract the temperature from the IR image at every pixel

6 views (last 30 days)
This the IR image of heated tube. I want to extract the temperature at every pixel in excel sheet

Answers (3)

chicken vector
chicken vector on 30 May 2023
You might want to take a look at imread and interp1.

Diwakar Diwakar
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');

Image Analyst
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:

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!