Project

General

Profile

Bug #10899

Leica DNG File White Balance

Added by Dominik F about 4 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
Darkroom
Target version:
Start date:
01/30/2016
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0.0
System:
all
bitness:
64-bit
hardware architecture:
amd64/x86

Description

After importing my DNG Files from my Leica Cameras (Leica X2, Leica M Typ 240) it looks fine. Starting working with those files in the darkroom any of the modules it works fine aswell.

Except the white balance. Open the module you see always a color temperature of 25000k. If you start to move one of the sliders in the white balance tool the colors of the image going crazy and the image is unsable.

I tested it on 64 bit Fedora/Ubuntu Linux and Windows Build.

Associated revisions

Revision 5e6c3f05 (diff)
Added by Pedro Côrte-Real about 4 years ago

temperature: use the embedded d65 matrix for temp

To do the Kelvin->Multipliers and Multipliers->Kelvin
conversion we use XYZ_to_CAM and CAM_to_XYZ matrices
from adobe_coeffs. For DNGs with embedded matrices
these don't exist but we have the matrix in dt_image_t.
Use that whenever it is set as we also default to that
matrix in colorin if it exists. (fixes #10899)

Revision 904f28fd (diff)
Added by Pedro Côrte-Real about 4 years ago

temperature: use the embedded d65 matrix for temp

To do the Kelvin->Multipliers and Multipliers->Kelvin
conversion we use XYZ_to_CAM and CAM_to_XYZ matrices
from adobe_coeffs. For DNGs with embedded matrices
these don't exist but we have the matrix in dt_image_t.
Use that whenever it is set as we also default to that
matrix in colorin if it exists. (fixes #10899)

(cherry picked from commit 5e6c3f05a389b0c42ef427fa3912de5341dbb0ec)

History

#1 Updated by Pedro Côrte-Real about 4 years ago

  • % Done changed from 0 to 10
  • Status changed from New to Confirmed

We can't do anything without sample raw files. There's a M240 one on rawsamples:

http://rawsamples.ch/raws/leica/RAW_LEICA_M240.DNG

That one shows the issue. We could use a X2 one though and it would be great if you could submit it to rawsamples.ch as well.

#2 Updated by Pedro Côrte-Real about 4 years ago

  • % Done changed from 10 to 100
  • Status changed from Confirmed to Fixed

#3 Updated by Pedro Côrte-Real about 4 years ago

This should now be fixed in master and will be in 2.0.1. Note that if you don't touch the temperature and tint sliders you can still change the white balance settings by changing red/green/blue. It's not as convenient naturally.

#4 Updated by Roman Lebedev over 3 years ago

  • Target version set to 2.2.0

Also available in: Atom PDF

Go to top