• site home
  • blog home
  • galleries
  • contact
  • underwater
  • the bleeding edge

the last word

Photography meets digital computer technology. Photography wins -- most of the time.

You are here: Home / Using in-camera histograms for ETTR / Shortcuts to UniWB

Shortcuts to UniWB

There are shortcuts, but they don’t all work on all cameras.

One way to get the same information in all channels is to balance to an image where all the pixels are at maximum or minimum. Nikons usually refuse such images as invalid, but this will reportedly often work on Canons. Try taking a picture of the inside of the lens cap or dramatically overexpose a picture of almost anything. To see if you have achieved the desired white balance, look at the red and blue white balance coefficients in the camera’s EXIF data. They should be within five or ten percent of one.

Another shortcut is to use the manual white balance settings to set the white balance to about 3800 K and the color bias as green as it will go. After you do this, make some test exposures and look at the EXIF white balance coefficients. You can tweak the coefficients by adjusting the manual white balance settings. Many cameras don’t have sufficient range in their manual white balance settings to get you all the way to UniWB.

Yet another quick way to get to UniWB in a camera that allows you to copy the white balance setting from an image is to get a copy of an image from that camera with UniWB all set up. You just copy the image to a memory card, but it in the camera, and tell the camera to use the white balance coefficients from the image as a white balance preset. Be sure to name the file in a way that the camera will recognize it as its own.

In value engineering, the first step you consider is eliminating the function. In that spirit, one way to shortcut UniWB is to not do it, but to use some other technique for ETTR. If you’re pretty sure you know where the brightest spot in the image is, and if, as is the case of most highlights, not highly chromatic, you can meter it to set your exposure, and ignore the histogram in the camera.  There are several ways to express this metering technique, and different formulations speak to different photographers:

  • Meter the highlight and open up three stops
  • Place the highlight on Zone VIII
  • Set the exposure compensation to +3 stops, and meter the highlight

All of the above are equivalent. I don’t use this technique because I doubt my ability to find the highlight, and find it slower than snapping off an image and looking at the histogram.

Next: Preparing for monitor-based UniWB

 
 

Comments

  1. skytrader says

    March 26, 2013 at 3:33 am

    hi, nice collection of shortcuts. regarding your last sentence:

    try this:

    if you have set your camera to exposure 3+ compensation and you meter the scene with the spot meter, just meter different highlight spots. in case of aperture priority mode, the shortest displayed shutter speed is the “highest” highlight!

    of course you wont meter any light bulbs, etc… this you would only do when you want to photograph a dark ambient scene in the right mood.

    trigger this spot with the shortest sgutter speed displays by your camera meter with AEL and compse/focus and you are done. i cant imagine my RAW photography anymore without UNI-WB.

    if you have a SONY or nikon sensore, the problems of the usual DSLR underxposing by crappy JPG-AUTO-WB-histograms are not so fatal as they are with canon sensors, where you cannot correct that much, especially in high ISO.

    i use a 1DX and a RX1. even with the fabulous RX1 sensor (more than 14 stops dynmaic range) it makes a difference to use ETTR to the max!

    Reply
  2. Isaac says

    January 27, 2014 at 10:57 am

    Many cameras don’t have sufficient range in their manual white balance settings to get you all the way to UniWB.

    For example, Sony SLT-A35 with manual white balance set to 3900K and maximum G9 gives EXIF white balance coefficients:
    Blue 1.378906
    Red 1.359375

    Reply
  3. Chris Noble says

    October 19, 2014 at 2:13 am

    “To see if you have achieved the desired white balance, look at the red and blue white balance coefficients in the camera’s EXIF data. They should be within five or ten percent of one.”

    Shooting a magenta image on your monitor to set a Custom WB and checking the Red & Blue Balances in the EXIF data and then adjusting the magenta image, I have found that you can get to 1% or better in a half-dozen iterations and a total of 30 minutes or so for the whole process (which only needs to be done once in the life of the camera).

    Reply
  4. Graham Byrnes says

    January 11, 2020 at 6:13 am

    Apologies for not letting a sleeping dog lie…. but I’m trying to educate myself about color theory and this brings up something I get hung up on.

    Here’s my issue: if I’m using, say, Adobe RGB, which has a D65 illuminant. That is somewhere “in the middle” of the Adobe RGB triangle, or at (0.3127,0.3290,Y) in xyZ relative tri-stimulus values.

    So why is uniWB so far from the centre of color codes returned by my camera? Looking at a typical winter daylight photo, I see WB diagonal scales of around (2.4, 1.0, 1.27). According to RawDigger, the XYZ-> camera matrix in my Pentax K3 is quite diagonal heavy, with some rotation between red & green. So if the above triplet represents the correct WB, that means the values coming out of the camera & camera matrix are the reciprocals of the above, viz (0.417,1.0,0.787), which map back to (0.068,1.18,0.67) off the sensor… in which case the Bayer red cells are damn near unemployed, and the combined camera matrix and WB function are having to ramp them way up to compensate for my unreasonable human enthusiasm for red light… most of which is in reality being measured by G1 & G2.

    Did I get this right?

    That would suggest that human vision, while it leans towards green, still has a big appetite for red. Which recasts the evolutionary question you relayed from DPR (“Why did we evolve to see green so well?”): why did we over saturate our sensitivity to the red side of green by doubly covering it with two sets of cones. Ability to see predators and prey against the leaves or grass?

    I wonder what’s known about colour vision in other primates? I shall look 🙂

    Thanks for the stimulus!

    Reply
    • Iliah Borg says

      January 11, 2020 at 8:24 am

      Please consider this.

      Camera space is non-colorimetric and non-neutral. Strictly speaking, it’s not even a colour space, because the “units” are different and camera space is not based on primaries. Raw camera output (and that’s the codes, returned by the camera) is composed of measurements of light intensities, governed by the light hitting the sensor and spectral sensitivities, and that is not colour. It’s voltage.

      Part of the mapping from camera space to a neutral colour space is white balance.

      Reply
    • JimK says

      January 14, 2020 at 8:36 am

      As Iliah said, you shouldn’t look at the camera primaries as being colorimetric. As to why they are weighted towards the green, I believe that is to increase sensitivity.

      Reply
    • JimK says

      January 14, 2020 at 8:38 am

      That would suggest that human vision, while it leans towards green, still has a big appetite for red.

      The so-called “green” and “red” cones have greatly overlapping response spectra. That’s why color scientists tend to call them the “gamma” and “rho” cones, or the “M” and “L” cones.

      Reply
  5. Graham Byrnes says

    January 15, 2020 at 5:44 am

    Interesting: it seems that the M & L receptors were generated by a gene duplication…. which may be the pragmatic cause of their overlap. The S, otoh, is a modification of the UV sensitive form found in many mammals, ie the mouse, and depends on 7 distinct mutations that don’t have much effect when applied separately:
    https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4270479/

    Reply
    • JimK says

      January 15, 2020 at 7:46 am

      Interesting: it seems that the M & L receptors were generated by a gene duplication…

      Another explanation is to deal with the chromatic aberration of the lens.

      Reply
  6. Marc says

    January 22, 2020 at 11:56 pm

    Hello.
    Wouldn’t it be possible for the camera manufacturers to give us an option to show the histogram based on the raw file instead of showing the histogram for the JPG?

    Or, a metering option which determines the shutter speed or aperture or both, depending on which auto mode the camera is in if you are not exposing manually, so that the highest values (let’s) say 1% of the pixels, clip but 99% are exposed below the (raw) clipping threshold? Bundled with an option to configure this percentage.

    Or, zebra blinkies based on raw values?

    Or am I missing the point…

    I think we all should email our preferred manufacturers.

    Regards

    Reply
    • JimK says

      January 23, 2020 at 7:40 am

      They could do all that. Except for Magic Lantern on Canons, they don’t.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

May 2025
S M T W T F S
 123
45678910
11121314151617
18192021222324
25262728293031
« Apr    

Articles

  • About
    • Patents and papers about color
    • Who am I?
  • How to…
    • Backing up photographic images
    • How to change email providers
    • How to shoot slanted edge images for me
  • Lens screening testing
    • Equipment and Software
    • Examples
      • Bad and OK 200-600 at 600
      • Excellent 180-400 zoom
      • Fair 14-30mm zoom
      • Good 100-200 mm MF zoom
      • Good 100-400 zoom
      • Good 100mm lens on P1 P45+
      • Good 120mm MF lens
      • Good 18mm FF lens
      • Good 24-105 mm FF lens
      • Good 24-70 FF zoom
      • Good 35 mm FF lens
      • Good 35-70 MF lens
      • Good 60 mm lens on IQ3-100
      • Good 63 mm MF lens
      • Good 65 mm FF lens
      • Good 85 mm FF lens
      • Good and bad 25mm FF lenses
      • Good zoom at 24 mm
      • Marginal 18mm lens
      • Marginal 35mm FF lens
      • Mildly problematic 55 mm FF lens
      • OK 16-35mm zoom
      • OK 60mm lens on P1 P45+
      • OK Sony 600mm f/4
      • Pretty good 16-35 FF zoom
      • Pretty good 90mm FF lens
      • Problematic 400 mm FF lens
      • Tilted 20 mm f/1.8 FF lens
      • Tilted 30 mm MF lens
      • Tilted 50 mm FF lens
      • Two 15mm FF lenses
    • Found a problem – now what?
    • Goals for this test
    • Minimum target distances
      • MFT
      • APS-C
      • Full frame
      • Small medium format
    • Printable Siemens Star targets
    • Target size on sensor
      • MFT
      • APS-C
      • Full frame
      • Small medium format
    • Test instructions — postproduction
    • Test instructions — reading the images
    • Test instructions – capture
    • Theory of the test
    • What’s wrong with conventional lens screening?
  • Previsualization heresy
  • Privacy Policy
  • Recommended photographic web sites
  • Using in-camera histograms for ETTR
    • Acknowledgments
    • Why ETTR?
    • Normal in-camera histograms
    • Image processing for in-camera histograms
    • Making the in-camera histogram closely represent the raw histogram
    • Shortcuts to UniWB
    • Preparing for monitor-based UniWB
    • A one-step UniWB procedure
    • The math behind the one-step method
    • Iteration using Newton’s Method

Category List

Recent Comments

  • bob lozano on The 16-Bit Fallacy: Why More Isn’t Always Better in Medium Format Cameras
  • JimK on Goldilocks and the three flashes
  • DC Wedding Photographer on Goldilocks and the three flashes
  • Wedding Photographer in DC on The 16-Bit Fallacy: Why More Isn’t Always Better in Medium Format Cameras
  • JimK on Fujifilm GFX 100S II precision
  • Renjie Zhu on Fujifilm GFX 100S II precision
  • JimK on Fuji 20-35/4 landscape field curvature at 23mm vs 23/4 GF
  • Ivo de Man on Fuji 20-35/4 landscape field curvature at 23mm vs 23/4 GF
  • JimK on Fuji 20-35/4 landscape field curvature at 23mm vs 23/4 GF
  • JimK on Fuji 20-35/4 landscape field curvature at 23mm vs 23/4 GF

Archives

Copyright © 2025 · Daily Dish Pro On Genesis Framework · WordPress · Log in

Unless otherwise noted, all images copyright Jim Kasson.