draft · v0.1.226
💬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.

2.12 Sensing color: multiplexing strategies

A bare image sensor is usually color-blind — each photosite counts photons regardless of wavelength — so to capture color we must somehow take three (or more) measurements where a given photosite provides only one. Every color camera multiplexes those measurements across some axis, and there are several ways to do it, each spending a different axis (Figure 2.12.1).

fig-color-multiplexing
Figure 2.12.1. Four color-sensing multiplexing strategies. Temporal: shoot R, G, B frames in sequence through a filter wheel. Spatial: a color filter array (the Bayer mosaic) puts one color over each photosite. Beam-splitter: a prism sends the rays to three separate sensors. Depth: stacked layers (Foveon) absorb different wavelengths at different depths. Each trades resolution, light efficiency, motion robustness, and cost differently.

A bare sensor gives one number per photosite and color needs at least three, so the extra measurements must be borrowed from some other axis: time, space, depth, or a second piece of hardware. Whatever axis you spend, you usually lose the ability to discriminate along it. Multiplex in time and you must assume the scene holds still between frames; multiplex in space and you must assume color varies smoothly enough to interpolate the samples you skipped; multiplex in depth and you inherit badly overlapping bands you then have to un-mix. The only escape is to spend no scene axis at all and instead pay in hardware, with a beam-splitter and several sensors or an inverse-designed nanostructure, trading the assumption for cost and complexity. Each section below is one strategy: the technologies that use it, and the specific form this trade takes.

2.12.1 Multiplexing in time

Shoot red, green, and blue frames sequentially through colored filters, or a rotating filter wheel. This is how Maxwell made the first color photograph (Maxwell 1861) and how Prokudin-Gorskii (Prokudin-Gorskii) captured the Russian Empire in three exposures. It is still how flatbed scanners, astronomy and fluorescence-microscopy filter wheels, telescope narrowband imaging, sequential-color machine-vision cameras, and many multispectral instruments work, because the same mechanism extends naturally from three filters to tens of narrow bands.

The implementations differ mainly in what does the sequencing. The oldest is a rotating filter wheel (or three separate plates) in front of a single sensor: three exposures through red, green, and blue filters, combined afterward. The first color photographs were made this way, Maxwell's 1861 tartan-ribbon demonstration and, half a century later, Prokudin-Gorskii's three-plate survey. Astrophotography still leans on it heavily: a cooled monochrome sensor (a mono sensor avoids the color filter array's light loss and keeps full resolution) sits behind a motorized filter wheel and stacks many long sub-exposures through each filter, red / green / blue for natural color or narrowband hydrogen, oxygen, and sulfur filters for nebulae, where nothing in the sky moves between frames. And every flatbed or document scanner is a time-multiplexer twice over: a sensor bar is swept mechanically down the page, which is itself how a one-dimensional line sensor becomes a two-dimensional image (scanning spends time to buy the spatial axis the sensor lacks), and color comes either from three passes under red, green, and blue illumination or from a tri-linear sensor with three colored rows. Field-sequential color television and some endoscopes ran the same spinning-color-wheel trick in real time.

fig-scanner-sensor
Figure 2.12.2. A scanner's linear sensor bar. The contact-image-sensor (CIS) bar of a flatbed scanner reads one line of the page at a time; the carriage sweeps it down the page, spending time to build the second (vertical) spatial dimension a one-dimensional sensor lacks, and color comes from three RGB-lit passes or a tri-linear sensor with three colored rows. The purest everyday example of trading a scene axis for the measurements the hardware cannot make at once. (Photo: Michele M. F. / Latente, CC BY-SA 2.0, via Wikimedia Commons.)

The trade-off is discrimination in time: the method assumes the scene and camera hold still across the exposures. When they do, it is the best of every world, full spatial resolution, no demosaicking, no light split away, and as many bands as you care to spin past. When they do not, anything that moves between frames splits into colored fringes (Figure 2.12.6), and every temporal system must first register the plates to undo the small shifts between them (Figure 2.12.5), the simplest image-alignment problem in the book.

fig-temporal-multiplex-plates
Figure 2.12.3. Color multiplexing in time, following Maxwell's 1861 experiment (interactive). The lens images a simple scene onto a photographic plate at the focal plane. Three separate plates, each paired with its own red, green, or blue filter mounted between the lens and the plate, are stepped into the beam in turn, so the camera records the scene's red, then green, then blue component as three sequential black-and-white exposures (only the filter is colored; the plate records intensity, and the image is inverted, as any lens inverts). Stack the three grey records back through their filter colors and the color image reappears. No color filter array and full sensor resolution, but it works only if the scene holds still between the three shots. Interactive: watch the carriage step each filter-and-plate pair through the beam and the three black-and-white records combine into color, or pick a single exposure.
Sidebar — James Clerk Maxwell and the first color photograph

The three-color principle was demonstrated in 1861 by James Clerk Maxwell, the physicist who also unified electricity, magnetism, and light into the equations that bear his name. To show that any color can be matched by adding red, green, and blue, he had the photographer Thomas Sutton shoot a tartan ribbon three times through red, green, and blue liquid filters, then projected the three black-and-white positives back through the same three filters, superimposed, onto a screen. The overlap showed color: the first color photograph, and a live demonstration of trichromacy, the same three-number logic the rest of this book rests on. It very nearly should not have worked: the wet-collodion plates of the day were almost blind to red and green, and the "red" record came mostly from ultraviolet that the ribbon's red dye happened to reflect. A lucky accident, but the principle was exactly right, and every color camera since is a rearrangement of Maxwell's three filters. (Maxwell 1861)

fig-maxwell-tartan-ribbon
Figure 2.12.4. Maxwell's tartan ribbon (1861), the first color photograph. The ribbon was shot three times through red, green, and blue filters, and the three black-and-white positives projected back through the same filters, superimposed, to reconstruct color: color multiplexed in time, the earliest example on this page. (Public domain, via Wikimedia Commons.)
fig-color-temporal-multiplex
Figure 2.12.5. Recovering color from the three plates — alignment is the catch. Because the red, green, and blue exposures were shot sequentially, the plates are slightly shifted relative to one another; stacked as-is (left) the color image is fringed and ghosted along every edge. Searching for the per-channel shift that minimizes the sum-of-squared differences (SSD) between channels and re-stacking (right) snaps them into registration and the true color appears — the simplest image-alignment problem in the book, and exactly the registration every temporal-multiplexing system (scanner, filter wheel, Prokudin-Gorskii plate) must perform. (Prokudin-Gorskii.)
[figure fig-prokudin-gorskii not built]
Figure 2.12.6. Temporal multiplexing fails on motion. A Prokudin-Gorskii three-filter sequential exposure: static scenery registers perfectly, but moving water appears as separated red, green, and blue color fringes, because each channel was captured a moment apart. The artifact is the price of spreading color across time. (Sourced: Prokudin-Gorskii collection, Library of Congress, public domain.)

2.12.2 Multiplexing in space: the color filter array

The dominant choice by far. Lay a color filter array (CFA) directly over the sensor so each photosite records one color and the missing two are filled in afterward by demosaicking (Figure 19). The archetype is the Bayer mosaic, two green photosites for each red and blue, its doubled green mirroring the eye's green-weighted luminance (the eye is itself a spatial CFA, its interleaved cone mosaic). The family is large: Fuji's X-Trans uses a less-periodic $6\times6$ tile whose irregularity scatters the moiré a strictly periodic grid produces, so it can drop the anti-aliasing filter; complementary CMY or CYGM (cyan-yellow-green-magenta) arrays pass more light through each filter than the primary RGB dyes; RGBW arrays add an unfiltered panchromatic "white" pixel for low-light sensitivity; and Huawei's RYYB swaps green for yellow to gather still more light.

The trade-off is discrimination in space: each pixel measures one color, so you must assume color varies smoothly enough that the two missing channels can be interpolated from neighbors. That assumption is usually safe, which is why the CFA won, but it costs a demosaicking guess (with false-color and zipper artifacts exactly where the assumption breaks), an optical low-pass filter to pre-empt those artifacts, some inter-channel crosstalk, and worst of all the roughly two-thirds of the light the absorptive filters throw away. Against those costs it is single-sensor, single-exposure, cheap, and motion-robust, which is why nearly every camera you own uses it.

Color film reached the same spatial idea decades before silicon, by literally the same trick. The additive screen processes, the Lumière brothers' Autochrome (1907) and later Dufaycolor, Finlay, and Paget, coated the plate with a fine mosaic of transparent grains dyed red, green, and blue (Autochrome scattered dyed potato-starch grains at random; Dufaycolor printed a regular réseau grid) over a single panchromatic black-and-white emulsion. Each grain passed only its own color to the silver behind it, so the developed plate, viewed back through the same mosaic, rebuilt color from a spatial patchwork of filtered samples. This is a color filter array in film, the direct ancestor of the Bayer mosaic, random-tiled a full century early, with the dyed grain playing the photosite's role and the eye doing the demosaicking. (The other film tradition, the stacked-dye integral tripack of Kodachrome and modern color film, multiplexes color in depth instead, and so belongs with the Foveon below.)

fig-autochrome
Figure 2.12.7. Autochrome: a color filter array made in film, a century before Bayer. Left, the additive-screen process: white light from the scene passes through a random mosaic of transparent grains dyed red, green, and blue (scattered dyed potato-starch, in the Lumière process) onto a single panchromatic black-and-white emulsion behind, so each grain acts as one photosite's color filter; viewed back through the same mosaic, the plate rebuilds color from the spatial patchwork, the eye doing the demosaicking. Center, a photomicrograph of a real Autochrome plate showing the actual random dyed-grain mosaic. Right, an original box of Lumière autochrome plates. A spatial color filter array in film, random-tiled, the direct ancestor of the silicon Bayer mosaic. (Micrograph: Janke, CC0; box: Anne Jea, CC BY-SA 4.0; both via Wikimedia Commons.)
fig-bayer-mosaic
Figure 2.12.8. The Bayer color filter array (left) and the RYYB variant (right). The classic Bayer tile repeats a $2\times2$ pattern of two green, one red, and one blue filter (RGGB), so each pixel measures only one color and the other two must be reconstructed; the extra green matches the eye's green-weighted luminance sensitivity. The RYYB variant (used by Huawei) swaps the two greens for yellow filters. Because a yellow filter passes red and green together, it lets through far more light than a green one, buying low-light sensitivity, at the cost of color accuracy and more color noise, since recovering clean RGB from a yellow channel that mixes two primaries needs a stronger color-correction matrix. (Demosaicking, the reconstruction algorithm, is developed in the image-processing part.)

2.12.3 Multiplexing across separate sensors: the beam-splitter

Send the whole image to more than one sensor and give each its own color. A dichroic prism block reflects each band onto its own chip (Figure 2.12.1c): the 3-CCD / 3-chip design long standard in broadcast video cameras, three-chip cinema and telecine cameras, and scientific and machine-vision multi-sensor rigs. Because the dichroic coatings split the light rather than absorb it, no photons are wasted and every channel keeps full resolution. (It is a dichroic beam-splitter, not a dispersing prism — it peels off three clean bands, it does not smear a spectrum.)

This strategy spends no scene axis, so it makes none of the constancy or smoothness assumptions of the other two: full resolution, full light, no demosaicking. Instead you pay the other currency, hardware complexity: three sensors registered to sub-pixel accuracy behind a bulky, expensive prism. That is why it never fit a phone or a cheap camera, stays confined to professional gear, and does not scale past a handful of bands.

fig-triccd-prism
Figure 2.12.9. The trichroic (3-CCD) prism (interactive ray trace). A Philips-type beam-splitter sends one lens image to three sensors at once. The collimated beam enters a glass block and meets two tilted dichroic coatings: the first reflects blue and passes the rest, the second reflects red, and green goes straight through to the sensor behind. Because each band is peeled off by reflection rather than by an absorbing filter, essentially no light is wasted and every sensor keeps full resolution. Drag the wavelength to send one color through and see which coating catches it, or switch to white light and watch all three split at once. (Real Philips prisms add a thin air gap so the reflected bands totally-internally-reflect and the three chips pack compactly against the block; the loss-free dichroic split is the essential physics.) Interactive: pick a single wavelength (short → blue path, long → red path, middle → green) or white light to see the beam split three ways at the dichroic coatings.
fig-triccd-prism-photo
Figure 2.12.10. A real trichroic prism block with three CCDs. The physical counterpart to the ray trace: a broadcast camera's color-separation prism, a solid glass block whose internal dichroic coatings split the image into red, green, and blue and route each to its own 2/3-inch CCD bolted to a face of the block. The bulk and the sub-pixel alignment of three chips are exactly the cost that kept this design out of consumer cameras. (Photo: Xingbo, CC BY-SA 3.0, via Wikimedia Commons.)

2.12.4 Multiplexing per pixel by dispersion: color routers and nano-prisms

The Bayer mosaic and the 3-CCD prism sit at opposite extremes: Bayer multiplexes color across space but throws away two-thirds of the light to absorption; the prism splits light losslessly but needs three whole sensors. A color router — also called a color splitter or nano-prism — combines the two at the scale of a single pixel. In place of the absorptive filter it puts an inverse-designed nanostructure that acts as a tiny dispersing prism, redirecting each wavelength toward a different neighboring photodiode instead of absorbing it. So the color information is still multiplexed across space, Bayer-style — but achieved by dispersion rather than by masking, recovering most of the light the filters would have wasted (optical efficiency climbs from the filter's ~33% ceiling toward 80% and beyond — Nishiwaki et al. 2013; Zou et al. 2022). It is, almost literally, the broadcast prism shrunk to a per-pixel scale and laid flat on the sensor. The same per-pixel spreading has a second face: because each scene point's red, green, and blue are scattered onto different neighbors, a point's light is smeared across a small footprint — a built-in mild optical low-pass that doubles as the anti-aliasing the Bayer mosaic otherwise needs a separate filter for. Pushed too far, that smear becomes resolution-killing inter-pixel crosstalk, so the design game is to separate color cleanly while keeping the spread just wide enough to anti-alias and no wider. The idea runs from Panasonic's 2013 color splitters to inverse-designed metasurface routers; the first shipping cousin, Samsung's "Nanoprism," takes the gentler step of replacing only the microlens to funnel light into the color filters it keeps. (See also the sensor-tricks section, where the nano-prism appears as a light-efficiency trick.)

The trade-off, then, keeps the CFA's spatial smoothness assumption and its reconstruction step, but swaps the filter's light loss for fabrication complexity: the routers are inverse-designed and hard to make, and pushed too far the dispersion becomes crosstalk.

fig-nano-prism
Figure 2.12.11. The nano-prism color router versus the absorbing Bayer filter. Left, an absorptive dye filter passes its own color to the photosite and throws away the other two-thirds of the light (the CFA's ~33% ceiling). Right, an inverse-designed nanostructure disperses the incident light instead, steering each wavelength toward a different neighboring photodiode, so most of the light is kept (efficiency climbs toward 80% and beyond). Color is still multiplexed across space, Bayer-style, but by dispersion rather than masking — the broadcast prism shrunk to a per-pixel scale and laid flat on the sensor. The same spreading smears each point's colors onto different neighbors, a built-in mild anti-alias that becomes resolution-killing crosstalk if pushed too far. (The idea runs from Panasonic's 2013 color splitters to inverse-designed metasurface routers; Samsung's "Nanoprism" is the first shipping cousin.)

2.12.5 Multiplexing per pixel by tunable absorbers: quantum dots

A newer material sits as a hybrid of the spatial mask and the prism idea. Colloidal quantum dots — semiconductor nanocrystals whose absorbed wavelength is set by their size through quantum confinement — can be laid down as a thin, per-pixel light-absorbing layer whose spectral response is chosen rather than inherited from dye chemistry. Like the spatial CFA, they place a color-selective element over each photosite (color is still multiplexed across space); but like the prism / dispersion route, they can be engineered — tuned narrower or sharper, and paired with dispersive routing — to stop discarding the two-thirds of the light an absorptive dye filter throws away, while also reaching into the infrared and ultraviolet that silicon handles poorly and absorbing in far less depth (a boon for the sub-micron pixels of the sensors chapter). They point past the fixed Bayer settlement toward a sensor whose very spectral sensitivities are a design parameter (developed as such in the sensors chapter). The trade-off is again spatial, so demosaicking stays, and the win in tunability and efficiency is paid for in the maturity of a newer material, with its own noise and stability questions still being worked out.

fig-quantum-dots
Figure 2.12.12. Quantum dots: a color-sensing material you tune by size. Left, quantum confinement: a semiconductor nanocrystal's absorbed (and emitted) wavelength is set by its diameter — a smaller dot has a larger bandgap and works bluer, a larger dot a smaller gap and redder — so a per-pixel quantum-dot layer has a spectral response the designer chooses, rather than inheriting it from dye chemistry, and can stop discarding the two-thirds of the light an absorptive filter wastes while reaching into the infrared and ultraviolet that silicon handles poorly. Right, the canonical demonstration: vials of colloidal quantum dots fluorescing violet through red under ultraviolet light, in even size steps. (Photo: Alexei Antipov / PlasmaChem GmbH, CC BY-SA 3.0, via Wikimedia Commons.)

2.12.6 Multiplexing in depth: stacked photodiodes

Avoid color filters entirely and exploit the fact that silicon itself absorbs light by depth — short (blue) wavelengths within the first micron or so, green deeper, red deepest of all. Stack three photodiodes at different depths in the same silicon and each collects a different slice of the spectrum: the Foveon sensor (in Sigma cameras), conceptually like Kodachrome's stacked dye layers. Because all three layers sit at the same location, it captures color at every pixel with no demosaicking and no CFA. A common simplification hides an important detail: the layers are not red, green, and blue at three depths. Absorption is gradual and cumulative — the top layer catches blue plus a good deal of everything else passing through on its way down, the middle catches green plus leaked red, the bottom catches whatever is left — so the three layer responses are broad and heavily overlapping, nothing like clean primaries (Figure 2.12.1d). Recovering RGB therefore means multiplying the raw layer signals by a color matrix, and because the responses overlap so much, that matrix is ill-conditioned: it has large off-diagonal terms and amplifies noise as it inverts the overlap — which is exactly why Foveon images are prized for crisp luminance detail yet are noticeably noisier in chroma, especially in the shadows. (Overlapping sensitivities that need an ill-conditioned un-mixing are a recurring headache — the very same one the eye's own overlapping L and M cones cause, the non-orthogonality lesson of the previous chapter.)

Few production cameras have ever used a Foveon sensor; the Sigma dp series is the best known (Figure 2.12.13), sold on exactly the trade above — unusually crisp, demosaicking-free luminance detail in exchange for noisier colour, a modest ISO ceiling, and slow readout.

fig-foveon-camera
Figure 2.12.13. A camera built around a stacked-photodiode (Foveon) sensor: the Sigma dp2. Rather than a Bayer mosaic that samples one colour per pixel across space, the Foveon stacks three photodiodes at different depths in the silicon and reads all three colours at every pixel — longer wavelengths penetrate deeper, so the shallow layer sees mostly blue, the middle green, the deep red. Colour is multiplexed in depth, so there is no demosaicking and no colour moiré, at the price of noisier, less cleanly separated channels.

It is worth seeing this quantitatively (Figure 2.12.14). Silicon's absorption length climbs steeply with wavelength: blue light around 450 nm is mostly absorbed within roughly half a micron, green around 550 nm takes a couple of microns, and red around 610 nm penetrates several microns before it is caught. Stacking the three photodiodes across those depth bands yields sensitivities that are not three tidy bumps but three broad, sagging curves with enormous overlap: the top (blue) layer collects a large share of green and red on their way through, and so on down. The matrix that inverts these layer signals back to RGB is correspondingly ugly, with off-diagonal terms as large as the diagonal and of opposite sign, so a little read noise in one layer is multiplied severalfold into the recovered chroma. That is the concrete cost of spending no spatial or temporal axis: the color lives entirely in small differences between heavily overlapping depth signals, and small differences of noisy numbers are noisy.

fig-foveon-depth
Figure 2.12.14. Silicon absorption by depth and the Foveon's overlapping color channels (interactive). Left: a cross-section of the silicon with the three stacked photodiode layers (blue near the surface, then green, then red); drag the probe depth and watch the light remaining below it redden as blue and then green are absorbed above. Right: the three resulting layer sensitivities, broad and heavily overlapping, nothing like clean R, G, B; and the un-mixing matrix $M$ that recovers RGB from the layer signals, whose large off-diagonal terms make it ill-conditioned and noise-amplifying, the reason Foveon images carry crisp luminance but noisy chroma in the shadows. (Silicon absorption from tabulated penetration depths; the matrix is representative, not a specific device's calibration.) Interactive: drag the probe depth to redden the transmitted spectrum with depth; the layer sensitivities and the un-mixing matrix are shown alongside.

Depth multiplexing is not a silicon invention; color film got there first, chemically. The dominant color-film design, the integral tripack of Kodachrome, Ektachrome, and every C-41 negative, stacks three light-sensitive emulsion layers on one base: a blue-sensitive layer on top, then a green-sensitive layer, then a red-sensitive layer, with a thin yellow filter layer just below the top one to stop stray blue (to which all silver halides respond) from leaking into the lower layers. White light enters the top and is caught band-by-band with depth, exactly the Foveon idea, and after development each layer forms its own complementary dye so the stack yields full color at every point with no spatial mosaic (Figure 2.12.15). It is the same trade the Foveon makes and the same one the Autochrome does not: color multiplexed in depth (stacked, full-resolution, no demosaicking) rather than across space (a mosaic that must be interpolated). Silicon's Foveon is the integral tripack rebuilt in a semiconductor, absorption depth standing in for the sensitized layers.

fig-film-layers
Figure 2.12.15. Color film multiplexes color in depth. Cross-section of an integral-tripack color film: light enters the top and is caught band by band as it descends — blue in the top emulsion, green in the middle, red at the bottom — with a yellow filter layer below the blue-sensitive layer to keep stray blue out of the lower two. Each layer develops its own dye, so the stack records full color at every point with no spatial mosaic and no demosaicking: the chemical ancestor of the Foveon stacked-photodiode sensor, and the depth-multiplexing counterpart to the Autochrome's spatial screen.

2.12.7 Hybrid strategies

Real cameras often combine strategies, and the most useful hybrid is Bayer plus pixel-shift (Figure 2.12.16). A piezo actuator nudges the sensor by exactly one photosite between frames, so that over four exposures every output location is sampled through a red, a blue, and both green filters in turn; merge the four and you get true R, G, B at every pixel with no demosaicking guesswork — full color resolution and much lower noise — at the cost of needing a static scene on a tripod. (It is the spatial Bayer trick borrowing the temporal axis to fill its own holes.) Shift by half a photosite instead and you reach past the sensor's nominal resolution — a multi-frame super-resolution. Video pipelines hybridise the other way, leaning on motion across frames; astrophotography filter wheels are temporal multiplexing with cooled sensors. The strategies are a toolkit, not a fixed menu.

fig-pixel-shift
Figure 2.12.16. Bayer + pixel-shift. A piezo nudges the sensor by one photosite between frames, so the four shifted Bayer frames together cover every output location with a red, a blue, and both green filters; merging them yields full R, G, B at every pixel with no demosaicking — true color resolution and lower noise, for static scenes only. Shifting by half a photosite instead reaches past the sensor's nominal resolution (multi-frame super-resolution).

2.12.8 Beyond trichromatic capture: full spectrum and multispectral

One method stands apart by refusing the three-number compromise altogether. Lippmann photography records the full spectrum at every point as a physical interference pattern (Figure 2.12.17): light passes through a fine-grain transparent emulsion backed by a mirror of liquid mercury, so the incident and reflected waves superpose into a standing wave whose antinodes are spaced by half the wavelength; the emulsion records those layered planes, and later, viewed in white light, the recorded layers act as a Bragg reflector and send back exactly the wavelengths that made them. The plate stores true spectral information, not a trichromatic projection — the limiting case of color capture — which won Gabriel Lippmann the 1908 Nobel Prize (Lippmann 1908) and prefigured holography. It never became practical (exposures of minutes, awkward viewing), but it is the conceptual endpoint: every other sensor on this page is a lossy three-number approximation of what Lippmann captured in full.

fig-lippmann
Figure 2.12.17. Lippmann interference color photography. Recording (top-left): light enters a transparent emulsion backed by a liquid-mercury mirror; the incident and reflected waves form a standing wave whose antinodes, spaced λ/2 apart, expose layered fringe planes that encode the wavelength. Playback (top-right): under white light the recorded layers act as a Bragg reflector and send back only the original wavelength — true spectral color, not three numbers. Below: two real Lippmann interference-color plates — a flower bouquet (A. Ponsot, c. 1905) and "Le Cervin" / the Matterhorn (Gabriel Lippmann, 1891–99) — true color recorded with no dyes or filters. The 1908-Nobel limiting case of color capture, and a precursor of holography. (Plates via Wikimedia Commons: bouquet © Univ. de Lille / A. Ponsot, CC0; "Le Cervin", G. Lippmann, public domain.)
fig-lippmann-interactive
Figure 2.12.18. How interference records the spectrum (interactive). A transparent emulsion sits against a liquid-mercury mirror; incident light reflects, and the incident and reflected waves superpose into a standing wave of intensity $\sin^2(kz)$ whose bright antinodes, spaced half a wavelength apart in the emulsion ($\lambda/2n$), are recorded by the silver as a stack of layered fringe planes. Choose a single wavelength and watch the fringes get finer toward the blue and change color; or a polychromatic source, where every wavelength lays down its own fringe set — all pinned to a node at the mirror, so they reinforce near the mirror and dephase with depth, storing the spectrum in how the fringes fade. Under white light the stack Bragg-reflects exactly the color that made it. The wavelength is recorded as a physical spacing, with no dye and no filter. (Fringe depths exaggerated for visibility.) Interactive: set a wavelength (finer fringes toward the blue) or a polychromatic spectrum, and see the recorded standing-wave fringe stack and the color it plays back.
Sidebar — Gabriel Lippmann

Gabriel Lippmann (1845–1921) won the 1908 Nobel Prize in Physics "for his method of reproducing colors photographically based on the phenomenon of interference" — the only Nobel ever awarded for a color-photography process, and one almost nobody ever used. He was a physicist's physicist: he also built the capillary electrometer (which recorded the first electrocardiograms), worked on piezoelectricity alongside the Curies, and proposed integral photography, the lenticular ancestor of today's light-field cameras. His color plates are physically gorgeous and maddeningly impractical — minute-long exposures, a sheet of liquid mercury pressed against the emulsion, and an image you can only see from the right angle — yet they remain the only photographs that store the actual spectrum of a scene rather than three numbers per point. A standing reminder that the trichromatic shortcut every other sensor on this page takes is a choice, not a law of nature.

All of this is analysis, the mirror of the synthesis section; the demosaicking algorithm itself we defer to the image-processing part, which is why this is only the sensing half. One conceptual fork is worth naming: almost every camera aims at trichromatic capture — three numbers that reproduce what a human would see, so metamers are indistinguishable by design — whereas multispectral / hyperspectral imaging samples the physical spectrum in tens or hundreds of narrow bands, deliberately keeping the distinctions the eye throws away. The latter serves remote sensing, agriculture, art conservation, and machine vision, where what matters is the material, not the appearance, and metamers must be told apart.