Hi.
Probably this script could do the job: Thermimage/raw2temp.R at master · gtatters/Thermimage
IF the camera calibration constants were provided!
Also, I could not found any documentation about this irg file which probably stores the temperature values!
Really not be able to programmaticly...