• 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 / The Last Word / Sharpness testing

Sharpness testing

November 2, 2013 JimK Leave a Comment

While working with the firehouse pictures, I’ve come to the conclusion that some of them – maybe even most of them – aren’t as sharp as I’d like them to be, even with flat subjects. I’m not sure what the problem is, or even that there’s only one problem, but my current suspects are:

  • Mirror slap
  • Shutter vibration
  • Diffraction
  • Focusing accuracy

I don’t think that overall lens quality is the issue, since I’m seeing the effects with two lenses of good reputation (I haven’t tested either). Both are macro lenses, and are being used away from the ends of their focusing range, so that’s probably not the problem.

I’ve come to the conclusion that I need to do some testing. I need to create a target, make images of it under controlled circumstances that are similar to those I find in the firehouse, and analyze the results. There are enough variables here that I’m worried that a simple visual analysis, while necessary to tie the target images back to the firehouse ones, won’t be sufficient. I want numbers. With numbers, I’ll be able to sort out statistical variations, which affect all the variables except diffraction. I’ll also be able to find the places where the differences really matter.

Here’s a method that might work.

  1. Create a target image, to be printed out at 13.33×20 inches (4800×7200 pixels at 360 ppi, or 9600×14400 pixels at 720 ppi), which matches the aspect ratio of the full-frame cameras I’m using on this project, and is representative of the size of the subject area that I’m including in the firehouse pictures. I’m thinking that the target should probably be binary, that is, have only pure black and pure white values.
  2. Photograph the target, making changes in shutter speed, live view use, mirror lockup, lens choice, aperture, focusing method, etc.
  3. Bring the images into Lightroom and give them the same basic raw development I’m giving the actual photographs.
  4. Export them from Lightroom as (probably monochromatic) TIFFs. Bring the images into Matlab, subtract out low frequency data that could be caused by lens coverage issues or uneven lighting, and compute the statistics of what’s left.

I would expect the standard deviation to be the most useful measure of unsharpness. To the degree that the image is perfectly sharp, all the pixels will have one of two values. Unsharpness caused by any of the above causes should result in pixels assuming intermediate values, thus lowering the standard deviation.

Sound like a plan? It does to me.

Now, what should the test image look like? One possibility is a simple checkerboard. There are a couple of problems with that. First, the pattern will beat with the Bayer array in the camera, producing false color and moiré effects. Those may or not adversely affect the statistics, so that’s not a fatal flaw. Also, we need to remember that any target capable of telling whether the camera is producing the sharpest image possible will have high enough spatial frequencies to show Bayer sampling error and aliasing, at least in those cameras without optical low-pass filters. The big problem with a checkerboard is that it won’t work well over a large range of sharpness. If the resolution of the camera in the test configuration is well below the pitch of the checkerboard, the standard deviation will be very low, and small changes in sharpness won’t result in appreciable differences in the numbers. Conversely, if the resolution of the camera in the test configuration is well above the pitch of the checkerboard, the standard deviation will be very high, and small changes in sharpness won’t result in appreciable differences in the numbers.

Maybe a target that has checkerboard patches at various pitches averaged? That would be better, but the results might be sensitive to alignment. That could be dealt with by making sure that the entire target was in the frame when the test images are created.

A stochastic target is another possibility. That should reduce visible moiré. Whether it would affect the measurements is less clear.

I think I’ll try the multi-pitch checkerboard and see what happens.

 

The Last Word

← A new series, day 2 Sharpness testing, part 2 →

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

  • 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
  • Ivo de Man 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.