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.12 The eye as an optical instrument: vision and its correction⧉

Everything this part has said about cameras also applies to the eye. The instrument reading these words is a lens that forms a real image on a light-sensitive surface, focuses itself, suffers aberrations, and, for most readers past a certain age, needs correction. Close the optics part by turning its whole apparatus on the eye, because two things fall out at once. First, the eye is a useful worked example: many concepts in the part have direct biological counterparts, and naming them makes both the eye and the camera clearer. Second, the corrective optics that hundreds of millions of people wear every day (spectacles, contacts, the lens implanted after cataract surgery) are applied lens design, solving the part's exact problems (defocus, astigmatism, aberration) in a small optical system that most readers directly experience. We build the camera analogy, catalog the four ways the eye falls out of focus and how each is corrected, and then follow the one error that has no simple fix, the age-related loss of focusing, from the bifocal to the electronically tunable autofocus lens.

22.12.1 The eye as a camera⧉

Mapped part by part, the eye resembles a camera closely. The objective, the lens that gathers light and forms the image, is not one element but two in series: the cornea, the transparent front dome, and the crystalline lens behind the iris. The surprise for most people is that the cornea does most of the work: because it is the air-to-tissue interface where the refractive-index jump is largest, the cornea supplies roughly two-thirds of the eye's optical power, and the crystalline lens supplies the rest (and, crucially, the adjustable part). The aperture is the iris, whose central hole, the pupil, opens and closes to control how much light enters, from about f/2.1 wide open in the dark to roughly f/8 constricted in bright light, a range any photographer will recognize as a few stops of automatic exposure control. The sensor is the retina, the layer of photoreceptors lining the back of the eyeball, with its sharp central patch, the fovea, playing the role of the high-resolution center of the frame, except that this sensor is sharp only at its center and the eye must constantly point that center at whatever it is examining. And the autofocus is accommodation: the ring-shaped ciliary muscle squeezes or relaxes, reshaping the soft crystalline lens to change its power and pull the focal point onto the retina as the gaze shifts from far to near (Figure 22.12.1). All of this was introduced anatomically under Chapter 3.2, Perceptual color and trichromatic vision; here we read it as optics.

fig-eye-as-camera
Figure 22.12.1. The eye annotated as a camera. A cross-section of the eyeball with each optical part labeled by its camera counterpart: the cornea and crystalline lens are the objective (the cornea supplies most of the fixed power, the lens the adjustable part); the iris and pupil are the aperture, opening from about f/2.1 in the dark to f/8 in bright light; the retina is the sensor and the fovea its sharp center; and the ciliary muscle reshaping the lens is the autofocus (accommodation). Parallel rays from a distant point are refracted by the cornea and lens to a sharp focus on the fovea, the emmetropic (normal) eye. Every element of the objective/aperture/sensor/autofocus chain built earlier in this part exists, biologically, in the eye.
fig-eye-accommodation
Figure 22.12.2. The eye as an autofocusing camera, ray-traced (interactive). The retina sits a fixed distance behind the lens, so, unlike a camera (which moves its lens to focus), the eye must change the power of its lens to image objects at different distances onto that one fixed plane. That is accommodation: the ciliary muscle squeezes the soft crystalline lens fatter for near objects and relaxes it thin for distant ones, the eye's own autofocus. Drag the subject distance and the lens reshapes so the rays keep converging on the retina; switch accommodation to frozen (a stiff relaxed lens, like the ageing presbyopic eye or a fixed-focus camera) and near objects focus behind the retina and blur. The pupil slider stops the iris from f/2.1 to f/8: a smaller pupil deepens depth of field, so a slightly mis-focused image blurs less, the same aperture-versus-sharpness trade as a camera. (Schematic, not to scale; the accommodation range is capped near the young eye's ~8 D, so the very nearest subjects blur even when the lens tries its hardest, the near point.) Interactive: drag the subject from far to near and watch the lens accommodate; freeze it to see near objects blur, and stop the pupil down to deepen depth of field.

Reading the eye as a lens immediately predicts that it must have the defects every lens in this part has had. It does. The eye has aberrations (spherical aberration, coma, and a touch of chromatic aberration) and so even a perfectly focused, perfectly healthy eye does not image a point as a point but as a small blur, a diffraction-and-aberration-limited point-spread function exactly like the ones from Chapter 22.2, Aberrations correction. The everyday measure of the eye's resolution, visual acuity (the familiar "20/20," meaning you resolve at 20 feet what a normal eye resolves at 20 feet) is a behavioral measure influenced by optics, retinal sampling, neural processing, and the task, the same number a lens designer would quote as the system's resolving power. The entire optical chain this part has built (objective, aperture, sensor, focus mechanism, aberrations, a resolution limit) exists biologically in the eye.

22.12.2 Refractive errors: the eye out of focus⧉

A "normal" (emmetropic) eye lands the image of a distant object exactly on the retina with the lens fully relaxed, and accommodates inward to hold focus as objects approach. A refractive error is simply a mismatch between the eye's optical power and the length of the eyeball, so the image lands somewhere other than on the retina. There are four common ones, and three of them match optical defects already discussed in this part: defocus and astigmatism in the eye (Figure 22.12.3).

Myopia (near-sightedness) is the eye being too powerful for its length: either the cornea and lens bend light too strongly or, more commonly, the eyeball is too long front-to-back. Light from a distant object therefore comes to a focus in front of the retina and is already spreading again by the time it reaches it, so distant objects blur while near ones (whose incoming light is more divergent) can still land correctly. The fix is to remove some power before the eye's own optics: a negative, diverging lens that spreads the incoming light slightly, pushing the focus back onto the retina. (Myopia is now near-epidemic in much of the world, an increase strongly linked to childhood near-work and, in particular, to a lack of bright outdoor light during development, a public-health story riding on a simple optical mismatch.)

Hyperopia (far-sightedness) is the opposite mismatch: the eye is too weak for its length, usually because the eyeball is too short, so the focus falls behind the retina. A young hyperopic eye can often accommodate to drag the focus forward and see clearly anyway, at the cost of constant focusing effort; as that reserve fades, near vision goes first. The fix is to add power with a positive, converging lens that does some of the eye's converging for it.

Astigmatism is this part's astigmatism, living in the eye. Instead of being a clean surface of revolution, the cornea (or sometimes the lens) is shaped more like the side of a rugby ball, toric, with more curvature in one meridian than in the perpendicular one. Different meridians then have different optical power and focus at different distances, so there is no single sharpened plane: vertical and horizontal detail cannot be brought into focus at once, exactly the off-axis astigmatism of Chapter 22.2, Aberrations correction, here present on-axis because the eye's own surface is asymmetric. The fix is a cylindrical lens, which has power in only one meridian and so can add exactly the missing power along the weak axis, oriented to match, which is why an eyeglass prescription specifies not just a power but a cylinder and an axis angle.

Presbyopia is the exception. It is not a mismatch of power and length, but a failure of the focusing mechanism itself. With age the crystalline lens becomes harder and less flexible, and accommodation declines: the eye can no longer add power to focus up close, and the near point recedes until reading material must be held at arm's length and then beyond it. It is near-universal after about age 45, it accumulates on top of whatever other refractive error a person already has, and unlike the other three it cannot be fixed by a single fixed-power lens, because the problem is precisely that one power is no longer enough. Presbyopia is the eye losing its autofocus, and it drives the entire final section.

fig-refractive-errors
Figure 22.12.3. The eye out of focus, and the spectacle lens that fixes it (interactive). A refractive error is a mismatch between the eye's power and the length of the eyeball, so light from a distant object focuses somewhere other than on the retina. Drive the error slider toward myopia (too powerful for its length: focus falls in front of the retina, distant objects blur) or hyperopia (too weak: focus behind the retina). Then dial the corrective lens: a diverging (negative) lens removes power for myopia, a converging (positive) one adds it for hyperopia, and when it exactly cancels the error the focus snaps back onto the retina. Turn on astigmatism and the cornea behaves like two lenses in one, with two meridians focusing at two different depths and the interval of Sturm between them where the image is never a sharp point. A single spherical corrective lens slides both foci together but can never merge them, which is exactly why astigmatism needs a cylindrical lens with a matched axis. The swatch shows what the eye sees. (Schematic, not to scale; the vergence is exaggerated so a few dioptres of error are visible.) Interactive: dial the eye into myopia or hyperopia, add astigmatism, and drop in the corrective lens that pulls the focus back onto the retina.

There is a useful aside that ties straight back to Chapter 2.5, Depth of field: the pinhole effect. Squinting, or looking through an array of tiny holes (so-called pinhole glasses), can improve blur from many refractive errors, because narrowing the effective aperture deepens the depth of field, the very same trade the camera makes when it stops down. A smaller pupil shrinks every defocus blur circle, so the uncorrected image tightens up. The tradeoff includes reduced light and, at very small apertures, diffraction. It does not correct every cause of reduced vision. It is depth of field, demonstrated on your own retina.

22.12.3 Measuring the eye's optics⧉

Before any correction can be prescribed, the eye has to be measured, and the instruments that do it reuse the same optics. Two things get measured: the outcome, how well the eye actually resolves, and the cause, the optical error responsible for any shortfall.

The outcome is read off an eye chart. The Snellen chart (1862), rows of progressively smaller letters, measures visual acuity directly: the "20/20" line is the angular resolution a normal eye reaches, a standardized recognition threshold, not an isolated measurement of the eye's optical MTF. It is subjective, since the patient reports what they can read, and it grades the result rather than the defect; the more rigorous LogMAR and ETDRS charts used in research keep the same idea with equal logarithmic size steps and a fixed number of letters per row.

fig-acuity-chart
Figure 22.12.4. Visual acuity, read off an eye chart (interactive). Acuity is the eye's angular resolution written as a fraction: 20/20 means you resolve at 20 feet what a normal eye resolves at 20 feet; 20/200 (the big top letter) means you must stand at 20 feet to read what a normal eye reads at 200. A Snellen chart is simply a resolution target: each row subtends a known angle, and the smallest row you can read is your acuity, the eye's angular resolution. Drag defocus (dioptres of retinal blur, the same residual defocus the refractive-error and accommodation figures produce) and the chart softens: the fine rows wash out first while the big letters survive, and the readout follows the smallest line still legible, from 20/20 down through 20/40, 20/70, to the 20/200 legal-blindness threshold. Switch to ETDRS for the modern research-standard chart with uniform five-letter rows and logarithmic size steps. Interactive: drag the defocus slider and watch the fine rows disappear first while the readout tracks the smallest legible line (20/20 → 20/200).

Finding the cause, the prescription, is refraction. The familiar version is subjective: with a phoropter the optometrist swings trial lenses in front of the eye and asks "better with one, or two?", converging on the sphere, cylinder, and axis that sharpen the chart. Objective machines skip the patient's judgment. A retinoscope reads the motion of the light reflex off the retina and neutralizes it with lenses, and an autorefractor automates the whole loop, projecting a target and measuring how the eye's optics bring it to focus. The cornea's own shape is mapped separately by a keratometer or corneal topographer, which is how astigmatism and diseases like keratoconus are quantified.

The fullest optical characterization comes from wavefront aberrometry, and it is exactly the adaptive-optics wavefront sensor of this part pointed backwards. A tiny spot of light is focused onto the retina to act as a point source, and the wavefront that comes back out of the eye is sampled by a Shack-Hartmann lenslet array: the displacement of each lenslet's focused spot gives the local slope of the wavefront, and integrating those slopes estimates wavefront error over the sampled pupil, up to unmeasured components such as piston. Decomposed into Zernike modes, the low orders are just the ordinary prescription (defocus and astigmatism) while the higher orders (coma, spherical aberration, trefoil) are higher-order imperfections that ordinary sphere-and-cylinder spectacles do not correct. This is the measurement behind wavefront-guided ("custom") LASIK, which uses the measured wavefront to guide corneal reshaping. Measurement and treatment have limits; it is the wavefront error, rather than the intensity PSF, that the correction aims to reduce.

fig-shack-hartmann
Figure 22.12.5. Measuring the eye's wavefront: the Shack-Hartmann sensor (interactive). A perfect eye emits a flat wavefront; every aberration warps it. A lenslet array chops the wavefront into small patches and focuses each into a spot, and because a spot lands where its patch of wavefront points, the local tilt shifts each spot sideways, so the grid of spot displacements is a direct sampling of the wavefront's slope, from which the whole wavefront is reconstructed. Dial the Zernike modes (defocus, the ordinary glasses error, plus astigmatism, coma, spherical aberration, and trefoil) and three linked panels move together: the lenslet spots the sensor records, the reconstructed wavefront map (blue below, red above the flat reference), and the eye's point-spread function (how a star is smeared on the retina). The readout gives the wavefront RMS error and the Strehl ratio. This is the measurement behind wavefront-guided LASIK and the wavefront sensor at the heart of an adaptive-optics system. Interactive: dial the Zernike aberration sliders and watch the lenslet spots, the reconstructed wavefront, and the eye's PSF change together.

A recent alternative replaces the precision hardware with a phone and computation. In NETRA (Pamplona et al. 2010 (NETRA)), Pamplona, Mohan, Oliveira, and Ramesh Raskar turned refraction into an interactive alignment game: a cheap plastic eyepiece clips over a phone screen, the wearer slides two patterns until they visually line up, and the settings at which they align read out the eye's refractive error and focal range. It is essentially a Shack-Hartmann sensor run in reverse with the human as the detector, so a refractive estimate can be obtained without a conventional phoropter, aimed at the billions of people with no access to either. The companion CATRA (Pamplona et al. 2011 (CATRA)) extends the same interactive idea to map the scattering of a cataract, charting the cloudy lens point by point. Both apply the same optics-plus-computation trade in a clinical setting: replace an expensive, precise optical instrument with a cheap optic, a screen, and computation, and let interaction supply what the hardware no longer has to.

fig-netra-refraction
Figure 22.12.6. A phone as a phoropter: the NETRA alignment game (interactive). A cheap pinhole eyepiece clips over a phone screen; two line patterns drawn at different screen positions reach the retina through different pinholes, so the eye's own refractive error makes them appear shifted apart. The user slides one pattern until the two visually align, and the shift needed to align them reads the eye's optical power along that meridian directly, with no trial lenses. Set the eye under test (sphere, cylinder, axis), pick a meridian, then drag align until the red and blue patterns merge into one; the reading is that meridian's power. Sweeping the meridian traces the sinusoid at the bottom, whose two extremes are the eye's principal powers: the sphere is the power at the cylinder axis, and sphere-plus-cylinder lies ninety degrees away, so their gap is the cylinder and their orientation the axis, recovering the whole prescription from a phone, a plastic clip, and the user's judgment. (When the cylinder is zero the eye is purely spherical and the axis is meaningless, so the axis slider disables itself, the same "no-impact controls are grayed out" discipline used throughout these figures.) Interactive: drag align until the two patterns merge to read the meridian power, and rotate the meridian to trace out the sphere, cylinder, and axis.

22.12.4 Correcting vision⧉

Once the eye is read as a defocused (or astigmatic) lens, the corrections are straightforward applications of lens design, and they span the same hardware-to-surgery range the rest of the part has explored, from a separate corrective element to editing the optic itself.

Spectacles are the original, computation-free fix: a thin corrective lens held a short distance in front of the eye, supplying the missing or excess power (negative, positive, cylindrical, or a combination) so the eye's own optics land the image on the retina. Contact lenses do the same job but sit directly on the cornea, riding the tear film. Because they move with the eye and sit at the cornea rather than a centimeter in front of it, contacts give a wider effective field of view and avoid the prismatic distortion and magnification changes that strong spectacle lenses introduce toward their edges, a meaningful advantage for strong prescriptions. Intraocular lenses (IOLs) go further and replace the optic: in cataract surgery the clouded crystalline lens is removed and an artificial lens is implanted in its place, with a power chosen to correct the eye's refractive error at the same time, the optical element itself swapped out rather than supplemented. And refractive surgery edits the cornea directly: LASIK (laser-assisted in-situ keratomileusis) lifts a thin corneal flap and uses an excimer laser to reshape the tissue underneath, while PRK (photorefractive keratectomy) ablates the surface directly after removing the outer layer. Either way the surgeon is reshaping the cornea to set a new prescription by surgically reshaping the eye's front surface the way a designer would respecify a lens surface.

Spectacle lenses themselves are a small showcase of this part's hardware tricks. They get anti-reflection coatings, the same thin-film destructive-interference stacks from Chapter 22.10, Glare suppression, to cut the reflections that otherwise veil the wearer's eyes and waste light. They are made in high-index glass or plastic so that a given power can be achieved with less curvature and thus a thinner, lighter lens (the strong prescriptions that used to mean "Coke-bottle" lenses). They use aspheric surfaces to reduce the off-axis aberration and distortion of strong lenses, exactly as aspheres do in camera optics from Chapter 22.2, Aberrations correction. And sunglasses borrow two more: photochromic lenses darken automatically under ultraviolet light, and polarized sunglasses cut glare from reflective surfaces using the same physics as the camera polarizing filter (cross-ref the polarizer treatment in the Photography part). Eyewear is everyday applied lens design.

22.12.5 Presbyopia and the bifocal problem: from bifocals to AF glasses⧉

Presbyopia is the error a single lens cannot fix, and the long effort to correct it is the most direct bridge from the eye back to the programmable optics of the Advanced part. The problem statement is purely optical: a presbyopic eye needs one power for distance and a different, stronger power for near (reading), and possibly intermediate powers in between, but a plain spectacle lens has exactly one focal length. You cannot serve both with a single fixed element. Every solution is some way of packing more than one power into the optics in front of the eye, and they fall into a clear progression (Figure 22.12.7).

fig-presbyopia-progression
Figure 22.12.7. Correcting presbyopia: ways to pack more than one power in front of the eye. Each panel plots the optical power added against vertical position on the lens. A bifocal puts two zones in one lens, a step in power with a visible segment line and an image-jump discontinuity where the gaze crosses it. A trifocal adds an intermediate zone, so two smaller steps. A progressive (PAL) grinds the step away into a smooth gradient from distance power at the top to reading power at the bottom, with no line and no jump, paid for by blurred peripheral corridors on each side. A tunable / autofocus lens abandons zones entirely: one uniform power that shifts on demand, accommodation rebuilt in hardware. Read left to right, it is the whole progression from an abrupt two-zone compromise to a single controllable power.

The first answer was to put two zones in one lens: the bifocal, attributed to Benjamin Franklin, with a distance prescription filling most of the lens and a small near segment set into the lower part, where the eye naturally rotates to read. Trifocals add a third, intermediate zone. The scheme works, but the boundary between zones is a visible line and an optical discontinuity: as the gaze crosses it the image jumps (the "image jump" artifact), and there is no smooth handoff between the powers. The wearer is given two optical zones with an abrupt transition between them. You can trace the two powers onto the retina directly (Figure 22.12.8).

fig-bifocal-eye-raytrace
Figure 22.12.8. Presbyopia corrections in front of the eye, ray-traced (interactive). A point source on the left emits a bundle of rays: the gaze elevation sets its direction and the distance slides it in and out along that same line of sight (so changing the distance never swings the gaze). The bundle refracts through a real curved spectacle-lens cross-section (a meniscus whose front surface curves more where the lens has more power, so the shape itself shows the correction) then through the fixed presbyopic eye, which rotates to point at it, onto the retina. Every ray is traced on its own, refracting at the front and back surfaces where it crosses, so rays that hit different parts bend by different amounts. Pick the lens: a bifocal is a distance zone above a more-curved reading segment (+2.5 D) with a visible ledge, and right at the ledge the bundle splits, the "image jump". A trifocal adds an intermediate zone; a progressive replaces the ledges with a smooth curvature gradient (no line, but only a narrow sharp corridor, so off-corridor rays blur); and an autofocus lens is a single tunable element that changes its curvature to focus whatever distance you look at, staying sharp everywhere. The bundle converges on the retina only when the power the rays pass through matches the object's distance, so a distant scene above the horizon and a book below it are each sharp through their zone, while a near object above the horizon, or anything at a middle distance, blurs, the single-distance limit that trifocals and progressives close and autofocus glasses abolish. (Schematic, not to scale; the eye is drawn enlarged.) Interactive: drag the point source near/far and up/down, and switch the lens between bifocal, trifocal, progressive, and autofocus to watch each ray refract through the two-power lens onto the retina.

Progressive (varifocal) lenses smooth that cut away. Instead of discrete zones, the lens surface is ground so that its power increases continuously from top to bottom: distance power up where you look ahead, gradually adding power down toward where you read, with no line and no jump. The price is paid sideways: a surface that varies power vertically cannot also be optically clean horizontally, so progressives carry peripheral distortion and a narrow usable corridor of sharp vision down the middle, with soft, swimmy regions to either side that wearers must learn to point their nose around. It is a fixed lens making the best possible compromise among a continuum of powers it must hold all at once, and like the fixed lenses earlier in the part, the compromise is the cost of doing the whole job passively.

The active alternative is to make the lens's power change on demand, so that one element can be the distance lens or the reading lens as needed, the same move from a fixed compromise to a controllable system that recurs throughout computational optics. These are focus-tunable lenses, and they come in two families.

The fluidic / Alvarez family changes power mechanically. A liquid-filled lens can be pumped to change the curvature of a flexible membrane and hence its power; an Alvarez lens uses two specially-shaped plates that slide laterally across each other, their combined cubic profiles summing to a variable optical power as they shift. Set by a small dial or slider, these give adjustable-focus eyewear in which the wearer tunes their own prescription, an idea championed by physicist Josh Silver for self-refraction eyewear that could be fitted without an optometrist, aimed squarely at parts of the world where eye-care professionals are scarce. The power is adjustable, but the adjustment is manual: you set it and it stays.

The liquid-crystal (LC) / electronic family changes power electrically, with no moving parts. This family also connects directly to the programmable optics discussed later in the book. A layer of liquid crystal sits in the lens; applying a voltage reorients the LC molecules, changing the layer's optical retardance and thus the phase it imposes on transmitted light. Pattern that voltage across the lens and you can switch in (or smoothly tune) an added reading power on command. This is precisely a programmable phase element: the same physics, at spectacle scale, as the liquid-crystal spatial light modulators (LC-SLMs) treated in the Advanced part, where a pixelated LC panel shapes a wavefront under electronic control. Pair a focus-tunable lens with eye tracking and depth sensing, and a controller can estimate the distance of the fixated object and choose lens power automatically. The research Autofocals prototype demonstrated this combination Autofocals, 2019. Separately, Deep Optics' "32°N" demonstrates electronically switchable liquid-crystal reading power activated by a swipe; it should not be described as a gaze-tracked autofocus product. The eye-tracker plays the role of the camera's autofocus decision layer from Chapter 22.9, Autofocus; the tunable LC lens plays the role of the focusing mechanism.

That is the link to the next part, and a good place to stop. Autofocus glasses are accommodation re-implemented in hardware: the soft, self-reshaping autofocus the crystalline lens lost to age, rebuilt outside the eye as an electronically tunable lens driven by a gaze sensor. They are the wearable cousin of camera autofocus, and their LC phase element is the wearable cousin of the spatial light modulators that the Advanced part uses to compute with light. The chapter begins with the eye as an example of the part's optics and ends with it as a bridge forward, an example of programmable optics compensating for lost accommodation, with field of view, latency, sensing reliability, and wearable form factor still shaping the result.