• 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 / Visualizing aberrations — caveats

Visualizing aberrations — caveats

June 23, 2025 JimK 2 Comments

For the past couple of weeks, I’ve been working on a simulator to assist in visualizing the effects of lens aberrations. In the interest of computing speed and programming effort, I’ve had to make a lot of compromises, but I hope it will be useful. I’ll be presenting results soon, but first I’d like to present the quite lengthy list of caveats.

Optical Model Limitations

  1. No phase modeling
    Aberrations are applied to intensity PSFs only. There’s no phase information preserved, so interference effects (e.g., from overlapping Airy rings) are lost.
  2. Scalar PSF model
    No polarization, vector diffraction, or wavelength-dependent transmission effects are modeled.
  3. Monochromatic PSFs per color plane
    Only 3 broad channels (RGB) are used, with no integration over continuous spectra or precise spectral sampling. This reduces fidelity in chromatic aberration and diffraction modeling.
  4. PSF is precomputed per normalized radius and angle
    This assumes symmetry about the optical axis, which may not hold for decentered or tilted elements.

Sampling & Spatial Resolution Limitations

  1. Pixel-based PSF convolution
    The image is blurred at the resolution of the pixel grid, which limits simulation fidelity for high-frequency detail and introduces spatial quantization.
  2. No sub-pixel positioning or resampling
    All computations assume tile-aligned, pixel-centered PSFs — motion blur, field tilt, and image shift artifacts at sub-pixel scale are not captured.
  3. No sensor sampling model (e.g., Bayer CFA)
    I’m applying PSFs to RGB images, which assumes a perfect full-color sensor. This omits color aliasing, demosaicing artifacts, and sensor-level spatial interactions.

Computation & Performance Tradeoffs

  1. Tiled approximation of radial PSF
    For speed, I’m discretizing space into blocks. Artifacts can arise at tile boundaries, and smooth spatial transitions are approximated.
  2. Truncated PSFs
    The PSF kernels are finite (e.g., 21×21) and implicitly windowed, which ignores long-range blur tails.
  3. No frequency-domain simulation
    All convolution is done spatially. More accurate diffraction simulation might use Fourier optics, especially for large or complex apertures.

Sensor & System-Level Omissions

  1. No vignetting or transmission rolloff
    All tiles are equally weighted, ignoring geometric or optical falloff toward the corners of the field.
  2. No sensor noise, quantization, or nonlinearity
    Simulation is clean and idealized — no photon shot noise, ADC quantization, gain non-uniformity, or black-level variation is applied.
  3. No motion blur, rolling shutter, or temporal effects
    The model assumes a single, globally exposed frame with no temporal variation.
  4. No lens distortion (barrel/pincushion/mustache)
    Field mapping is based on angular PSFs but does not include geometric distortion from projection geometry.

The Last Word

← More Than Exposure: Understanding Total Light on the Sensor Visualising lens aberrations — one at a time, Siemens Star →

Comments

  1. Stepan Kana says

    June 25, 2025 at 12:30 pm

    If you can simulate aberrations, can you also unsimulate them – i.e. remove them? Canon does that with their DLO – digital lens optimisation. But sometimes they overshoot. For example, with the 70-300 mm DO lens (the only DO zoom in existence, I think), the CAs (both LaCA and LoCA) are minimal, but there’s something that looks like spherical aberration esp. at close distances (the lens only focuses down to 1.4m). When you use the digital correction in Canon’s software, it seems too eager and amplifies the noise esp. at high ISO.

    Reply
    • JimK says

      June 25, 2025 at 12:56 pm

      It depends. LaCA is not too hard to correct. LoCA is much more difficult. Diffraction is partially correctable by deconvolution, at a cost of introducing some artifacts and increasing noise. Distortion is correctable with a small resolution penalty. Vignetting is correctable with a cost in the signal to noise ratio.

      Reply

Leave a Reply Cancel reply

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

July 2025
S M T W T F S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Jun    

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

  • Eugene on Don’t fixate on the bad stuff
  • Jonby on How focus-bracketing systems work
  • JimK on Of fidelity, photography, audio, and wine
  • JimK on Of fidelity, photography, audio, and wine
  • AVN on Of fidelity, photography, audio, and wine
  • Markus on In photography, and in life, work and joy can, and should, coexist
  • JimK on Fuji 120/4 GF at 1:1 with tubes — visuals
  • Christopher Roberton on Fuji 120/4 GF at 1:1 with tubes — visuals
  • Pieter Kers on Visualising lens aberrations — one at a time, Siemens Star
  • JimK on Visualizing aberrations — caveats

Archives

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

Unless otherwise noted, all images copyright Jim Kasson.