Description Usage Arguments Examples
View source: R/Rad_Temp_function.R
A function to convert raw radiance values from radiometric JPGs - captured with a FLIR Vue Pro - to temperature, in degrees Celcius.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Rad_Temp(
x,
Planck_R1 = 17096.453125,
Planck_R2 = 0.04351538,
Planck_B = 1428,
Planck_F = 1,
Planck_O = -55,
emissivity = 0.98,
obj_distance = 1,
amb_temp,
ref_temp = amb_temp,
window_temp = amb_temp,
wind_transmittance = 1,
humidity
)
|
x |
A string of radiance values in kilowats/metre squared (kW/m2), to be converted to temperature in degrees Celcius. |
Planck_R1 |
A callibration constant, specific per FLIR camera. This can be determined using 'exiftool.exe', produced by Phil Harvey. Default is 17096.453125. |
Planck_R2 |
A callibration constant, specific per FLIR camera. This can be determined using 'exiftool.exe', produced by Phil Harvey. Default is 0.04351538. |
Planck_B |
A callibration constant, specific per FLIR camera. This can be determined using 'exiftool.exe', produced by Phil Harvey. Default is 1428.0. |
Planck_F |
A callibration constant, specific per FLIR camera. This can be determined using 'exiftool.exe', produced by Phil Harvey. Default is 1.0. |
Planck_O |
A callibration constant, specific per FLIR camera. This can be determined using 'exiftool.exe', produced by Phil Harvey. Default is -55.0. |
emissivity |
The relative energy that is emitted (or radiated) from the surface of the object in the image, compared to that emitted from a blackbody in equivalent conditions. This value must lay between 0 and 1. Default is 0.98. |
obj_distance |
The distance between the thermal imaging camera and object to be measured within the image. This value is expressed in metres. Default is 1.0 metres. |
amb_temp |
Ambient/atmospheric temperature at the time of image capture, in degrees Celcius. |
ref_temp |
The temperature reflected from the object in question - again, in degrees Celcius. Default is to assume that the reflected temperature is equal to ambient temperature. |
window_temp |
The temperature of window though which the thermal image was take, in degrees Calcius. Default is to assume that window temperature is equal to ambient temperature. |
wind_transmittance |
The relative amount of light transmitted though a window between the thermal imaging camera and object in question. This value must lay between 0 and 1, with a default value of 1. |
humidity |
Relative, atmospheric humidity at the time if image character. This value is expressed as a percentage, and therefore should lay between 0 and 100. |
1 2 3 4 5 6 7 8 9 10 11 12 | ## Reading in binary version of FLIR JPG, and decrypt
setwd("C:/MyRawJPGs")
RmFlirTag("ABird.jpg", "C:/MyProcessedJPGs")
## Determining length of radiance data, within binary JPG.
# Image dimensions = 336 x 256
Imagelength = (336*256)*2
## Extracting binary pertaining to radiance data, and converting
Image = Tagless[2723:(2722+Imagelength)]
TempString = Rad_Temp(Image, Planck_R1 = 17096.453125, Planck_R2 = 0.04351538, Planck_B = 1428.0, Planck_F = 1,
Planck_O = -55.0, emissivity = 0.98, obj_distance = 1.0, amb_temp = 23.0, humidity = 30).
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.