BookNotesSlidesP-sets Syllabusdraft · v0.2.49.1
◀▲⌂▶
💬Comments welcome. To leave a note, select any text and click the note / highlight button that pops up — or open the panel with the tab at the top-right (‹). Notes are visible only inside our private review group.

22.1 Aberrations and optical challenges⧉

The thin lens of FUNDAMENTALS is simple: feed it a point of light and it gives you back a point. Every real lens disappoints that promise, and it does so in a number of characteristic ways. This part studies those failures: how they arise, how lens design reduces them, and how computation corrects what remains.

The organizing fact is simple. The thin lens is right only because it keeps just the first term of everything. Snell's law of refraction, $n_1\sin\theta_1 = n_2\sin\theta_2$, is non-linear, but for small angles $\sin\theta \approx \theta$ and it goes linear; that linearization is what makes a single focal length $f$ and the clean equation $1/f = 1/u + 1/v$ work. Restore the next term of the expansion,

$$ \sin\theta \;\approx\; \theta - \frac{\theta^3}{6}, $$

and the cubic correction means rays through the edge of the aperture no longer land exactly where the central rays do. Let the refractive index depend on wavelength, $n(\lambda)$, a property called dispersion, and red and blue focus in different places. Add that real glass has thickness, real lenses have many surfaces, and real barrels have mounts, dust, and air gaps, and you have the full set of challenges below. Every one of them is geometry or physics the thin lens chose to ignore; manufacturing defects such as decentering can add further errors to these nominal-design limitations.

A piece of luck: the next term is cubic, not quadratic. Because $\sin\theta$ is an odd function, its Taylor series contains only odd powers (there is no $\theta^2$ term), so the first error in $\sin\theta\approx\theta$ is the cubic $\theta^3/6$, and likewise $\tan\theta\approx\theta$ errs only at order $\theta^3$. That single fact is why paraxial optics is so much better than it has any right to be: the linear model is accurate effectively to second order, not only first, with error that stays tiny over a surprisingly wide range of angles before the cubic term becomes significant (Figure 22.1.1). The flip side is that when it does break, it breaks as $\theta^3$. Those third-order terms are exactly the five so-called Seidel aberrations that organize this chapter.

fig-small-angle
Figure 22.1.1. How good is the paraxial approximation? Left: the linear reference θ against sin θ and tan θ, which coincide near the origin and peel away. Right: the relative error of each linear approximation, with the angles where it passes 1% and 10%. sin θ ≈ θ holds under 1% to about 14° and under 10% to about 45°; tan θ ≈ θ is looser. The point: because sin and tan are odd, the first correction is the cubic θ³, so the error grows only as θ². Paraxial optics is accurate well past where intuition expects. Paraxial optics also linearizes cos θ ≈ 1, but cos is even, so its error is quadratic ($1-\cos\theta \approx \theta^2/2$) rather than cubic; cos barely enters the imaging equations, though, which is why it isn't one of the two curves plotted here.
fig-thin-lens-vs-real
Figure 22.1.2. The convenient lie and its repair bill. Left: the ideal thin lens, where every ray from the object point converges to a single sharp image point, the picture FUNDAMENTALS drew. Right: the same point through a real single element, where marginal rays cross the axis early, off-axis rays smear, colors separate, and a fan of rays lands as a fuzzy patch instead of a point. The gap between the two panels is the subject of this entire part.

You can see the breakdown directly (Figure 22.1.3): trace a fan of parallel rays through a single lens in two ways: once with exact Snell refraction at the curved surface, and once with the paraxial thin-lens model that sends every ray through one focal point. Stopped down, the two are indistinguishable; opened up, the real marginal rays bend too hard and cross the axis short of the paraxial focus, and the single focus dissolves into a smear. The longitudinal gap between the rim focus and the paraxial focus is spherical aberration measured directly (the cubic term made visible), and you can shrink it by stopping down or raising the index, exactly the levers a real lens uses.

fig-paraxial-vs-snell
Figure 22.1.3. One lens, traced two ways. Parallel rays through a single plano-convex element: solid rays refracted by the exact Snell's law at the curved surface, dashed rays following the paraxial (thin-lens) idealization that bends every parallel ray through the one focal point F. Near the axis they agree; the real marginal rays cross the axis short of F, and the longitudinal gap is spherical aberration, the leading cubic term the linearization dropped. Open the aperture to grow it; raise the index or stop down to shrink it.

22.1.1 Taxonomy of challenges⧉

An ideal thin lens is summarized by one power or focal length. A physical singlet already has two surface curvatures, a thickness, and a glass choice; fixing its power still leaves some freedom to bend its shape. But a photograph demands that the lens satisfy many constraints at once: bring every field point to focus, at every wavelength, across the whole aperture, onto a flat sensor, with no stray light and no geometric warp. Those limited degrees of freedom cannot generally meet all these demands, which is the deep reason a real photographic lens is a stack of six, ten, or twenty elements (the subject of Chapter 22.5, A short bestiary of classic designs). The defects sort into a few families:

A useful way to keep them straight is by what they do to the light. Most aberrations misplace energy: they take rays that should have met at a point and spread them into a blur, so they cost sharpness and you cannot perfectly undo them after the fact. Distortion is the exception: it keeps every point sharp and merely puts it in the wrong place, which is why it is the one defect that software corrects almost perfectly. Vignetting loses energy unevenly across the frame. Flare adds energy where it does not belong. We meet them in roughly that order. Throughout, the look of each defect, the spot it paints on the sensor, its point-spread function (PSF), the lens's answer to a single point of light, is summarized in the part's master figure.

fig-seidel-aberrations
Figure 22.1.4. The five monochromatic (Seidel) aberrations side by side, spherical, coma, astigmatism, field curvature, and distortion, each shown as a ray diagram together with the blur signature it paints on a star or a grid. The reference figure for the whole part; later chapters return to it. (Chromatic aberration, a separate family, is shown in Figure 22.1.8.)

22.1.2 Spherical aberration⧉

What it is. In a typical under-corrected positive spherical lens, rays that pass through the edge of the aperture are bent too strongly and cross the axis nearer the lens than rays through the center. There is no single focal plane: the marginal rays focus short, the paraxial rays focus long, and in between they form a waist of least confusion. This is the most direct consequence of keeping the cubic $\theta^3$ term. The sign can reverse in other prescriptions; the defining feature is the dependence of focus on pupil radius.

What it looks like. A soft, low-contrast image with a glowing halo around bright points and highlights: the sharp core sits on a luminous skirt of the mis-focused marginal rays. It is worst wide open, because that is when the aperture admits the outer rays at all, and it visibly cleans up as you stop down, which masks the offending edge of the lens. It also shows up as focus shift: the plane of best focus moves as you change aperture.

Why. The spherical surface, prized because any two pieces of glass ground against each other tend naturally toward a sphere, is simply the wrong shape for perfect focus; the correct surface is an asphere. The cure, an aspheric element or a split of optical power across several elements, is explained in Chapter 22.2, Aberrations correction. Some lenses leave it in on purpose: the dreamy soft-focus portrait look is under-corrected spherical aberration (see Chapter 22.7, Special optics).

fig-spherical-aberration
Figure 22.1.5. Spherical aberration. A fan of rays from an on-axis point: those through the rim of the aperture (marginal rays) cross the axis closer to the lens than those through the center (paraxial rays), so there is no single focus, only a "circle of least confusion." The resulting image of a bright point is a sharp core wrapped in a soft glowing halo, worst wide open and tightened by stopping down.
fig-aberration-explorer
Figure 22.1.6. A single strong lens element and a bundle of parallel rays arriving from infinity at a chosen field angle, traced exactly by Snell's law. On-axis, the marginal rays cross the axis short of the paraxial rays, so the point images as a smear, not a point (spherical aberration); with several wavelengths the differing index per color spreads the foci and paints a chromatic fringe. Tilt the beam off-axis and the spot flares into the one-sided comet of coma.

22.1.3 Coma⧉

What it is. Coma is the off-axis cousin of spherical aberration: for a point that is not on the optical axis, the rays through different zones of the aperture image it at different magnifications, so instead of a clean point they pile up into a one-sided, comet-shaped smear (the name is from coma, a comet's tail). The blur is asymmetric. It has a bright head and a flaring tail pointing radially, toward or away from the center of the frame, which is what makes it so recognisable and so ugly.

What it looks like. Stars, streetlights, and specular highlights toward the edges and corners of the frame grow little wings or tails; a field of night-sky stars that are crisp dots in the center turn into tiny comets at the margins. Like spherical aberration it is worst wide open and improves on stopping down.

Why. It is one of the five Seidel terms, an inevitable consequence of the cubic expansion for off-axis points. It belongs to the family of odd aberrations that cancel by symmetry at unit-magnification symmetric conjugates in a system symmetric about the aperture stop. At infinity focus the cancellation is not automatic, but approximate symmetry remains a useful design starting point (the double-Gauss design, discussed in Chapter 22.5, A short bestiary of classic designs), which is exactly why symmetric designs dominate fast normal lenses. Full treatment of the cure is in Chapter 22.2, Aberrations correction.

fig-coma
Figure 22.1.7. Comatic aberration, in 2-D. An off-axis bundle of parallel rays meets the lens; the chief ray through the center lands at the ideal image height, but rays through successive annular zones of the aperture cross the image plane at progressively different heights, piling the point up into a one-sided comet: a bright head at the ideal spot and a flaring tail pointing radially. Worst wide open; canceled by symmetry about the stop.

22.1.4 Astigmatism⧉

What it is. Off-axis refraction can give different focusing powers in the meridional and sagittal ray sections, even after coma is corrected. This is not caused simply by an elliptical-looking aperture: detail oriented radially (the sagittal direction, pointing toward the frame center) and detail oriented tangentially (perpendicular to it) come to focus at two different depths. There is no single plane where both are sharp: at one focus the radial spokes of a wheel snap in while the rim blurs, and a little farther along it reverses. An off-axis point never collapses to a dot. It stretches into a short line that swings through ninety degrees as you rack focus.

What it looks like. You cannot get radial and tangential fine detail crisp at the same field position at once: a smear that changes orientation as you refocus, worst toward the corners. Together with field curvature (next), it is why uncorrected simple lenses are mushy off-center even when the middle is sharp.

Why. The third of the five Seidel terms, again a consequence of the cubic expansion off-axis. Its cure (balancing element powers and the placement of the stop, and trading it off against field curvature on the Petzval surface) is in Chapter 22.2, Aberrations correction.

22.1.5 Field curvature⧉

What it is. Even when every point is individually in sharp focus, the surface on which those sharp points lie is not flat. It is a bowl, the Petzval surface, curving toward or away from the lens. But the sensor is flat. So if you focus to make the center crisp, the corners fall off the curved focal surface and go soft; refocus for sharp corners and the center softens.

What it looks like. Center-sharp, corner-soft (or the reverse) in a way that no single focus setting fixes it. The softness is built into the geometry, not into where you put the focus ring. It is the bane of flat subjects like document copying, brick walls, and star fields, and it is why a "flat-field" lens is a prized and specially corrected thing.

Why. The fourth Seidel aberration, governed by the Petzval sum of the elements' powers and glasses. The cure is a dedicated field-flattener element near the focal plane, treated in Chapter 22.2, Aberrations correction.

22.1.6 Chromatic aberration⧉

What it is. Glass bends blue light more than red because the refractive index falls with wavelength, a property called dispersion. So a lens has, in effect, a slightly shorter focal length for blue than for red, and the colors do not share a focus. The strength of a glass's dispersion is summarized by its Abbe number,

$$ V_d \;=\; \frac{n_d - 1}{n_F - n_C}, $$

a ratio of the mid-spectrum refraction to the spread between blue ($F$) and red ($C$) lines; a high $V_d$ means low dispersion. Chromatic aberration (CA) comes in two flavors:

What it looks like. Axial CA gives color halos around high-contrast edges, classically a green-to-magenta glow that flips sign as you rack through focus, and it is a big contributor to the purple fringing you see on backlit branches and chrome trim (part CA, part sensor blooming and flare). Lateral CA gives colored fringes that grow toward the corners: a red edge on one side of a dark line and a blue edge on the other, strongest at the frame's margins and absent at the center.

Why. Purely the wavelength dependence $n(\lambda)$; it would vanish in a single-color world. The classic cure is the achromatic doublet, a low-dispersion crown element paired with a high-dispersion flint so the color errors cancel at two wavelengths, and, for the demanding cases, apochromats with special low-dispersion glasses. Lateral CA, being a per-color magnification error, is essentially a geometric rescale and is therefore highly correctable in software; axial CA, a genuine per-color blur, is not. The full story of both cures, in glass and in code, is in Chapter 22.2, Aberrations correction.

fig-chromatic-aberration
Figure 22.1.8. Chromatic aberration. Axial (top): red, green, and blue rays from an on-axis point focus at different depths, so no single plane is sharp in all colors, the cause of color halos that flip sign through focus. Lateral (bottom): the colors focus in one plane but at different magnifications, so an off-axis edge splits into colored fringes that widen toward the corners. Both stem from the index varying with wavelength, $n(\lambda)$.
fig-lateral-chromatic
Figure 22.1.9. Lateral (transverse) chromatic aberration, in 2-D. An off-axis white bundle is brought to the sensor plane, but because magnification varies with wavelength the red, green, and blue images land at different heights, a radial red-to-blue split that is zero at the center and grows toward the corners. Being a per-channel magnification error rather than a depth error, it is essentially a geometric rescale, which is why software corrects it almost perfectly (unlike axial CA).

22.1.7 Radial distortion⧉

What it is. Distortion is the odd one out among aberrations: it does not blur anything. Every point stays perfectly sharp; the magnification simply varies with how far the point is from the center of the frame, so points land at the wrong radius. When magnification falls toward the edge, straight lines bow outward, barrel distortion (think of a barrel's bulging sides), typical of wide-angle lenses. When magnification grows toward the edge, lines bow inward, pincushion distortion, typical of telephotos. Zooms often do both at different focal lengths.

What it looks like. Straight edges that should be straight, such as the horizon, a building, a door frame, or the sides of the frame itself, curve gently. The effect is strongest near the frame edges and zero at the center; a square grid is the cleanest way to see it.

Why. A Seidel term, but a peculiar one: because it merely relocates sharp points along the radius rather than spreading their energy, it is the single most software-correctable defect in optics. A measured radial warp, a per-lens map of true radius to imaged radius, straightens the lines almost perfectly, which is why nearly every camera and phone ships with built-in distortion correction in the image pipeline. (It is also why a fisheye's dramatic barrel is treated not as an aberration but as an intended projection; see Chapter 22.7, Special optics.) The correction itself is detailed in Chapter 22.2, Aberrations correction.

The standard parametric models. The radial remapping is captured, for both lens-profile correction and camera calibration, by a low-order polynomial in the radius. Writing $r_u$ for the undistorted radius and $r_d$ for the distorted radius (both measured from the distortion center), the Brown–Conrady model Brown 1966 (Brown–Conrady) expands the distorted radius forward as

$$ r_d \;=\; r_u\,\bigl(1 + k_1 r_u^2 + k_2 r_u^4 + k_3 r_u^6\bigr), $$

with optional tangential (decentring) terms $p_1, p_2$ for elements mounted slightly off-axis; $k_1<0$ gives barrel, $k_1>0$ pincushion. An alternative that inverts more cleanly, and that often captures even strong wide-angle distortion with a single parameter, is the division model (Fitzgibbon) Fitzgibbon 2001,

$$ r_u \;=\; \frac{r_d}{1 + \lambda_1 r_d^2 + \lambda_2 r_d^4 + \cdots}, $$

which is why it is popular in calibration pipelines. Either way the correction is a one-dimensional curve fit per lens; the mechanics live in Chapter 22.2, Aberrations correction.

fig-distortion-barrel-pincushion
Figure 22.1.10. Radial distortion on a square grid. Barrel (left): magnification rises toward the edge, so lines bow outward, the wide-angle signature. Pincushion (right): magnification falls toward the edge, so lines bow inward, the telephoto signature. Corrected (center): a measured radial warp restores straight lines. Unlike other aberrations, distortion moves no light energy: points stay sharp, just mis-placed, which is why software undoes it almost perfectly.

22.1.8 Wave effects and diffraction⧉

What it is. Everything above treated light as rays. But light is a wave, and a wave passing through an aperture diffracts. It spreads. Even a geometrically perfect, aberration-free lens cannot focus a point to a point; the best it can do is a small bright disc ringed by faint haloes, the Airy pattern, whose angular scale is set by the wavelength $\lambda$ and the aperture diameter $D$:

$$ \theta_{\mathrm{first\ dark}} \;\approx\; 1.22\frac{\lambda}{D}. $$

This is a floor, not a defect of any particular lens. It is the diffraction limit. A bigger aperture (larger $D$) diffracts less; a smaller one diffracts more.

The pattern is the aperture's Fourier transform. More precisely, the diffraction pattern a point source makes is the Fourier transform of the aperture (its squared magnitude, to be precise; this is the point-spread function of a diffraction-limited lens). A round hole transforms into the Airy disc and its concentric rings; and because a wider function has a narrower transform, a bigger aperture makes a smaller spot, which is exactly the $\theta \approx \lambda/D$ limit, now read as a statement about Fourier transforms. The same fact explains sunstars, the radiating spikes around a bright streetlight or the sun in a stopped-down frame: they are the Fourier transform of the polygonal opening the diaphragm blades form, each straight blade-edge throwing a perpendicular streak of light, so an iris of $n$ blades makes a star with $n$ points when $n$ is even and $2n$ when $n$ is odd. This is the same Fourier transform that runs through Chapter 6.3, Linearity, Fourier, aliasing and deblurring. There it diagonalizes blur; here the lens computes one optically, in the time it takes light to cross the aperture.

What it looks like. Counterintuitively, stopping down, which cures the geometric aberrations above, eventually softens the whole image again, because the shrinking aperture raises the diffraction floor. Many lenses have a sharpness optimum below maximum aperture, with the location depending on field position, focus, wavelength, and the chosen metric, where the aberrations have mostly faded but diffraction has not yet taken over; close down further (a high f-number) and the picture goes uniformly mushy. Diffraction also caps the finest detail a sensor of given pixel size can usefully resolve.

Why. It comes from the wave nature of light, not a flaw in the glass, so it is a limit rather than a correctable defect. It connects forward to the part's recurring theme: because the smallest blur a lens can make is the diffraction spot, the PSF is never a true point, and engineering or inverting that PSF, by deconvolution, by coded apertures and wavefront coding, is the computational side of the story (forward-referenced to Chapter 22.2, Aberrations correction and the Advanced part). The full optics of the Airy pattern and the resolution limit belong to the Fourier-optics treatment cited below; here we only flag that the floor exists.

22.1.9 Vignetting⧉

What it is. The image gets darker toward the corners. Two distinct mechanisms share the name. First, a geometric effect in the simple rectilinear model: light reaching the corner of the frame arrives at a steep angle and is dimmed by a factor of $\cos^4\theta$ (the natural or $\cos^4$ falloff introduced in FUNDAMENTALS, from the tilt of the pupil, the longer path, and the foreshortened aperture). Second, optical vignetting (sometimes mechanical vignetting): off-axis, the lens barrel and the front and rear elements partially block the aperture, clipping the bundle of light that would otherwise reach the corner.

What it looks like. A gradual darkening from a bright center to dim corners, strongest wide open for the optical component and largely independent of aperture for the $\cos^4$ component. Optical vignetting also reshapes the out-of-focus highlights near the edges into cat's-eye or lemon shapes (the clipped pupil), a bokeh effect developed in Chapter 23.1, Bokeh, focus stacking, and depth-of-field control. Stopping down shrinks the bundle enough to clear the obstructions, so corner brightness (and round bokeh) return.

Why. The $\cos^4$ law assumes the simple pupil and projection model; pupil distortion and lens design can change the falloff. The optical part is the finite size of the barrel and elements clipping the entrance pupil off-axis. Both produce a smooth radial brightness map, which is exactly what makes vignetting easy to undo: a measured radial gain map in the image pipeline lifts the corners back to match the center (at some cost in corner noise). That correction, together with the distinction from sensor- and microlens-induced falloff, is in Chapter 22.2, Aberrations correction.

fig-cos4-vignetting
Figure 22.1.11. Vignetting. Natural ($\cos^4$) falloff (left): even a perfect lens dims the corners by $\cos^4\theta$ because off-axis rays arrive tilted, travel farther, and see a foreshortened aperture. Optical vignetting (center): off-axis, the barrel and front/rear elements clip the light bundle, darkening corners further and squeezing edge highlights into cat's-eye shapes; it eases on stopping down. Corrected (right): a measured radial gain map restores even brightness across the frame.
fig-vignetting
Figure 22.1.12. Vignetting, ray-traced on the usual Cooke triplet (interactive). A bundle of parallel rays enters at a field angle and must clear every element rim and the aperture stop; on axis the whole bundle passes, but off axis the oblique cone is clipped fore-and-aft into a shrinking cat's-eye, so fewer rays reach the corner: optical (occlusion) vignetting. On top of that sits the aperture-independent $\cos^4\theta$ law: an off-axis image patch is farther from the exit pupil and sees it foreshortened and tilted, and is lit by rays arriving obliquely: three cosines plus one more for the inverse-square falloff. Set the aperture and watch the occlusion melt as you stop down (the clipped marginal rays are gone anyway), leaving only $\cos^4$, which is why vignetting cleans up a couple of stops down. Choose which falloff the 2-D frame shows: none, $\cos^4$ only, or $\cos^4$ combined with occlusion. The illumination-versus-field-angle plot overlays all three so the two mechanisms can be read apart. Interactive: pick the f-number and field angle to see which rays the barrel and stop clip, with the relative-illumination curve and a 2-D frame for no vignetting, $\cos^4$ only, or $\cos^4$ + occlusion.

22.1.10 Flare and coating⧉

What it is. Aberrations are wanted rays landing in the wrong place; flare is unwanted light reaching the sensor at all. At every air–glass surface a few percent of the light reflects instead of transmitting: about 4% per uncoated surface, from the Fresnel reflectance $R = \big((n_1-n_2)/(n_1+n_2)\big)^2$. In a lens with a dozen surfaces those stray reflections bounce around and arrive as junk light. A ray that reflects twice can refocus into a discrete, often aperture-shaped bright blob, called a ghost, typically strung along a line from a strong light source through the frame center. Many faint scatters and reflections sum into veiling glare, a low-frequency wash that lifts the blacks and crushes contrast.

What it looks like. Shooting into the sun or with a bright source just outside the frame: a chain of colored polygonal ghosts marching across the picture, streaks and stars, and an overall milky loss of contrast in the shadows. The more elements a lens has, the worse it would be. $N$ surfaces give $O(N^2)$ pairs of surfaces that can inter-reflect, one cost of the many-element designs the rest of the part relies on.

Why. Fresnel reflection at each interface. The thing that made many-element lenses practical is the anti-reflection coating: a thin transparent film with quarter-wave optical thickness at a design wavelength, $n_{\mathrm{film}}t=\lambda_0/4$ at normal incidence, whose two surface reflections interfere destructively and nearly cancel the reflection over a band, the faint colored sheen on a modern lens. Coatings drop per-surface reflection from ~4% toward a few tenths of a percent. The numbers compound. Through twelve uncoated surfaces the image keeps $0.96^{12}\approx 61\%$ of the light; at 0.5% per surface it keeps $0.995^{12}\approx 94\%$. A ghost needs two reflections, so its strength goes as the square of the reflectance: $0.04^2=1.6\times10^{-3}$ of the source uncoated against $0.005^2=2.5\times10^{-5}$ coated, 64 times weaker for each pair of surfaces. Alongside coatings, lens hoods and internal baffles keep stray off-axis light from entering in the first place. This chapter only names flare as one of the optical challenges; the physics of thin-film coatings, hoods, baffles, and computational deflare is the subject of Chapter 22.10, Glare suppression.

fig-lens-flare-ghosting
Figure 22.1.13. Flare and ghosting. A bright source sends most of its light to the sharp image, but at each air–glass surface ~4% reflects (Fresnel). A ray that reflects twice refocuses as a ghost, a discrete, aperture-shaped blob usually strung along the line from the source through the frame center, while countless weak scatters sum into a contrast-killing veiling glare. Anti-reflection coatings cut the per-surface reflection toward a few tenths of a percent; the cures are detailed in Chapter 22.10, Glare suppression.

You can watch the ghosts form by tracing a single ray through a real lens (Figure 22.1.14).

fig-lens-flare
Figure 22.1.14. Flare, traced (interactive). A full recursive ray trace of the Cooke triplet from the optics ray-tracer: at every air–glass surface the ray both refracts (transmits) and reflects (Fresnel, ~4% uncoated, angle-dependent), and every branch is followed until it leaves the lens or falls below a brightness floor. Set where the ray meets the first element and its direction; the sensor at right marks every place light lands. The bright spot is the real image (the all-refraction path); the orange spots are ghosts from even numbers of internal reflections, strung along the axis toward the source. Raise the reflection limit to see higher-order ghosts, and toggle an anti-reflection coating (0.3% per surface) to watch them nearly vanish, the whole point of coating a lens. Interactive: aim one ray into the triplet and follow its reflected and refracted branches to every landing point on the sensor, with and without an AR coating.

Seen quantitatively, the coating's quarter-wave trick is the same thin-film interference that colors a soap bubble (Chapter 2.1, Light and optics, Figure 2.1.33), now turned to the opposite use: instead of reinforcing a color it is tuned to cancel the reflection. Two interactive views make the mechanism concrete. The first plots the reflectance of bare, single-coated, and double-coated glass across the whole visible band and across the angle of incidence at once (Figure 22.1.15): a single quarter-wave film of magnesium fluoride cuts the ~4% bare-glass reflection to about 1% near its design wavelength, and a matched double layer (a low index over a higher one) drives it almost to zero across a band, while both climb back toward grazing incidence. The second rebuilds the soap-bubble wave picture as a coating on glass (Figure 22.1.16): five waves strike the surface and each reflected wave shrinks as you set the film thicknesses, nearly vanishing where the film's two surface reflections cancel, with the color of the leftover reflection shown as a swatch, the faint sheen of a coated lens.

fig-coating-reflectance
Figure 22.1.15. Anti-reflection coatings, over wavelength and angle, interactive. Bare crown glass reflects about 4% per face; a single quarter-wave film (magnesium fluoride, $n = 1.38$) makes its two surface reflections interfere destructively and cuts that to ~1% near the design wavelength; a matched double layer (low index over high) cancels it almost completely across the visible band. Choose the coating and drive the angle and wavelength. An animated wave picture shows, for three wavelengths at once, each interface's individual reflection (faint) merging into their interference sum (bold), adding up for bare glass, largely canceling for a single coating, and nearly vanishing for the matched double coating, and three plots give the exact thin-film reflectance (characteristic-matrix method, unpolarized): versus wavelength at the chosen angle, versus angle at the chosen wavelength (reflection always climbs toward grazing), and a 2-D map over both with a crosshair at the current setting. Interactive: pick no / single / double coating and sweep angle and wavelength; read the reflectance as a wave amplitude, as curves versus wavelength and versus angle, and as a 2-D map over both.
fig-coating-thin-film
Figure 22.1.16. An anti-reflection coating, wave by wave, interactive. The thin-film picture of the soap bubble, rebuilt as a coating on glass ($n_s = 1.52$). Five waves across the visible band strike the surface at the chosen angle; each reflected wave is shorter than its incident one by the reflectance. Bare glass reflects ~4% at every wave; add a single quarter-wave film or a matched double layer and set the two thicknesses, and the reflected waves shrink toward nothing where the film's surface reflections cancel. Each reflected amplitude is $\\sqrt{R(\\lambda)}$ from the exact characteristic-matrix result; a plot gives the reflected light across the whole band (with bare glass as a dashed reference), and a swatch shows the color of the leftover reflection. Interactive: choose no / single / double coating, set the outer and inner film thicknesses, and watch five reflected waves shrink while the reflected-light-per-wavelength plot dips, reaching near zero for a matched double layer.

Modern lenses push past the quarter-wave film, which has two limits: its ideal single-layer index is $\sqrt{n_\text{glass}}\approx 1.23$, below the index of most conventional dense coating materials, and a fixed film cancels only near one wavelength and one angle, so reflections return at the steep angles where ghosts are worst. Two families of nano-coating get around both. The first builds a film riddled with nanometer voids or hollow silica spheres, so its effective index is a blend of glass and air, low enough (around 1.1) to be the matching layer no bulk material provides: Nikon's Nano Crystal Coat uses gaps between nanoparticles, and Canon's Air Sphere Coating incorporates air in a silica-based film. Sony's Nano AR is another nanostructured anti-reflection technology; the trade names do not imply identical material or fabrication recipes. The second gives up the flat interface: a dense array of subwavelength wedges or cones a few hundred nanometers tall makes the index climb gradually from air to glass, so there is almost no boundary to reflect from, over a wide band and a wide range of angles. This is the moth-eye structure of Canon's SWC, copied from the moth's cornea, with performance depending on wavelength, angle, and the particular surface design. Both are subwavelength structures, which they share with metalenses and metasurfaces, but they only grade or interfere the index and impose no engineered phase profile: they are effective-medium anti-reflection, not the wavefront-shaping of metaoptics. Making them is the hard part: fabrication routes include grown nanostructures, nanoimprinting, and nanoparticle or porous films. Their uniformity and durability on curved optics are part of the design problem; these are families of processes, not a single recipe shared by all brands. Their details, and computational deflare, are in Chapter 22.10, Glare suppression.


With the bestiary in hand, the rest of the part divides cleanly. The defects you have just met are met in turn by more glass (the compound designs of Chapter 22.5, A short bestiary of classic designs, each element added to cancel a specific term) found by the optimization of Chapter 22.4, Lens optimization, and finally by computation, which calibrates and corrects whatever the glass leaves behind. The analytic heart, where each aberration's cause and cure is developed in full (the Seidel sum, the achromat condition, lens-profile correction, and deconvolution by the measured PSF), is Chapter 22.2, Aberrations correction. Keep this catalog beside it: it is the list of diseases that the rest of the part exists to treat.