• 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 / Assumptions behind slanted edge testing

Assumptions behind slanted edge testing

November 5, 2017 JimK 4 Comments

I do a lot of slanted edge MTF testing. It’s a very powerful technique. I use Imatest, MTFMapper, and occasionally Peter Burns’ Matlab code. Recently, on DPR, Frans van den Bergh posted a list of the assumptions behind the method. If you are interested in that technology, it’s worth a read. If not, this is going to be deep wading, and it’s probably best to past this post by.

Frans has allowed me to edit his DPR post for clarity and post it here as a guest post. All credit to him, and if there’s an error, it’s probably mine.

Frans’ assumptions:

1. The point spread function (PSF) is fixed over the region of interest (ROI) of the slanted edge (SE) method. We can improve our chances by keeping the ROI as small as possible (i.e., we limit the length of the ROI along the edge), but we have to balance this against noise, and having a long enough edge for oversampling to be effective.

2. The target object edge is actually straight (this is questionable for printed targets).

3. Following from assumptions 1 and 2, the edge intersects each photosite at the exact same angle. Since real-world sensor PSFs are not radially symmetrical, a violation of assumption 3 is similar to a violation of assumption 1 in that we end up averaging over slightly different PSFs along the edge.

4. The lens does not introduce any geometric distortion that would cause the image of the edge to deviate from a straight line. Of course, we can compensate for some curvature by modeling the edge as a curve instead of a straight line, but this runs the risk of violating assumption 3.

5. The angle of the edge with respect to the horizontal sensor axis (in the first quadrant) is such that oversampling is in fact achieved, hence the 5-degree edge angle guideline of the ISO 12233 standard. My quick-and-dirty version of this constraint would be that the dot product of the edge normal [-sin(theta), cos(theta)] and the photosite center locations [p, q] for all integers p and q must be such that

| |[-sin(theta), cos(theta)] . [p, q]| – 0.5| > d,

where d = 1/8 for 8x oversampling (or 1/4 for 4x oversampling). I have not yet figured out how to enumerate the angles theta for which the above equality does not hold, but some examples include theta in {0, 14.036, 26.565, 45} degrees.

6. The intensity values are linear (or have been converted to a linear representation).

7. The LSF decays rapidly enough in the across-the-edge direction relative to the width ROI so that the line spread function (LSF) is not truncated, or the modulation transfer function (MTF) measured by the SE method will actually be the convolution of the system MTF and sinc(f) (scaled to the ROI width).

8. The intensity values are free from clipping and saturation within the ROI.

9. The illumination within the ROI is uniform.

10. The edge orientation is estimated with sufficient accuracy. I think some of the earlier papers put the allowable error at 0.5 degrees, but I think that is too generous, and that edge orientation should be estimated to an accuracy of at least 0.1 degrees.

 

Thanks, Frans.

The Last Word

← Nikon D850 AF-S accuracy Nikon 105/1.4 on D850 — LoCA & focus shift →

Comments

  1. Brandon Dube says

    November 5, 2017 at 7:33 pm

    This is a nice list of the tall tentpoll gotchas. While not an assumption, another is that the MTF does not have nasty azimuthal minima not well sampled by the one or two edge orientations investigated.

    For example, consider the imatest SFR or ISO 12233 test targets. They align (almost) with (x,y) over the full field of view. Now consider a well aligned lens – it has radial symmetry.

    In the corner of the FoV, we expect there to be some coma, astigmatism, and lateral color. These are oriented along (tan,sag), which are (45,-45) degrees from (x,y). This means that the methodology of imatest or 12233 is completely blind to astigmatism, and does not sample “the worst” MTF coma or lateral color produces.

    If you wish to evaluate a lens’ performance, it is best done with either MTF along (T,S), aligned with the axes, aberrations, and performance of the lens, or the azimuthal average. Sampling (T,S) and (x,y) are equally undersampled, azimuthally, but the samples are more badly chosen along (x,y) in the corners of the FOV. This produces an overestimate of the azimuthal average MTF in the corner, and does not at all produce an estimate of the (T,S) MTF there.

    That is, IMO, no way to test a lens. It is also not a good estimate of the system performance, since the pixel’s worst MTF is also along (45,-45), so the underestimate is of the system performance in that orientation is even more severe.

    Reply
  2. Anton says

    November 6, 2017 at 6:12 am

    For most users, lens testing is relative and not absolute. All of the extra math bs is inconsequential for a user (while important for an OEM) and how does this lens perform with this camera as a system is the answer they are looking for.

    What’s important is consistency in testing so one can know that this lens copy is better than that lens copy or this lens is better than that lens. (resolution and symmetry)

    After a while, one has known good sensors (flat and aligned), known good lenses (aligned) and a consistent process in photographing the test target.

    Reply
    • JimK says

      November 6, 2017 at 7:41 am

      I believe my results for the razor blade target are absolute, modulo the test conditions. Calling Frans’ list “math bs” means that you are not the person for whom I intended his post, and may mean that you are not the person for whom slanted edge testing is appropriate.

      Reply
    • Frans van den Bergh says

      November 9, 2017 at 10:11 pm

      That “math bs” pays the bills, at least 🙂

      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.