There is a small discrepancy in the white balance Temp & Tint values shown in Lightroom for a dual-iso converted DNG, compared to the equivalent normal CR2 image.
Example:
Type | Temp | Tint |
Normal CR2 | 6000 | +6 |
Dual-ISO DNG | 5900 | -3 |
The AsShotNeutral values are the same, so the white balance calculation in cr2hdr is working - at least for this image.
The difference is not very large, so it might not be worth the effort to fix; but I have found a way to make Lightroom calculate identical Temp and Tint values.
The solution is to include the ColorMatrix2, CameraCalibration1, CameraCalibration2, CalibrationIlluminant2, ForwardMatrix1 and ForwardMatrix2 values for the camera in the DNG file. It also requires setting CalibrationIlluminant1 to 'Standard Light A' and CalibrationIlluminant2 to D65.
I've tested this with cr2hdr 'classic' (5D3-123 branch), and with cr2hdr-20bit.
At the moment my fix changes the raw_info structure, which a1ex tells me will break compatibility with other things.
I can probably develop a fix without modifying raw_info; but I'm not sure it's worth the effort - is anyone interested in having the additional color calibration data in the DNG files?
Phil.