Beep6581 / RawTherapee

A powerful cross-platform raw photo processing program
https://rawtherapee.com
GNU General Public License v3.0
2.94k stars 328 forks source link

White balance adjustements #1878

Closed Beep6581 closed 9 years ago

Beep6581 commented 9 years ago

Originally reported on Google Code with ID 1894

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 !!

Reported by jdesmis on 2013-05-31 12:19:20


Beep6581 commented 9 years ago
yes we can :)

Reported by jdesmis on 2014-11-06 16:00:04

Beep6581 commented 9 years ago
:)

Reported by entertheyoni on 2014-11-06 18:46:11