Magic Lantern Forum

Developing Magic Lantern => Feature Requests => Topic started by: domasa on February 27, 2016, 04:27:55 PM

Title: AWB without shift
Post by: domasa on February 27, 2016, 04:27:55 PM
When I shoot a documentary video I sometimes mistakenly turn on "Adjusting white balance...".
This set wrong "White balance" and "WB Shift". When I switch to AWB by Canon menu (for fast fix) the "WB shift" is still wrong.

Is it possible:

1. turn on "Adjusting white balance..." by longer way for prevention
(e. g. by holding RATE button - similary as open ML menu by holding arrow button; or by double-click),

2. reset "WB shift" after set AWB?
Title: Re: AWB without shift
Post by: domasa on March 03, 2018, 11:38:54 PM
I modified question :)
Title: Re: AWB without shift
Post by: Levas on March 04, 2018, 12:08:02 PM
Had the same problem, it's because auto-white-balance is standard set as a shortcut key.
You can turn the whole auto white balance shortcut key option off.
By going into this menu: (Solved the problem for me)
(https://farm5.staticflickr.com/4659/40567536112_e7e938ce52_b.jpg)
Title: Re: AWB without shift
Post by: domasa on March 04, 2018, 02:08:04 PM
Quote from: Levas on March 04, 2018, 12:08:02 PM
Had the same problem, it's because auto-white-balance is standard set as a shortcut key.
In your case AWB still has shortcut key: "Foc Pnts" in LiveView (6D).

In my case AWB has shortuct key: "RATE" (5DIII). It is good. But mostly I press this button by mistake.
Title: Re: AWB without shift
Post by: a1ex on March 04, 2018, 05:39:54 PM
This should be re-implemented from raw-based data anyway. The way it works right now is by looking at the YUV buffer and performing an iterative procedure using Kelvin/GM adjustments until it gets this right.

There are routines to do the math (kelvin.c (https://bitbucket.org/hudson/magic-lantern/src/unified/modules/dual_iso/kelvin.c) extracted from UFRaw); the custom WB multipliers from Canon may be a better choice for the auto adjustment backend and won't require WBShift adjustments, but their exact meaning is not very well understood (https://www.magiclantern.fm/forum/index.php?topic=3409) (they don't seem to be applied directly to the raw Bayer channels).