Camera sensor Temperature (not color Temperature)

Added by Raphael Attie 8 months ago

Hello,

I'm just starting with Exiv2, which I try to implement in my project LightDrops in Github. I was hoping to extract the "camera temperature" of canon DSLRs. Using the "exifprint.cpp" example, I could not find it for Canon EOS 5D Mark iii, whereas I can get it with Exiftool, where it is listed as "Camera Temperature". The value was 27 C (degrees Celsius then). I believe this is different from "color temperature".

Does anyone know how to get this with Exiv2? I need this information to allow my software to characterise temperature vs noise, and to see temperature variation across the night (for astrophotography) for different exposure times.

So far my attempt is as follows (using Qt):

    Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(filePathStr);
    assert(image.get() != 0);
    image->readMetadata();
    Exiv2::ExifData &exifData = image->exifData();
        if (exifData.empty())
        {
            std::string error(filePathStr);
            error += ": No Exif data found in the file";
            throw Exiv2::Error(1, error);
        }

   Exiv2::ExifData::const_iterator end = exifData.end();
   for (Exiv2::ExifData::const_iterator i = exifData.begin(); i != end; ++i)
   {
       QString keyName = QString::fromStdString(i->key());
       QString keyValue = QString::fromStdString(i->value().toString());
       qDebug() << keyName << " : " << keyValue;
    }

Here is the output of

"Exif.Image.ImageWidth" : "5760"
"Exif.Image.ImageLength" : "3840"
"Exif.Image.BitsPerSample" : "8 8 8"
"Exif.Image.Compression" : "6"
"Exif.Image.Make" : "Canon"
"Exif.Image.Model" : "Canon EOS 5D Mark III"
"Exif.Image.StripOffsets" : "84908"
"Exif.Image.Orientation" : "1"
"Exif.Image.StripByteCounts" : "2872535"
"Exif.Image.XResolution" : "72/1"
"Exif.Image.YResolution" : "72/1"
"Exif.Image.ResolutionUnit" : "2"
"Exif.Image.DateTime" : "2015:06:11 01:07:06"
"Exif.Image.Artist" : ""
"Exif.Image.XMLPacket" : "60 63 120 1 (truncated)

"Exif.Image.Copyright" : ""
"Exif.Image.ExifTag" : "446"
"Exif.Photo.ExposureTime" : "20/1"
"Exif.Photo.FNumber" : "0/1"
"Exif.Photo.ExposureProgram" : "1"
"Exif.Photo.ISOSpeedRatings" : "3200"
"Exif.Photo.SensitivityType" : "2"
"Exif.Photo.RecommendedExposureIndex" : "3200"
"Exif.Photo.ExifVersion" : "48 50 51 48"
"Exif.Photo.DateTimeOriginal" : "2015:06:11 01:07:06"
"Exif.Photo.DateTimeDigitized" : "2015:06:11 01:07:06"
"Exif.Photo.ComponentsConfiguration" : "1 2 3 0"
"Exif.Photo.ShutterSpeedValue" : "-286720/65536"
"Exif.Photo.ApertureValue" : "2147483648/1"
"Exif.Photo.ExposureBiasValue" : "0/1"
"Exif.Photo.MeteringMode" : "5"
"Exif.Photo.Flash" : "16"
"Exif.Photo.FocalLength" : "0/1"
"Exif.Photo.MakerNote" : "42 0 1 0 (truncated)

Any idea?

Thanks


Replies (8)

RE: Camera sensor Temperature (not color Temperature) - Added by Robin Mills 8 months ago

Please attach your image and I will investigate.

RE: Camera sensor Temperature (not color Temperature) - Added by Raphael Attie 8 months ago

Hi Robin,

Thank you for the help. The file is raw .CR2, too big to upload here. Here is a dropbox link: https://www.dropbox.com/s/34vj5u7aihd1vag/F36A7292.CR2?dl=0
Let me know if you need this to be transferred to you differently.

Thanks

Raphael

RE: Camera sensor Temperature (not color Temperature) - Added by Robin Mills 8 months ago

Rafael:

Thanks for your file. You can remove it now from Dropbox. Regrettably, we don't support that tag. It is not listed here: http://www.exiv2.org/tags-canon.html

Here's the color information in your file:

554 rmills@rmillsmbp:~/Downloads $ exiv2 -Pkc --grep Color F36A7292.CR2 
Exif.CanonCs.ColorTone                         1
Exif.CanonPr.ColorTemperature                  1
Exif.Canon.MeasuredColor                       6
Exif.Canon.ColorSpace                          1
Exif.Canon.ColorData                         1312
Exif.Photo.ColorSpace                          1
555 rmills@rmillsmbp:~/Downloads $ 
Is this stored in either MeasuredColor (6 bytes) or ColorData (1312 bytes)? I don't see it listed by exiftool either.
555 rmills@rmillsmbp:~/Downloads $ exiftool -ver
10.13
556 rmills@rmillsmbp:~/Downloads $ exiftool F36A7292.CR2 | grep -i color
Color Tone                      : Normal
Color Tone Standard             : 0
Color Tone Portrait             : 0
Color Tone Landscape            : 0
Color Tone Neutral              : 0
Color Tone Faithful             : 0
Color Tone Auto                 : 0
Color Tone User Def 1           : 0
Color Tone User Def 2           : 0
Color Tone User Def 3           : 0
Color Temperature               : 9000
Color Data Version              : 10 (1DX/5DmkIII/6D/70D/100D/650D/700D/M)
Color Temp As Shot              : 3973
Color Temp Auto                 : 3973
Color Temp Measured             : 3973
Color Temp Daylight             : 5200
Color Temp Shade                : 7000
Color Temp Cloudy               : 6000
Color Temp Tungsten             : 3200
Color Temp Fluorescent          : 3714
Color Temp Kelvin               : 9017
Color Temp Flash                : 6326
Color Space                     : sRGB
556 rmills@rmillsmbp:~/Downloads $ 
I'm currently trying to reach "feature complete" on v0.26 and don't have time to research or implement support for this.

If you want this to be supported, you are welcome to raise an issue on Redmine. It would be very helpful for you to do the research into how this information is stored in the metadata.

RE: Camera sensor Temperature (not color Temperature) - Added by Raphael Attie 8 months ago

Robin, thanks for helping out.

You won't see it in Exiftool under color-related tags, sensor temperature has nothing to do with color.

You will see it as "Camera temperature", see below the complete list, i've put it in bold letter.

ExifTool Version Number : 10.10
File Name : F36A7292.CR2
Directory : /Users/raphaela/Pictures/Astrophotography/Joris/Andromede_iso3200_20s
File Size : 28 MB
File Modification Date/Time : 2015:06:16 18:33:01+02:00
File Access Date/Time : 2016:08:31 09:21:49+02:00
File Inode Change Date/Time : 2016:02:01 09:13:07+01:00
File Permissions : rw-r--r--
File Type : CR2
File Type Extension : cr2
MIME Type : image/x-canon-cr2
Exif Byte Order : Little-endian (Intel, II)
Image Width : 5760
Image Height : 3840
Bits Per Sample : 8 8 8
Compression : JPEG (old-style)
Make : Canon
Camera Model Name : Canon EOS 5D Mark III
Preview Image Start : 84908
Orientation : Horizontal (normal)
Preview Image Length : 2872535
X Resolution : 72
Y Resolution : 72
Resolution Unit : inches
Modify Date : 2015:06:11 01:07:06
Artist :
Rating : 0
Copyright :
Exposure Time : 20
F Number : 0
Exposure Program : Manual
ISO : 3200
Sensitivity Type : Recommended Exposure Index
Recommended Exposure Index : 3200
Exif Version : 0230
Date/Time Original : 2015:06:11 01:07:06
Create Date : 2015:06:11 01:07:06
Components Configuration : Y, Cb, Cr,
Shutter Speed Value : 20.7
Aperture Value : inf
Flash : Off, Did not fire
Focal Length : 0.0 mm
Macro Mode : Normal
Self Timer : Off
Quality : RAW
Canon Flash Mode : Off
Continuous Drive : Single, Silent
Focus Mode : Manual Focus (3)
Record Mode : CR2
Canon Image Size : n/a
Easy Mode : Manual
Digital Zoom : None
Contrast : Normal
Saturation : Normal
Metering Mode : Evaluative
Focus Range : Not Known
Canon Exposure Mode : Manual
Max Focal Length : 0 mm
Min Focal Length : 0 mm
Focal Units : 1/mm
Flash Activity : 0
Flash Bits : (none)
Zoom Source Width : 0
Zoom Target Width : 0
Manual Flash Output : n/a
Color Tone : Normal
SRAW Quality : n/a
Auto ISO : 100
Base ISO : 3200
Measured EV : -4.12
Target Exposure Time : 20.2
Exposure Compensation : 0
White Balance : Auto
Slow Shutter : None
Shot Number In Continuous Burst : 0
Optical Zoom Code : n/a
Camera Temperature : 27 C
Flash Guide Number : 0
Flash Exposure Compensation : 0
Auto Exposure Bracketing : Off
AEB Bracket Value : 0
Control Mode : Computer Remote Control
Measured EV 2 : -4.25
Bulb Duration : 0
Camera Type : EOS High-end
ND Filter : n/a
Canon Image Type : Canon EOS 5D Mark III
Canon Firmware Version : Firmware Version 1.1.3
Camera Orientation : Rotate 90 CW
Focus Distance Upper : 0 m
Focus Distance Lower : 0 m
Lens Type : Unknown (0)
Firmware Version : 1.1.3
File Index : 7292
File Index 2 : 7271
Directory Index : 100
Directory Index 2 : 100
Contrast Standard : -4
Sharpness Standard : 0
Saturation Standard : -4
Color Tone Standard : 0
Contrast Portrait : 0
Sharpness Portrait : 2
Saturation Portrait : 0
Color Tone Portrait : 0
Contrast Landscape : 0
Sharpness Landscape : 4
Saturation Landscape : 0
Color Tone Landscape : 0
Contrast Neutral : 0
Sharpness Neutral : 0
Saturation Neutral : 0
Color Tone Neutral : 0
Contrast Faithful : 0
Sharpness Faithful : 0
Saturation Faithful : 0
Color Tone Faithful : 0
Contrast Monochrome : 0
Sharpness Monochrome : 3
Filter Effect Monochrome : None
Toning Effect Monochrome : None
Contrast Auto : 0
Sharpness Auto : 3
Saturation Auto : 0
Color Tone Auto : 0
Filter Effect Auto : n/a
Toning Effect Auto : n/a
Contrast User Def 1 : -4
Sharpness User Def 1 : 0
Saturation User Def 1 : -2
Color Tone User Def 1 : 0
Filter Effect User Def 1 : None
Toning Effect User Def 1 : None
Contrast User Def 2 : 0
Sharpness User Def 2 : 3
Saturation User Def 2 : 0
Color Tone User Def 2 : 0
Filter Effect User Def 2 : None
Toning Effect User Def 2 : None
Contrast User Def 3 : 0
Sharpness User Def 3 : 3
Saturation User Def 3 : 0
Color Tone User Def 3 : 0
Filter Effect User Def 3 : None
Toning Effect User Def 3 : None
User Def 1 Picture Style : PC 1
User Def 2 Picture Style : Standard
User Def 3 Picture Style : Standard
Canon Model ID : EOS 5D Mark III
Thumbnail Image Valid Area : 0 159 7 112
AF Area Mode : Off (Manual Focus)
Num AF Points : 61
Valid AF Points : 1
Canon Image Width : 5760
Canon Image Height : 3840
AF Image Width : 5760
AF Image Height : 3840
AF Area Widths : 1152 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
AF Area Heights : 768 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
AF Area X Positions : 1280 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
AF Area Y Positions : 320 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
AF Points In Focus : (none)
AF Points Selected : 0
Time Zone : 02:00
Time Zone City : Paris
Daylight Savings : On
Bracket Mode : Off
Bracket Value : 0
Bracket Shot Number : 0
Raw Jpg Size : Large
WB Bracket Mode : Off
WB Bracket Value AB : 0
WB Bracket Value GM : 0
Live View Shooting : On
Flash Exposure Lock : Off
Internal Serial Number :
Dust Removal Data : (Binary data 1024 bytes, use -b option to extract)
Crop Left Margin : 0
Crop Right Margin : 0
Crop Top Margin : 0
Crop Bottom Margin : 0
Exposure Level Increments : 1/3 Stop
ISO Speed Increments : 1/3 Stop
AEB Auto Cancel : On
AEB Sequence : 0,
,
AEB Shot Count : 3 shots
Safety Shift : Disable
Viewfinder Warnings : Monochrome, WB corrected, One-touch image quality
LV Shooting Area Display : Masked
Custom Controls : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 3
Dial Direction Tv Av : Normal
Multi Function Lock : Off; Quick control dial
Add Aspect Ratio Info : Off
Default Erase Option : Cancel selected
Aspect Ratio : 3:2
Cropped Image Width : 5760
Cropped Image Height : 3840
Cropped Image Left : 0
Cropped Image Top : 0
Tone Curve : Standard
Sharpness : 4
Sharpness Frequency : n/a
Sensor Red Level : 0
Sensor Blue Level : 0
White Balance Red : 0
White Balance Blue : 0
Color Temperature : 9000
Picture Style : Landscape
Digital Gain : 0
WB Shift AB : 0
WB Shift GM : 0
Measured RGGB : 745 1024 1024 477
VRD Offset : 0
Sensor Width : 5920
Sensor Height : 3950
Sensor Left Border : 140
Sensor Top Border : 96
Sensor Right Border : 5899
Sensor Bottom Border : 3935
Black Mask Left Border : 0
Black Mask Top Border : 0
Black Mask Right Border : 0
Black Mask Bottom Border : 0
Color Data Version : 10 (1DX/5DmkIII/6D/70D/100D/650D/700D/M)
WB RGGB Levels As Shot : 1736 1024 1024 1964
Color Temp As Shot : 3973
WB RGGB Levels Auto : 1736 1024 1024 1964
Color Temp Auto : 3973
WB RGGB Levels Measured : 1736 1024 1024 1964
Color Temp Measured : 3973
WB RGGB Levels Daylight : 2085 1024 1024 1649
Color Temp Daylight : 5200
WB RGGB Levels Shade : 2389 1024 1024 1409
Color Temp Shade : 7000
WB RGGB Levels Cloudy : 2241 1024 1024 1522
Color Temp Cloudy : 6000
WB RGGB Levels Tungsten : 1507 1024 1024 2444
Color Temp Tungsten : 3200
WB RGGB Levels Fluorescent : 1833 1024 1024 2341
Color Temp Fluorescent : 3714
WB RGGB Levels Kelvin : 2608 1024 1024 1276
Color Temp Kelvin : 9017
WB RGGB Levels Flash : 2320 1024 1024 1496
Color Temp Flash : 6326
Average Black Level : 2049 2049 2049 2049
Raw Measured RGGB : 30796 41989 41851 19541
Per Channel Black Level : 2047 2048 2050 2050
Normal White Level : 11995
Specular White Level : 12507
Linearity Upper Margin : 10000
Custom Picture Style File Name :
AF Micro Adj Mode : Disable
AF Micro Adj Value : 0
Vignetting Corr Version : 0
Peripheral Lighting : Off
Chromatic Aberration Corr : Off
Peripheral Lighting Value : 0
Original Image Width : 5760
Original Image Height : 3840
Peripheral Lighting Setting : Off
Chromatic Aberration Setting : Off
Peripheral Illumination Corr : Off
Auto Lighting Optimizer : Off
Highlight Tone Priority : Off
Long Exposure Noise Reduction : Off
High ISO Noise Reduction : Off
Multi Exposure : Off
Multi Exposure Control : Additive
Multi Exposure Shots : 0
HDR : Off
HDR Effect : Natural
AF Config Tool : Case 4
AF Tracking Sensitivity : 0
AF Accel/Decel Tracking : 1
AF Point Switching : 0
User Comment :
Sub Sec Time : 35
Sub Sec Time Original : 35
Sub Sec Time Digitized : 35
Flashpix Version : 0100
Color Space : sRGB
Exif Image Width : 5760
Exif Image Height : 3840
Interoperability Index : R98 - DCF basic file (sRGB)
Interoperability Version : 0100
Focal Plane X Resolution : 3942.505133
Focal Plane Y Resolution : 3950.617284
Focal Plane Resolution Unit : inches
Custom Rendered : Normal
Exposure Mode : Manual
Scene Capture Type : Standard
Owner Name :
Serial Number : 053024005436
Lens Info : 0mm f/0
Lens Model :
Lens Serial Number : 0000000000
GPS Version ID : 2.3.0.0
Thumbnail Offset : 79984
Thumbnail Length : 4922
Photometric Interpretation : RGB
Samples Per Pixel : 3
Rows Per Strip : 395
Planar Configuration : Chunky
Strip Offsets : 4694148
Strip Byte Counts : 24276916
Raw Image Segmentation : 1 2960 2960
SRaw Type : 1
Aperture : inf
Drive Mode : Continuous Shooting
File Number : 100-7292
Image Size : 5760x3840
Lens : 0.0 mm
Lens ID : Unknown (0)
Megapixels : 22.1
Preview Image : (Binary data 2872535 bytes, use -b option to extract)
Scale Factor To 35 mm Equivalent: 1.0
Shooting Mode : Manual
Shutter Speed : 20
Create Date : 2015:06:11 01:07:06.35
Date/Time Original : 2015:06:11 01:07:06.35
Modify Date : 2015:06:11 01:07:06.35
Thumbnail Image : (Binary data 4922 bytes, use -b option to extract)
WB RGGB Levels : 1736 1024 1024 1964
Blue Balance : 1.917969
Circle Of Confusion : 0.031 mm
Depth Of Field : inf (0.00 m - inf)
Focal Length : 0.0 mm (35 mm equivalent: 0.0 mm)
Hyperfocal Distance : inf m
Lens : 0.0 mm (35 mm equivalent: 0.0 mm)
Red Balance : 1.695313

I would be glad to contribute and help extract that information for Exiv2, as I would like to support Canon, Nikon, and Sony camera, the 3 main brands used in astrophotography, but I have no idea where to start to decypher the metadata and look for the value of that parameter. Maybe you can show me where to begin and i'll work my way in.
The only idea I have to start with at the moment is to look for the actual temperature value seen in Exiftool (27 C), and look where that number appears as is, or as hexadecimal value, or binary. But again, I don't know where I should start looking, I'm still confused between Exif tags, XMP properties, etc...

Raphael

RE: Camera sensor Temperature (not color Temperature) - Added by Raphael Attie 8 months ago

not sure how those lines got struck through above. Not intended. You'll see the Camera Temperature as blod somewhere in the middlle.

RE: Camera sensor Temperature (not color Temperature) - Added by Robin Mills 8 months ago

Ah, right. Thanks for the clarification. Yes, I believe the camera temperature is of great interest/importance in Astro Photography. Exiftool does know about this, and Exiv2 does not.

607 rmills@rmillsmbp:~/Downloads $ exiftool F36A7292.CR2 | grep -i temp
Camera Temperature              : 27 C
Color Temperature               : 9000
Color Temp As Shot              : 3973
Color Temp Auto                 : 3973
Color Temp Measured             : 3973
Color Temp Daylight             : 5200
Color Temp Shade                : 7000
Color Temp Cloudy               : 6000
Color Temp Tungsten             : 3200
Color Temp Fluorescent          : 3714
Color Temp Kelvin               : 9017
Color Temp Flash                : 6326
608 rmills@rmillsmbp:~/Downloads $ exiv2 -pa --grep temp/i F36A7292.CR2 
Exif.CanonPr.ColorTemperature                SShort      1  9000
609 rmills@rmillsmbp:~/Downloads $ exiv2 -pa --grep cam/i F36A7292.CR2 
Exif.Canon.CameraInfo                        Undefined 1536  (Binary value suppressed)
Exif.Photo.CameraOwnerName                   Ascii       1  
610 rmills@rmillsmbp:~/Downloads $ 
I've never worked on the MakerNote encoder/decoders. There is an article on the Wiki: http://dev.exiv2.org/projects/exiv2/wiki/How_to_add_support_for_a_new_makernote

There is a handler for every camera manufacturer:

613 rmills@rmillsmbp:~/gnu/exiv2/trunk $ ls -1 src/*mn.cpp
src/canonmn.cpp
src/casiomn.cpp
src/fujimn.cpp
src/minoltamn.cpp
src/nikonmn.cpp
src/olympusmn.cpp
src/panasonicmn.cpp
src/pentaxmn.cpp
src/samsungmn.cpp
src/sigmamn.cpp
src/sonymn.cpp
614 rmills@rmillsmbp:~/gnu/exiv2/trunk $ 
And an image handlers for each image format:
614 rmills@rmillsmbp:~/gnu/exiv2/trunk $ ls -1 src/*image.cpp
src/bmpimage.cpp
src/cr2image.cpp
src/crwimage.cpp
src/epsimage.cpp
src/gifimage.cpp
src/image.cpp
src/jp2image.cpp
src/jpgimage.cpp
src/mrwimage.cpp
src/orfimage.cpp
src/pgfimage.cpp
src/pngimage.cpp
src/psdimage.cpp
src/rafimage.cpp
src/rw2image.cpp
src/tgaimage.cpp
src/tiffimage.cpp
src/webpimage.cpp
615 rmills@rmillsmbp:~/gnu/exiv2/trunk $ 
Most of the manufacturers use TIFF structures to manage their raw formats.

In v0.25, I add the option -pS to print the structure of an image.

616 rmills@rmillsmbp:~/Downloads $ exiv2 -pS F36A7292.CR2 
STRUCTURE OF TIFF FILE (II): F36A7292.CR2
 address |    tag                           |      type |    count |    offset | value
      18 | 0x0100 ImageWidth                |     SHORT |        1 |      5760 | 5760
      30 | 0x0101 ImageLength               |     SHORT |        1 |      3840 | 3840
      42 | 0x0102 BitsPerSample             |     SHORT |        3 |       238 | 8 8 8
      54 | 0x0103 Compression               |     SHORT |        1 |         6 | 6
      66 | 0x010f Make                      |     ASCII |        6 |       244 | Canon
      78 | 0x0110 Model                     |     ASCII |       22 |       250 | Canon EOS 5D Mark III
      90 | 0x0111 StripOffsets              |      LONG |        1 |     84908 | 84908
     102 | 0x0112 Orientation               |     SHORT |        1 |         1 | 1
     114 | 0x0117 StripByteCounts           |      LONG |        1 |   2872535 | 2872535
     126 | 0x011a XResolution               |  RATIONAL |        1 |       282 | 282/0
     138 | 0x011b YResolution               |  RATIONAL |        1 |       290 | 290/0
     150 | 0x0128 ResolutionUnit            |     SHORT |        1 |         2 | 2
     162 | 0x0132 DateTime                  |     ASCII |       20 |       298 | 2015:06:11 01:07:06
     174 | 0x013b Artist                    |     ASCII |        1 |         0 | 
     186 | 0x02bc XMLPacket                 |      BYTE |     8192 |     71792 | <?xpacket begin='...' id='W5M0Mp ...
     198 | 0x8298 Copyright                 |     ASCII |        1 |         0 | 
     210 | 0x8769 ExifTag                   |      LONG |        1 |       446 | 446
     222 | 0x8825 GPSTag                    |      LONG |        1 |     69688 | 69688
   71484 | 0x0201 JPEGInterchangeFormat     |      LONG |        1 |     79984 | 79984
   71496 | 0x0202 JPEGInterchangeFormatLeng |      LONG |        1 |      4922 | 4922
   71514 | 0x0100 ImageWidth                |     SHORT |        1 |       592 | 592
   71526 | 0x0101 ImageLength               |     SHORT |        1 |       395 | 395
   71538 | 0x0102 BitsPerSample             |     SHORT |        3 |     71674 | 16 16 16
   71550 | 0x0103 Compression               |     SHORT |        1 |         1 | 1
   71562 | 0x0106 PhotometricInterpretation |     SHORT |        1 |         2 | 2
   71574 | 0x0111 StripOffsets              |      LONG |        1 |   2957444 | 2957444
   71586 | 0x0115 SamplesPerPixel           |     SHORT |        1 |         3 | 3
   71598 | 0x0116 RowsPerStrip              |     SHORT |        1 |       395 | 395
   71610 | 0x0117 StripByteCounts           |      LONG |        1 |   1403040 | 1403040
   71622 | 0x011c PlanarConfiguration       |     SHORT |        1 |         1 | 1
   71634 | 0xc5d9                           |      LONG |        1 |         2 | 2
   71646 | 0xc6c5                           |      LONG |        1 |         3 | 3
   71658 | 0xc6dc                           |      LONG |        4 |     71680 | 577 386 14 9
   71698 | 0x0103 Compression               |     SHORT |        1 |         6 | 6
   71710 | 0x0111 StripOffsets              |      LONG |        1 |   4694148 | 4694148
   71722 | 0x0117 StripByteCounts           |      LONG |        1 |  24276916 | 24276916
   71734 | 0xc5d8                           |      LONG |        1 |         1 | 1
   71746 | 0xc5e0                           |      LONG |        1 |         1 | 1
   71758 | 0xc640                           |     SHORT |        3 |     71786 | 1 2960 2960
   71770 | 0xc6c5                           |      LONG |        1 |         1 | 1
END F36A7292.CR2
617 rmills@rmillsmbp:~/Downloads $ 
This has been enhanced in v0.26 with the -pR option to recursively print the structure (structures within structures).
618 rmills@rmillsmbp:~/Downloads $ exiv2 -pR F36A7292.CR2
STRUCTURE OF TIFF FILE (II): F36A7292.CR2
 address |    tag                           |      type |    count |    offset | value
      18 | 0x0100 ImageWidth                |     SHORT |        1 |      5760 | 5760
      30 | 0x0101 ImageLength               |     SHORT |        1 |      3840 | 3840
      42 | 0x0102 BitsPerSample             |     SHORT |        3 |       238 | 8 8 8
      54 | 0x0103 Compression               |     SHORT |        1 |         6 | 6
      66 | 0x010f Make                      |     ASCII |        6 |       244 | Canon
      78 | 0x0110 Model                     |     ASCII |       22 |       250 | Canon EOS 5D Mark III
      90 | 0x0111 StripOffsets              |      LONG |        1 |     84908 | 84908
     102 | 0x0112 Orientation               |     SHORT |        1 |         1 | 1
     114 | 0x0117 StripByteCounts           |      LONG |        1 |   2872535 | 2872535
     126 | 0x011a XResolution               |  RATIONAL |        1 |       282 | 282/0
     138 | 0x011b YResolution               |  RATIONAL |        1 |       290 | 290/0
     150 | 0x0128 ResolutionUnit            |     SHORT |        1 |         2 | 2
     162 | 0x0132 DateTime                  |     ASCII |       20 |       298 | 2015:06:11 01:07:06
     174 | 0x013b Artist                    |     ASCII |        1 |         0 | 
     186 | 0x02bc XMLPacket                 |      BYTE |     8192 |     71792 | <?xpacket begin='...' id='W5M0Mp ...
     198 | 0x8298 Copyright                 |     ASCII |        1 |         0 | 
     210 | 0x8769 ExifTag                   |      LONG |        1 |       446 | 446
  STRUCTURE OF TIFF FILE (II): F36A7292.CR2
   address |    tag                           |      type |    count |    offset | value
       448 | 0x829a ExposureTime              |  RATIONAL |        1 |       908 | 908/0
       460 | 0x829d FNumber                   |  RATIONAL |        1 |       916 | 916/0
       472 | 0x8822 ExposureProgram           |     SHORT |        1 |         1 | 1
       484 | 0x8827 ISOSpeedRatings           |     SHORT |        1 |      3200 | 3200
       496 | 0x8830 SensitivityType           |     SHORT |        1 |         2 | 2
       508 | 0x8832 RecommendedExposureIndex  |      LONG |        1 |      3200 | 3200
       520 | 0x9000 ExifVersion               | UNDEFINED |        4 | 808661552 | 0230
       532 | 0x9003 DateTimeOriginal          |     ASCII |       20 |       924 | 2015:06:11 01:07:06
       544 | 0x9004 DateTimeDigitized         |     ASCII |       20 |       944 | 2015:06:11 01:07:06
       556 | 0x9101 ComponentsConfiguration   | UNDEFINED |        4 |    197121 | ...
       568 | 0x9201 ShutterSpeedValue         | SRATIONAL |        1 |       964 | 964/0
       580 | 0x9202 ApertureValue             |  RATIONAL |        1 |       972 | 972/0
       592 | 0x9204 ExposureBiasValue         | SRATIONAL |        1 |       980 | 980/0
       604 | 0x9207 MeteringMode              |     SHORT |        1 |         5 | 5
       616 | 0x9209 Flash                     |     SHORT |        1 |        16 | 16
       628 | 0x920a FocalLength               |  RATIONAL |        1 |       988 | 988/0
       640 | 0x927c MakerNote                 | UNDEFINED |    68200 |       996 | *.....1...............D........ ...
       652 | 0x9286 UserComment               | UNDEFINED |      264 |     69196 | ............................... ...
       664 | 0x9290 SubSecTime                |     ASCII |        3 |     13619 | 35
       676 | 0x9291 SubSecTimeOriginal        |     ASCII |        3 |     13619 | 35
       688 | 0x9292 SubSecTimeDigitized       |     ASCII |        3 |     13619 | 35
       700 | 0xa000 FlashpixVersion           | UNDEFINED |        4 | 808464688 | 0100
       712 | 0xa001 ColorSpace                |     SHORT |        1 |         1 | 1
       724 | 0xa002 PixelXDimension           |     SHORT |        1 |      5760 | 5760
       736 | 0xa003 PixelYDimension           |     SHORT |        1 |      3840 | 3840
       748 | 0xa005 InteroperabilityTag       |      LONG |        1 |     69460 | 69460
       760 | 0xa20e FocalPlaneXResolution     |  RATIONAL |        1 |     69490 | 3954/1
       772 | 0xa20f FocalPlaneYResolution     |  RATIONAL |        1 |     69498 | 3962/1
       784 | 0xa210 FocalPlaneResolutionUnit  |     SHORT |        1 |         2 | 2
       796 | 0xa401 CustomRendered            |     SHORT |        1 |         0 | 0
       808 | 0xa402 ExposureMode              |     SHORT |        1 |         1 | 1
       820 | 0xa403 WhiteBalance              |     SHORT |        1 |         0 | 0
       832 | 0xa406 SceneCaptureType          |     SHORT |        1 |         0 | 0
       844 | 0xa430 CameraOwnerName           |     ASCII |        1 |     69376 | 
       856 | 0xa431 BodySerialNumber          |     ASCII |       13 |     69538 | 053024005436
       868 | 0xa432 LensSpecification         |  RATIONAL |        4 |     69570 | 0/0 1/0 0/0 1/0
       880 | 0xa434 LensModel                 |     ASCII |        1 |     69376 | 
       892 | 0xa435 LensSerialNumber          |     ASCII |       11 |     69676 | 0000000000
  END F36A7292.CR2
     222 | 0x8825 GPSTag                    |      LONG |        1 |     69688 | 69688
   71484 | 0x0201 JPEGInterchangeFormat     |      LONG |        1 |     79984 | 79984
   71496 | 0x0202 JPEGInterchangeFormatLeng |      LONG |        1 |      4922 | 4922
   71514 | 0x0100 ImageWidth                |     SHORT |        1 |       592 | 592
   71526 | 0x0101 ImageLength               |     SHORT |        1 |       395 | 395
   71538 | 0x0102 BitsPerSample             |     SHORT |        3 |     71674 | 16 16 16
   71550 | 0x0103 Compression               |     SHORT |        1 |         1 | 1
   71562 | 0x0106 PhotometricInterpretation |     SHORT |        1 |         2 | 2
   71574 | 0x0111 StripOffsets              |      LONG |        1 |   2957444 | 2957444
   71586 | 0x0115 SamplesPerPixel           |     SHORT |        1 |         3 | 3
   71598 | 0x0116 RowsPerStrip              |     SHORT |        1 |       395 | 395
   71610 | 0x0117 StripByteCounts           |      LONG |        1 |   1403040 | 1403040
   71622 | 0x011c PlanarConfiguration       |     SHORT |        1 |         1 | 1
   71634 | 0xc5d9                           |      LONG |        1 |         2 | 2
   71646 | 0xc6c5                           |      LONG |        1 |         3 | 3
   71658 | 0xc6dc                           |      LONG |        4 |     71680 | 577 386 14 9
   71698 | 0x0103 Compression               |     SHORT |        1 |         6 | 6
   71710 | 0x0111 StripOffsets              |      LONG |        1 |   4694148 | 4694148
   71722 | 0x0117 StripByteCounts           |      LONG |        1 |  24276916 | 24276916
   71734 | 0xc5d8                           |      LONG |        1 |         1 | 1
   71746 | 0xc5e0                           |      LONG |        1 |         1 | 1
   71758 | 0xc640                           |     SHORT |        3 |     71786 | 1 2960 2960
   71770 | 0xc6c5                           |      LONG |        1 |         1 | 1
END F36A7292.CR2
619 rmills@rmillsmbp:~/Downloads $
You'll notice the MakerNote tag hidden in a sub image as:
       640 | 0x927c MakerNote                 | UNDEFINED |    68200 |       996 | *.....1...............D........ ...
I wanted to add a MakerNote decoder to -pR, however I've been too busy to undertake that tasks.

Because I'm working very hard to reach "feature complete" on v0.26 at the moment, I don't want to be drawn further into a discussion about this matter.

I recommend that you open an Feature Issue in Redmine to support "Camera Temperature" in v0.27. May I ask you to search on the Exiftool website to discover how this is stored and put that information into the Issue.

I'll be happy to work with you to implement this when v0.26 has safely arrived at "feature complete" and I am less busy than now.

RE: Camera sensor Temperature (not color Temperature) - Added by Raphael Attie 8 months ago

Robin, thank you very much for your time and for providing these detailed information. I'll open a Feature Issue, and will try to work my way in, looking also into Exiftool to see how they do it. I don't know much about Perl though but maybe the documentation and/or the C++ implementation will help. I'll let you know, although I don't promise on the timeline... busy busy as well.

Again, thanks a lot.

Raphael

RE: Camera sensor Temperature (not color Temperature) - Added by Robin Mills 8 months ago

If you want something done, give it to a busy man (or woman). I'm looking forward to working with you.

(1-8/8)

Redmine Appliance - Powered by TurnKey Linux