Hi Phil,
Makernotes Tag 0x00A0
is a combination of CameraIFD Tag 0x2009
and CameraIFD Tag 0x3240 & 0x3241
32 Byte to read as 16 Words.
the 1st 4 Words divided by 1024.0f are the AWB-Gains identical to the R/B-Gains in 0x3240|1
the next 4 words are simply a copy always identical to the 1st 4.
Despite of what CFA-pattern the sensor has, the order is always BGGR here.
(On G-Cams with BGGR-Pattern _and_ on FZ-1000 with RGGB)
Maybe here is in theory the option to provide two different gainsets for two different illuminants (like DNG), but it is not used.
the next 2x4 words are integers with Black-/Greylevels from CameraIFD-Tag 0x2009
for example:
CameraIFD
Tag 0x3420 SHORT × 1 AWB-RedLevel 2.415039
Tag 0x3421 SHORT × 1 AWB-BlueLevel 1.557617
Tag 0x2009 SHORT × 8 GrayLevel[2x4] 512 512 512 512 / 512 512 512 512
Makernotes Tag 0x00A0 UNDEFINED × 32
1.557617 1.000000 1.000000 2.415039
1.557617 1.000000 1.000000 2.415039
512.00 512.00 512.00 512.00
512.00 512.00 512.00 512.00
-Klaus
Thanks. I'll have to think about what to do with this one.
- Phil
Hi Klaus,
For now I've just added a comment to the code to document this. Decoding this properly would be some work, with the unsatisfying result of just extracting duplicate information.
- Phil