How and in what kind of situations should it be used?

  • Actually UniWB stands for "Unitary White Balance" – Eliseo Ocampos Jul 12 '13 at 3:45

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):

UniWB before correction

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

UniWB after correction

  • 1
    Out of curiosity, does this affect a normal tone-only histogram (B/W histogram)? Or does it only affect a color histogram? I switched to using the B/W histogram a few months ago, as it seemed to be a little more accurate. – jrista Sep 1 '10 at 5:41
  • @jrista - I remember from somewhere (so it's a speculation) that the b/w histogram is basically histogram of green channel. If so, it doesn't affect the histogram as the multiplier for green is already 1. But I think I can update the answer with some examples when time permits so everybody can draw their own conclusions. – Karel Sep 1 '10 at 7:23
  • 1
    @jrista - now when I think about it, my examples probably don't really help you. Better download this file: guillermoluijk.com/download/uniwb450d.zip, copy to memory card and set white balance based on it. Take 2 pics, one with this WB and one with normal and then you can compare the histograms. – Karel Sep 2 '10 at 20:12

Most camera bodies (afiak) that display an image histogram, presents a histogram that is based on the JPEG representation of the RAW data captured by the camera sensor.

If you do your post processing work with RAW images (and you should ;) ), and you use the camera's histogram display as a guide when taking pictures, then the discrepancy between the histogram and the actual image may be enough to throw off your image (ie what you see, isn't what you get).

Some bodies allow you to use neutral parameters for contrast, saturation, and brightness which means the JPEG and RAW image are more closely matched (and by relation the histogram), but that still leaves the camera's whitebalance.

UniWB is a way to effectively cancel out the whitebalance, thus allowing for a more "true" histogram for your RAW image.

So what kind of situations should you use it? Well clearly if you're not shooting RAW, then there is not point. If you don't use the camera's histogram after taking the shot, then it makes no sense to use this.

When it does make sense is if you find that the RAW images you work with aren't what you expect, and you're looking for tweaks to make in your workflow to reduce the effort you spend in post processing to correct your images.

Or, if you are a crazy perfectionist that has to do everything imaginable to get the best, most perfect image possible, then this is worth investigating.

  • 3
    It's not really about reducing post-processing effort (in fact, it increases it a bit), but about ensuring that you use the maximum exposure possible without causing clipping (which minimizes noise and maximize available dynamic range). – Jerry Coffin Aug 12 '10 at 20:37

As Alan says, it's a way to get an in-camera histogram that more accurately represents the raw capture. So, the times when you would use it are when you are unsatisfied with the histograms you're getting.

The very long and detailed explanation from Guillermo Luijk is here: http://www.guillermoluijk.com/tutorial/uniwb/index_en.htm

  • Guillermo also provides the RAW files for many camera types that can be used to cancel out the white balance. – Karel Jul 21 '10 at 20:04

Your Answer

