Here is a new patch for the "white balance"
He tries to solve the problems reported in "Improved WB" and "LMS Colgate" (forum
RT)
First, thank you to Alias for having tested the matrix DNG for Panasonic DH2.
I made the following changes:
1) change in the code "dcraw.cc" values "rgb_cam" by those of Dcraw.
2) changes in the amplitude of the color temperature (1500-60000) instead of (2000-25000)
* Attention low values may cause artifacts / difficulties in some images, because this
value is outside the usual limits of manufacturers (Nik, Can, ..). I kept the algorithm
that calculates according to the Planck formula
* for high values (greater than 25000) I changed the algorithm.
3)I slightly modified the code for "spotWB" to make it more robust
4)Upon reflection, I put in "preferences", option that lets you change the normal balance
between red and blue set by "White Balance"
This can be useful when shooting conditions:
a) are far from the standard illuminant (underwater. ..)
b) are far from conditions where calibrations were performed
c) where the matrices or ICC profiles are unsuitable
Be carefull !!
Originally reported on Google Code with ID 1894
Reported by
jdesmis
on 2013-05-31 12:19:20