Learn R Programming

⚠️There's a newer version (4.1.3) of this package.Take me there.

Thermimage (version 3.1.2)

Thermal Image Analysis

Description

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.

Copy Link

Version

Install

install.packages('Thermimage')

Monthly Downloads

195

Version

3.1.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Glenn Tattersall

Last Published

November 5th, 2018

Functions in Thermimage (3.1.2)

Grashof

Determines the Grashof number for an object
Nusseltforced

Nusselt number for forced convection.
airspecificheat

Specific heat capacity of air
airtconductivity

Thermal conductivity of air.
convertflirJPG

Convert FLIR jpg into 16 bit grayscale file using shell commands.
convertflirVID

Convert FLIR CSQ or SEQ into PNG or AVI, using shell commands.
Nusseltfree

Nusselt number for free convection.
Tground

Estimates ground temperature from ambient temperature and solar radiation.
flirsettings

Extracts meta tag information from a FLIR JPG image
grey10pal

Colour palette extracted from FLIR thermal camera files
flirpal

Colour palette extracted from FLIR thermal camera files
Teq

Estimates equivalent temperature.
greyredpal

Colour palette extracted from FLIR thermal camera files
grey120pal

Colour palette extracted from FLIR thermal camera files
hconv

Convective heat coefficient (W/m2/oC)
Prandtl

Returns the Prandtl number
locate.fid

Returns the index locations that match vector fid within data vector.
StephBoltz

The Stephan Boltzman constant.
meanEveryN

Calculate the mean every nth data point.
Te

Operative temperature estimate.
medicalpal

Colour palette extracted from FLIR thermal camera files
midgreenpal

Colour palette extracted from FLIR thermal camera files
frameLocates

Find the frame read start positions in a thermal video file.
Reynolds

Calculates the Reynolds number.
forcedparameters

Parameters required for forced convection equation.
readflirJPG

Reads an image from a FLIR JPG file into an integer array.
mikroscanpal

Colour palette extracted from FLIR thermal camera files
rotate180.matrix

Rotate a matrix by 180 degrees. Used for adjusting image plotting in R.
airviscosity

Returns air viscosity for a given air temperature.
mirror.matrix

Mirrors a matrix upside-down. Used in re-arranging image data for plotting properly in R.
plotTherm

Plot thermal image data for visualisation purposes.
samp.image

A sample thermal image to demonstrate thermal colour palette use.
areacone

Provides the surface are of a cone
slopeEveryN

Calculate the slope every nth data point.
qabs

Estimates the absorbed solar and infrared radiation (W/m2)
slopebypoint

Returns the slope from linear regression with x values as equally spaced 1:length
temp2raw

Converts temperature (oC) to raw thermal data
ffmpegcall

A simplified wrapper function calling ffmpeg
Lu

Estimates upward facing ground radiation (W/m2)
flip.matrix

Flips a matrix 'left-right'. Used in re-arranging image data for plotting properly in R.
Lw

Estimates downward facing longwave radiation (W/m2)
freeparameters

Parameters required for free convection equation.
areasphere

Provides the surface area of a sphere.
getTimes

Extracts time values as POSIX from binary imported thermal video file
areacylinder

Provides the surface area of a cylinder.
getFrames

Extract raw binary thermal from thermal image file.
glowbowpal

Colour palette extracted from FLIR thermal camera files
Thermimage-package

Handles thermal image data input and conversion to temperature using established physical equations.
palette.choose

Choose a colour palette for gradient filling thermal image files.
qcond

Estimates the area specific heat transfer by conduction (W/m2)
rainbowpal

Colour palette extracted from FLIR thermal camera files
nameleadzero

Add leading zeros to character for easy sequential naming of filenames.
airdensity

Returns the density of air for a given air temperature.
cumulDiff

Cumulative difference sum function for use with frame by frame difference dataframe
diffFrame

A frame difference function for subtracting adjacent frames from an imported thermal image sequence.
qconv

Estimates the area specific heat transfer by convection (W/m2)
raw2temp

Converts raw thermal data into temperature (oC)
writeFlirBin

Saves thermal image data to a binary file
ironbowpal

Colour palette extracted from FLIR thermal camera files
hotironpal

Colour palette extracted from FLIR thermal camera files
midgreypal

Colour palette extracted from FLIR thermal camera files
yellowpal

Colour palette extracted from FLIR thermal camera files
mikronprismpal

Colour palette extracted from Mikron thermal camera files
qrad

Estimates the area specific heat transfer by radiation (W/m2)
thermsum

Return summary of thermal image data.
rainbow1234pal

Colour palette extracted from FLIR thermal camera files
rotate270.matrix

Rotate a matrix by 270 degrees counterclockwise (or 90 degree clockwise). Used for adjusting image plotting in R.
rotate90.matrix

Rotate a matrix by 90 degrees counterclockwise (270 degrees clockwise). Used for adjusting image plotting in R.
thermsumcent

Summary thermal calculations on a centrally located region of interest from a thermal image dataset
Ld

Estimates downward facing longwave radiation (W/m2)