When an object moves quickly across a camera’s field of view during a traditional exposure, it leaves behind a smear of motion blur. To the human eye, this blur looks like a destructive loss of detail. To a computer vision algorithm, it represents a mathematically ill-posed inverse problem.
Standard cameras capture light by keeping the shutter open continuously for a fixed duration. In the language of signal processing, this continuous integration acts as a temporal box filter. When we look at a box filter in the frequency domain, it takes the form of a sinc function.
The fundamental flaw of the sinc function is that it drops to zero at regular intervals. At these "zero-crossings," spatial frequency information is multiplied by zero, meaning it is completely obliterated. Once information is lost to a zero-crossing, no downstream deconvolution algorithm can recover it; attempting to invert a zero value results in division by zero, which amplifies sensor noise and creates severe ringing artifacts.
Coded exposure imaging solves this problem not by trying to avoid blur, but by fundamentally altering its mathematical structure.
The Core Mechanism: Fluttering the Shutter
Instead of keeping the shutter open continuously, a coded exposure camera rapidly toggles its shutter open and closed according to a carefully chosen binary sequence during a single frame capture. This technique, introduced by Amit Agrawal et al. in Coded exposure photography: motion deblurring using fluttered shutter, transforms the camera's temporal integration from a low-pass box filter into a broadband filter.
By "fluttering" the shutter via a pseudo-random binary sequence, the resulting Point Spread Function (PSF) is broken up into a series of sharp, distinct edges. In the frequency domain, this pseudo-random modulation flattens the filter's response. Crucially, a well-designed broadband filter contains no zero-crossings within the camera's resolution limit.
Because the high-frequency spatial details are never multiplied by zero, they remain encoded within the blurred image data. As a result, the previously ill-posed deconvolution problem becomes a well-posed, stable matrix inversion. As Ramesh Raskar outlines in Technologies Leading to the Next-generation Digital Cameras and Movies (The Last Chapter); Less is More: Coded Computational Photography, this shift from hardware-perfection to computational co-design allows sharp images to be robustly reconstructed even from severe motion blur.
Designing the Code for Optimal Inversion
The performance of a coded exposure system depends entirely on the choice of the shutter sequence. A purely random sequence might still accidentally introduce near-zero values in the frequency domain, leading to poor conditioning and noise sensitivity during reconstruction.
To guarantee a flat frequency response, researchers look to information theory. Hae-Gon Jeon et al. demonstrated in Fluttering Pattern Generation Using Modified Legendre Sequence for Coded Exposure Imaging that sequences with low cyclic autocorrelation properties, such as modified Legendre sequences, provide an optimal mathematical foundation. These patterns ensure that the frequency spectrum of the blur kernel is as uniform as possible, maximizing the invertibility of the captured signal. With the advent of modern programmable sensors, these patterns can be dynamically injected directly into sensor primitives via software-defined imaging architectures, as surveyed by Suren Jayasuriya et al. in Software-Defined Imaging: A Survey.
Breaking Symmetry to Encode Time and Direction
Beyond preserving high-frequency spatial details, coded exposure can embed temporal structure into a single spatial frame.
Traditional motion blur is symmetric; a box filter looks identical whether an object moves from left to right or right to left. This creates a 180-degree directional ambiguity. By utilizing an asymmetric binary sequence for the shutter modulation, the temporal symmetry is broken. The resulting blur pattern exhibits a spatial asymmetry that acts as a physical "timestamp."
This concept of using temporal asymmetry to resolve directional ambiguity dates back to work in fluid dynamics by Douglas P. Hart in Asymmetric autocorrelation function to resolve directional ambiguity in PIV images, where unequal time intervals between multi-exposure laser pulses were used to determine the chronological order of particle movements.
Recently, this mechanism has been paired with modern machine learning. In Lightweight High-Speed Photography Built on Coded Exposure and Implicit Neural Representation of Videos, Zhihong Zhang et al. showed that this asymmetric blur allows implicit neural representations (INRs) to decode the exact direction and progression of motion from a single frame, enabling the reconstruction of high-speed video without needing explicit, computationally expensive motion estimation.
Alternative Modalities: Active, Passive, and Spatial Coding
The underlying philosophy of coded exposure—altering the optical or temporal path to prevent information loss—extends to several other imaging modalities:
- Active Illumination: Instead of modulating the camera shutter, one can modulate the light source itself. In Temporally coded flash illumination for motion deblurring, Scott McCloskey proposed firing a sequence of discrete, near-instantaneous strobe flashes during a single exposure. This samples the moving object at specific intervals, creating a PSF composed of clean delta functions that makes deblurring highly robust across varying object speeds.
- Passive Environmental Coding: Computational photography can also exploit ambient modulations. Naoki Sakakibara et al. demonstrated in Seeing Temporal Modulation of Lights From Standard Cameras that the high-frequency flicker inherent to modern LED and fluorescent lights acts as a natural, passive coded exposure. By decoding these flicker patterns from specular reflections, standard cameras can achieve stable motion deblurring without any hardware modifications.
- Spatial and Aperture Coding: The same mathematical principles apply to the spatial domain. As reviewed by Hajime Nagahara in Computational Photography, placing non-circular masks or spatial modulators in the aperture plane alters the optical PSF to preserve high-frequency spatial details that are normally lost to defocus, preventing ringing artifacts during digital refocusing. Similarly, Mohan Shankar et al. in Thin infrared imaging systems through multichannel sampling utilized phase grating arrays to intentionally alter the PSF across multiple optical channels, ensuring the capture of non-redundant information for ultra-thin sensor architectures.
Perhaps the most counterintuitive realization of this paradigm is that motion blur can actually be leveraged to enhance resolution. Because a coded exposure prevents high-frequency information loss, Amit Agrawal et al. demonstrated in Resolving Objects at Higher Resolution from a Single Motion-blurred Image that the continuous sub-pixel translation of a moving object provides enough non-redundant spatial data to reconstruct the object at up to four times the sensor's native physical resolution. By shifting from traditional open-shutter capture to coded integration, motion blur is transformed from a destructive artifact into a rich, information-preserving signal.
Key Foundational Work
Coded exposure photography: motion deblurring using fluttered shutter (2006) — contributed 3 concept elements to this direction.
Asymmetric autocorrelation function to resolve directional ambiguity in PIV images (1998) — contributed 2 concept elements to this direction.