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 / Sharpness testing, part 4

Sharpness testing, part 4

November 3, 2013 JimK Leave a Comment

Well, I thought I was done with the preliminaries, but it occurs to me that the standard deviation is going to vary linearly with exposure. I wrote some code to check that and correct for it. Then I came up with a way to simultaneously correct for overall exposure variation, and exposure variation caused by light falloff and uneven target lighting.

Here’s the code:

matlab code exposure correction

The first block checks for the problem, and returns this answer:

sigma vs exposure

Yup, it’s a problem all right.

The second block performs a correction for overall exposure errors by dividing the values in a linear representation of the test image by the mean value for that image. It works perfectly.

The third block takes that idea and extends it. It generates a low-passed correction image by passing a 400×400 constant-value kernel over the test image, then corrects the test image by dividing each pixel in it by the correponding pixel in the correction image. Here’s the result of that operation for a group of ten differently-exposed images:

sigma corrected for exposure

OK, on to the real testing.

The Last Word

← Sharpness testing, part 3 Sharpness testing, part 5 →

Leave a Reply Cancel reply

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

July 2022
S M T W T F S
 12
3456789
10111213141516
17181920212223
24252627282930
31  
« Jun    

Articles

  • About
    • Patents and papers about color
    • Who am I?
  • Good 35-70 MF lens
  • 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

  • pieter kers on You’re an old photographer if you can remember…
  • George Simian on You’re an old photographer if you can remember…
  • Christopher Thorpe on You’re an old photographer if you can remember…
  • Eric Brody on You’re an old photographer if you can remember…
  • Christer Almqvist on You’re an old photographer if you can remember…
  • Mike Nelson Pedde on You’re an old photographer if you can remember…
  • Alan on What’s the focal length of the Leica Q2 lens?
  • JimK on What’s the focal length of the Leica Q2 lens?
  • Jerry on What’s the focal length of the Leica Q2 lens?
  • JimK on Q2 Monochrom vs GFX 100S

Archives

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

Unless otherwise noted, all images copyright Jim Kasson.