the last word

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

  • site home
  • blog home
  • galleries
  • contact
  • underwater
  • the bleeding edge
You are here: Home / The Last Word / Testing for ETTR, part 23

Testing for ETTR, part 23

December 28, 2012 By JimK Leave a Comment

Ever since I starting working in camera space, I’ve had what I needed for a true one-step UniWB calibration procedure, but I didn’t have a delivery mechanism, since the procedure required inverting a matrix, and I was using Matlab for that. I poked around and found that Excel can invert matrices, and multiply them too. Armed with that knowledge, I created a spreadsheet to do the math necessary to calibrate a camera using the following procedure:

  1. In any RGB color space within the gamut of your monitor for which you know the gamma (sRGB is probably the safest choice), make three exposures: one at R=255, G=0, B=0, one at R=0, G=255, B=0, one at R=0, G=0, B=255.
  2. Bring the images into Rawdigger. Enter the average values of the red, green, and blue raw pixels into the appropriate columns in the spreadsheet.
  3. Enter the color space gamma into the spreadsheet.
  4. Enter the desired raw value for the UniWB target.
  5. Read the UniWB target RGB values from the output cells, and fill the test target with that color in Photoshop.
  6. Balance to the test target.
  7. Take a picture of the test target.
  8. Bring that picture into Rawdigger and look at the EXIF WB coefficients and the raw values to see how well you did.

Here’s the result with the Photoshop color space set to linear Adobe RGB. The input cells are yellow and orange, and the output cells are green. The values from the test target are on the right in bold.

And here’s the result with the Photoshop color space set to Adobe (1998) RGB, with the standard gamma of 2.2:

I tried this with an uncalibrated monitor, and it doesn’t work very well. The reason is that, for the calculations to be accurate, the gammas for the three monitor primaries need to be well controlled, as they are after calibration.

This is a really simple process that requires no iteration, and I’m happy with it. It does, however, require either access to Excel (or some rudimentary knowledge of linear algebra). I wonder if there’s a significant group of photographers that want to use UniWB that don’t have Excel. For those, either Iliah Borg’s iterative approach or the gridded search would be what I’d recommend.

Here’s the spreadsheet (Right-click on it and select “Save target as” to download it): OneStepUniWB

← Testing for ETTR, part 22 Testing for ETTR, part 24 →

Leave a Reply Cancel reply

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

February 2021
S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28  
« Jan    

Articles

  • About
    • Patents and papers about color
    • Who am I?
  • How to…
    • Backing up photographic images
    • How to change email providers
  • 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 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

  • JimK on Sony 135 mm STF on GFX 50R
  • Alexander Häggström on Sony 135 mm STF on GFX 50R
  • Mike King on Metabones 1.26x Expander on GFX 100 with Otus 55
  • JimK on Diffraction and sensors
  • Barry Benowitz on Diffraction and sensors
  • Raymond on Fuji 45-100/4, 100-200/5.6 on GFX 100
  • CarVac on Diffraction and sensors
  • Ilya Zakharevich on Diffraction and sensors
  • CarVac on Diffraction and sensors
  • JimK on Diffraction and sensors

Archives

Unless otherwise noted, all images copyright Jim Kasson.