Panasonic CameraIFD Block 0x3000 - 0x310B

Started by Klaus_Homeister, August 27, 2018, 04:33:16 PM

Previous topic - Next topic

Klaus_Homeister

Hi Phil

ok... I can't imagine what it really is about.
I _do_ know that all those Tags are Red/Blue Balances.
You have to divide the short-values by 1024.0f.

When you compare the gains with WBInfo2

Tags:
0x3100 == DefaultTungsten-Red
0x3101 == DefaultTungsten-Blue
0x3102 == DefaultDaylight-Red
0x3103 == DefaultDaylight-Blue

above and below those Defaults are more or less modified Gains.

0x3000 modifiedTungsten-Red (-2?)
0x3001 modifiedTungsten-Blue (-2?)
0x3004 modifiedTungsten-Red (-1?)
0x3005 modifiedTungsten-Blue (-1?)
0x3100 DefaultTungsten-Red
0x3101 DefaultTungsten-Blue
0x3104 modifiedTungsten-Red (+1?)
0x3105 modifiedTungsten-Blue (+1?)
0x3108 modifiedTungsten-Red (+2?)
0x3109 modifiedTungsten-Blue (+2?)

0x3002 modifiedDaylight-Red (-2?)
0x3003 modifiedDaylight-Blue (-2?)
0x3006 modifiedDaylight-Red (-1?)
0x3007 modifiedDaylight-Blue (-1?)
0x3102 DefaultDaylight-Red
0x3103 DefaultDaylight-Blue
0x3106 modifiedDaylight-Red (+1?)
0x3107 modifiedDaylight-Blue (+1?)
0x310A modifiedDaylight-Red (+2?)
0x310B modifiedDaylight-Blue (+2?)

Tag 0x2000 looks like a basic selector for DaylightProcessing=='4' or TungstenProcessing=='3'

I played around with those gains a lot.
You can modify every Standard-Whitebalance with those Gains here by 1st divide them by  'DefaultDaylight-Red|Blue' and then 2nd multiply by one of the 'ModifiedDaylight-Red|Blue'

Sometimes you get cleaner shadows ... sometimes better Highlights ... but always less good midtones.
finally I don't really know how to use all those gains.

Greetings from Germany
-Klaus



Phil Harvey

Thanks.  I'll just make a note of these in the code for now.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Klaus_Homeister

Hi Phil,

I had enough time to test this.

With those gains you can implement a quick and simple "Green-Magenta-Shift".

When applied to unmodified RAW-Data in a _clean_ WhitebalanceProcess, you get a constant colorshift.

Klaus