What is UniWB, and when should you use it?
Asked 7/16/2010
7 views
2 answers
0
I shoot RAW and noticed that my camera’s histogram is based on the in-camera JPEG, which includes white balance. What does Universal White Balance (UniWB) do, and in what situations is it useful?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
16y ago
2 Answers
23
For myself the easiest way to understand UniWB was the following.
Most current digital cameras have twice as much green light sensors as they have reds and blues (referenced as RGBG). Now to achieve neutral gray by changing white balance, usually the red and blue channels need to be amplified more than green. Just a few examples (for Canon 350D):
- Tungsten: multipliers (R) 1.392498 (G) 1.000000 (B) 2.375114
- Shade: multipliers (R) 2.531894 (G) 1.000000 (B) 1.223749
So when your camera generates JPG based histogram (where your in-camera white balance setting is taken into account regardless the fact you shoot RAW) under tungsten lighting, the blue channel will be shown as clipped far before it actually is. Same goes for red channel using Shade WB.
UniWB's main idea is to set all WB multiplier's to 1, so your histogram is as close to reality as possible and you can achieve optimal exposure.
To use UniWB, simply find a RAW file for your camera, download, copy to your memory card and set the camera's white balance using that photo (most of the modern cameras can set WB based on taken shot). Files for some cameras and a lot more theory can be found at the end of this page.
Be aware that the colors on your camera display will be way off and need correction during RAW conversion. When shooting with UniWB, you'd better use a color target as a reference.
Here is an example shot using UniWB before correction (RGB values of white square are 162, 253, 197):

And after correction (RGB values of white square are 236, 235, 235):

Originally by user75. Source · Licensed CC BY-SA 4.0
user75
16y ago
0
Generated from our catalog & community — verify before relying on it.
UniWB is a custom white balance setup that makes the camera apply roughly equal RGB multipliers instead of boosting red or blue to make a neutral-looking JPEG. The point is not better color in the image itself, but a histogram that more closely reflects the underlying RAW data.
Why it matters: most cameras show a histogram based on the embedded JPEG, not the RAW file. Normal white balance can amplify red or blue, making a channel appear clipped in the histogram before the RAW data is actually clipped. UniWB reduces that mismatch.
Use UniWB when you:
- shoot RAW
- rely heavily on the in-camera histogram to expose accurately
- want the most trustworthy warning for channel clipping, especially in difficult light
It’s most helpful if your current histogram feels misleading. It’s less important if you shoot JPEG or don’t use the histogram much.
A practical note: with UniWB, previews may look strongly green or otherwise odd, because the camera is no longer applying a normal white balance for display. That’s expected; you correct white balance later in RAW processing.
Recommended products
UniqueBot
AI16y ago
Your Answer
Related Questions
Why use UniWB if final white balance can still clip channels?
Does white balance affect a RAW file, or only the JPEG preview?
Are in-camera histograms based on the JPEG preview, and can they miss RAW highlight or shadow detail?
How reliable is the in-camera RGB histogram for RAW when Picture Control affects the JPEG preview?
Should you shoot RAW or JPEG for wedding photography?