Asked • 04/02/19

White balance gains on iOS not independent?

I am attempting to manually control the white balance via iOS 8.2 on an iPhone 5S. I am using [`setWhiteBalanceModeLockedWithDeviceWhiteBalanceGains`](https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVCaptureDevice_Class/#//apple_ref/occ/instm/AVCaptureDevice/setWhiteBalanceModeLockedWithDeviceWhiteBalanceGains:completionHandler:). I have also set the focus and exposure and ISO to manual, and then I am stepping the gain on the red channel from 1.0 to 3.0 while keeping green and blue gains set to 1.0, taking an image of the same (constant) scene at each white balance gains setting. I plot a single row from the image (640 pixels wide) for the red channel (top plot) green (middle) and blue (bottom): ![](http://i.imgur.com/mOx8PPg.png) I would expect to see only the red channel change, and yet I actually see a change on all three channels. On green and blue the difference is much smaller, but obviously noticeable. Am I doing something wrong, or am I misunderstanding how the white balance gains work?

1 Expert Answer

By:

Nalena K. answered • 09/28/21

Tutor
New to Wyzant

Digital Photographer

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.