There is already the Issue #2689 but i'd like to diskuss it a bit further.

I found a wrongfully used color matrix in LeicaQ2 *.dng files. The reason is 
rather simple to understand,

when a new file is included in the dt database the both "Calibration 
Illuminant" and "Color Matrix" are read,
the found matrix is saved in the database and it's marked as 
DT_COLORSPACE_EMBEDDED_MATRIX
See exif.cc ~line 852, colorin.c line 1553

Some leica files have a Calibration Illuminant=23 (D50) instead of the assumed 
21=D65 so the later color space
conversions using the read-in "Color Matrix" makes a wrong assuption.
I checked at raw.pixls and until now only three leica models are affected.


There are some 'brute force' ways to fix it but this is my question:

Is there a way to 'convert' a D50 color matrix into a D65 matrix? Or is this 
simply nonsense?

Thanks for all help, suggestions and comments.

Hanno



___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to