I have photo with such tags:
-----------------------------------------------------------------
SourceFile: '/home/ubuntu/TIFF/DJI_0335.JPG',
errors: [],
GPSVersionID: '2 3 0 0',
GPSLatitudeRef: 'S',
GPSLatitude: -0,
GPSLongitudeRef: 'W',
GPSLongitude: -0,
GPSAltitudeRef: 0,
GPSAltitude: 125.531,
GPSPosition: '0 0',
Orientation: 1,
ExifToolVersion: 12.23,
FileName: 'DJI_0335.JPG',
Directory: '/home/ubuntu/TIFF',
FileSize: '970 KiB',
FileModifyDate: ExifDateTime {
year: 2021,
month: 9,
day: 17,
hour: 12,
minute: 41,
second: 52,
millisecond: 0,
tzoffsetMinutes: 180,
rawValue: '2021:09:17 12:41:52+03:00',
zoneName: 'UTC+3'
},
FileAccessDate: ExifDateTime {
year: 2021,
month: 9,
day: 25,
hour: 11,
minute: 8,
second: 17,
millisecond: 0,
tzoffsetMinutes: 180,
rawValue: '2021:09:25 11:08:17+03:00',
zoneName: 'UTC+3'
},
FileInodeChangeDate: ExifDateTime {
year: 2021,
month: 9,
day: 17,
hour: 13,
minute: 45,
second: 39,
millisecond: 0,
tzoffsetMinutes: 180,
rawValue: '2021:09:17 13:45:39+03:00',
zoneName: 'UTC+3'
},
FilePermissions: '-rwxrwxr-x',
FileType: 'JPEG',
FileTypeExtension: 'jpg',
MIMEType: 'image/jpeg',
ExifByteOrder: 'Little-endian (Intel, II)',
ImageDescription: 'default',
Make: 'DJI',
Model: 'MAVIC2-ENTERPRISE-ADVANCED',
SamplesPerPixel: 3,
XResolution: 72,
YResolution: 72,
ResolutionUnit: 'inches',
Software: '10.00.01.75',
ModifyDate: ExifDateTime {
year: 2021,
month: 9,
day: 17,
hour: 12,
minute: 41,
second: 51,
millisecond: 0,
tzoffsetMinutes: 0,
rawValue: '2021:09:17 12:41:51',
zoneName: 'Etc/GMT'
},
YCbCrPositioning: 'Centered',
ExposureProgram: 'Program AE',
ExifVersion: '0230',
DateTimeOriginal: ExifDateTime {
year: 2021,
month: 9,
day: 17,
hour: 12,
minute: 41,
second: 51,
millisecond: 0,
tzoffsetMinutes: 0,
rawValue: '2021:09:17 12:41:51',
zoneName: 'Etc/GMT'
},
CreateDate: ExifDateTime {
year: 2021,
month: 9,
day: 17,
hour: 12,
minute: 41,
second: 51,
millisecond: 0,
tzoffsetMinutes: 0,
rawValue: '2021:09:17 12:41:51',
zoneName: 'Etc/GMT'
},
ComponentsConfiguration: 'Y, Cb, Cr, -',
MaxApertureValue: 2.8,
MeteringMode: 'Center-weighted average',
LightSource: 'Fluorescent',
Flash: 'No Flash',
FlashpixVersion: '0100',
ColorSpace: 'sRGB',
ExifImageWidth: 640,
ExifImageHeight: 512,
InteropIndex: 'R98 - DCF basic file (sRGB)',
InteropVersion: '0100',
FileSource: 'Digital Camera',
SceneType: 'Directly photographed',
ExposureMode: 'Auto',
WhiteBalance: 'Auto',
DigitalZoomRatio: 1,
SceneCaptureType: 'Standard',
GainControl: 'None',
Contrast: 'Normal',
Saturation: 'Normal',
Sharpness: 'Normal',
DeviceSettingDescription: '(Binary data 4 bytes, use -b option to extract)',
XPComment: '0.9.142',
XPKeywords: 'N',
Compression: 'JPEG',
ThumbnailOffset: 20962,
ThumbnailLength: 16988,
About: 'DJI Meta Data',
Format: 'image/jpg',
AbsoluteAltitude: '+125.53',
RelativeAltitude: -0,
GimbalRollDegree: '+0.00',
GimbalYawDegree: '+85.30',
GimbalPitchDegree: '+17.10',
FlightRollDegree: -0.1,
FlightYawDegree: '+85.10',
FlightPitchDegree: '+3.80',
CamReverse: 0,
GimbalReverse: 0,
SelfData: '',
Version: 7,
HasSettings: false,
HasCrop: false,
AlreadyApplied: false,
MPFVersion: '0100',
NumberOfImages: 2,
MPImageFlags: 'Dependent child image',
MPImageFormat: 'JPEG',
MPImageType: 'Large Thumbnail (VGA equivalent)',
MPImageLength: 161545,
MPImageStart: 831350,
DependentImage1EntryNumber: 0,
DependentImage2EntryNumber: 0,
ImageUIDList: '(Binary data 66 bytes, use -b option to extract)',
TotalFrames: 1,
ThermalData: '(Binary data 655360 bytes, use -b option to extract)',
ThermalCalibration: '(Binary data 23818 bytes, use -b option to extract)',
ImageWidth: 640,
ImageHeight: 512,
EncodingProcess: 'Baseline DCT, Huffman coding',
BitsPerSample: 8,
ColorComponents: 3,
YCbCrSubSampling: 'YCbCr4:2:0 (2 2)',
ImageSize: '640x512',
Megapixels: 0.328,
ThumbnailImage: '(Binary data 16988 bytes, use -b option to extract)',
PreviewImage: '(Binary data 161545 bytes, use -b option to extract)',
tz: 'Etc/GMT',
tzSource: 'from Lat/Lon'
----------------------------------------------------
i extracted tag ThermalData in accordance (ExifByteOrder: 'Little-endian (Intel, II)'), 2 bytes for 1 pixel
[
19476, 19484, 19476, 19488, 19488, 19480, 19468, 19476,
19484, 19476, 19476, 19476, 19476, 19456, 19456, 19400,
19304, 19256, 19240, 19220, 19216, 19220, 19220, 19212,
19216, 19212, 19228, 19220, 19220, 19204, 19212, 19216,
19216, 19212, 19212, 19212, 19228, 19220, 19212, 19220,
19220, 19212, 19208, 19212, 19220, 19204, 19212, 19208,
19216, 19216, 19212, 19216, 19212, 19212, 19216, 19212,
19208, 19208, 19212, 19212, 19208, 19200, 19208, 19220,
19212, 19208, 19212, 19208, 19200, 19212, 19208, 19208,
19208, 19208, 19212, 19212, 19204, 19216, 19212, 19212,
19212, 19204, 19208, 19216, 19212, 19204, 19212, 19212,
19200, 19212, 19212, 19204, 19208, 19208, 19212, 19208,
19208, 19204, 19204, 19212,
... 327580 more items
]
i need help to convert value 19476 (for 1 pixel, decimal number system) into temperature
my project is on JS and i need to convert temperature by myself, i need the formula for convertion
|