Thermal Image Analysis
Returns the density of air for a given air temperature.
Specific heat capacity of air
Thermal conductivity of air.
Returns air viscosity for a given air temperature.
Provides the surface are of a cone
Provides the surface area of a cylinder.
Provides the surface area of a sphere.
Convert FLIR jpg into 16 bit grayscale file using shell commands.
Convert FLIR CSQ or SEQ into PNG or AVI, using shell commands.
Cumulative difference sum function for use with frame by frame differe...
A frame difference function for subtracting adjacent frames from an im...
A simplified wrapper function calling ffmpeg
Flips a matrix 'left-right'. Used in re-arranging image data for plott...
Extracts meta tag information from a FLIR JPG image
Parameters required for forced convection equation.
Find the frame read start positions in a FLIR SEQ video file.
Parameters required for free convection equation.
Extract raw binary thermal from thermal image file.
Extracts time values from binary imported thermal video file
Determines the Grashof number for an object
Convective heat coefficient (W/m2/oC)
Estimates downward facing longwave radiation (W/m2)
Returns the index locations that match vector fid within data vector.
Estimates upward facing ground radiation (W/m2)
Estimates downward facing longwave radiation (W/m2)
Calculate the mean every nth data point.
Mirrors a matrix upside-down. Used in re-arranging image data for plot...
Add leading zeros to character for easy sequential naming of filenames...
Nusselt number for forced convection.
Nusselt number for free convection.
Choose a colour palette for gradient filling thermal image files.
Plot thermal image data for visualisation purposes.
Returns the Prandtl number
Estimates the absorbed solar and infrared radiation (W/m2)
Estimates the area specific heat transfer by conduction (W/m2)
Estimates the area specific heat transfer by convection (W/m2)
Estimates the area specific heat transfer by radiation (W/m2)
Converts raw thermal data into temperature (oC)
Reads an image from a FLIR JPG file into an integer array.
Calculates the Reynolds number.
Rotate a matrix by 180 degrees. Used for adjusting image plotting in R...
Rotate a matrix by 270 degrees counterclockwise (or 90 degree clockwis...
Rotate a matrix by 90 degrees counterclockwise (270 degrees clockwise)...
Returns the slope from linear regression with x values as equally spac...
Calculate the slope every nth data point.
The Stephan Boltzman constant.
Operative temperature estimate.
Converts temperature (oC) to raw thermal data
Estimates equivalent temperature.
Estimates ground temperature from ambient temperature and solar radiat...
Handles thermal image data input and conversion to temperature using e...
Return summary of thermal image data.
Summary thermal calculations on a centrally located region of interest...
Saves thermal image data to a binary file
A collection of functions and routines for inputting thermal image video files, plotting and converting binary raw data into estimates of temperature. First published 2015-03-26. Written primarily for research purposes in biological applications of thermal images. v1 included the base calculations for converting thermal image binary values to temperatures. v2 included additional equations for providing heat transfer calculations and an import function for thermal image files (v2.2.3 fixed error importing thermal image to windows OS). v3. Added numerous functions for converting thermal image, videos, rewriting and exporting. v3.1. Added new functions to convert files. v3.2. Fixed the various functions related to finding frame times. v4.0. fixed an error in atmospheric attenuation constants, affecting raw2temp and temp2raw functions. Recommend update for use with long distance calculations. v.4.1.3 changed to frameLocates to reflect change to as.character() to format().
Useful links