from this radiometric jpg you get all constants you need for calculating the RAW values from your 16 Bit TIFF images to temperature [°C]
exiftool -pla* -atm* 20180324_164611.jpg
Planck R1 : 17096.453
Planck B : 1428
Planck F : 1
Planck O : -342
Planck R2 : 0.046642166
Atmospheric Temperature : 22.0 C
Atmospheric Trans Alpha 1 : 0.006569
Atmospheric Trans Alpha 2 : 0.012620
Atmospheric Trans Beta 1 : -0.002276
Atmospheric Trans Beta 2 : -0.006670
Atmospheric Trans X : 1.900000
what are the difference between this two images?
The "original" file has no GPS coordinates
$ exiftool -GPS* 20180217_105700-original.tiff
GPSXY Accuracy : 0.00
GPSZ Accuracy : 0.00
GPS Version ID : 3.2.0.0
GPS Latitude Ref : South
GPS Longitude Ref : West
GPS Altitude Ref : Above Sea Level
GPS Map Datum : WGS-84
GPS Altitude : 0 m Above Sea Level
GPS Latitude : 0 deg 0' 0.00" N
GPS Longitude : 0 deg 0' 0.00" E
GPS Position : 0 deg 0' 0.00" N, 0 deg 0' 0.00" E
You tiff file has no Planck values, therefore you need one radiometric JPG to get this constant value.
The image looks great:
$ convert 20180217_105700.tiff -auto-level 20180217_105700.jpg
(https://www.eevblog.com/forum/thermal-imaging/problems-getting-temperature-data-from-flir-based-dji-xtr-camera/?action=dlattach;attach=410171;image)
... and been reading that has some type of incriptation, it is necessary to remove the header of the metadata?
Will the values of the pixels in the TIFF image change me after removing the headers?
use imagemagicks parameter "strip" to delete the headers
$ convert 20180217_105700.tiff -strip 20180217_105700-clean.tiff
$ identify 20180217_105700-clean.tiff
20180217_105700-clean.tiff TIFF 640x512 640x512+0+0 16-bit Grayscale Gray 655582B 0.000u 0:00.000
$ exiftool 20180217_105700-clean.tiff
ExifTool Version Number : 10.40
File Name : 20180217_105700-clean.tiff
Directory : .
File Size : 640 kB
File Modification Date/Time : 2018:04:07 11:36:40+02:00
File Access Date/Time : 2018:04:07 11:37:19+02:00
File Inode Change Date/Time : 2018:04:07 11:36:40+02:00
File Permissions : rw-r--r--
File Type : TIFF
File Type Extension : tif
MIME Type : image/tiff
Exif Byte Order : Little-endian (Intel, II)
Image Width : 640
Image Height : 512
Bits Per Sample : 16
Compression : Uncompressed
Photometric Interpretation : BlackIsZero
Fill Order : Normal
Strip Offsets : 8
Orientation : Horizontal (normal)
Samples Per Pixel : 1
Rows Per Strip : 512
Strip Byte Counts : 655360
X Resolution : 1
Y Resolution : 1
Planar Configuration : Chunky
Resolution Unit : None
Page Number : 0 1
Image Size : 640x512
Megapixels : 0.328
and compare the gray value of the center pixel:
$ convert 20180217_105700.tiff -crop 1x1+320+256 -colorspace gray -format "%[mean]\n" info:
8422
$ convert 20180217_105700-clean.tiff -crop 1x1+320+256 -colorspace gray -format "%[mean]\n" info:
8422
use your formula above and you can calculate the temperature of this raw value 8422