Plot temperature of an exact point of a thermal video using a timer
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I am trying to plot the temperature of an exact point over the time using the thermal camera Optris PI 400. To connect the thermal camera to matlab I use this code:
clear all;
% initialize the interface
IRInterface = EvoIRMatlabInterface;
% check for connection error
if ~IRInterface.connect()
return
end
emissivity=0.95;
Tback=22;
% grab image data
RGB = IRInterface.get_palette(); % grab palette image
THM = IRInterface.get_thermal(); % grab thermal image
Temp = (double(THM)-1000)/10;
Temp=((Temp.^4-(1-emissivity)*Tback^4)/emissivity).^(1/4);
Temp=round(Temp);
% process data here...
I get the matrix "Temp" that contains the temperature of every single pixel of one frame of the thermal camera. Using Matlab "ginput" function, I can choose the exact pixel I want with my mouse pointer. My next step is to create a function that uses timers to plot the temperature of the choosen pixel over the time. I want to create a function that once I activate a pushbutton in my GUI, gets a frame of the thermal camera every 0,1 seconds, takes the temperature of a specific pixel of that frame and plots it in a graph during a spcified time (for example 2 seconds). I think I need to use a timer for that but I don't know how to do it. Any help will be very welcome, thanks in advance,
Jok.
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Simultaneous and Synchronized Operations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!