Learning Spatially Varying Pixel Exposures for Motion Deblurring

Cindy M. Nguyen, Julien N. P. Martel, Gordon Wetzstein

Introduction

Motion deblurring remains a fundamental challenge in computational photography, primarily due to the inherent trade-off between exposure time and image quality. Standard cameras utilize a global shutter, applying a uniform exposure time to all pixels. This results in a binary dilemma: long exposures capture sufficient light but suffer from motion blur, while short exposures remain sharp but are dominated by sensor noise. This paper introduces L-SVPE (Learned Spatially Varying Pixel Exposures), a novel framework that leverages programmable focal-plane sensor-processors to assign unique exposure times to individual pixels within a single snapshot.

The L-SVPE Framework

The core innovation of L-SVPE lies in its joint optimization of hardware exposure patterns and software reconstruction algorithms. The system is designed as an end-to-end (E2E) pipeline consisting of an encoder and a decoder.

Hardware Encoder: Programmable Focal-Plane Sensors

Instead of relying on a fixed global shutter, the authors utilize the SCAMP-5, a programmable vision chip. The "encoder" in this system is the spatial pattern of exposure lengths. Through training, the system learns an optimal mosaic of "Short," "Medium," and "Long" exposures. This heterogeneity allows the sensor to capture high-frequency structural information (from short-exposure pixels) and high signal-to-noise ratio (SNR) data (from long-exposure pixels) simultaneously.

Software Decoder: Reconstruction and Denoising

The raw output from the sensor is a single-channel mosaic where neighboring pixels represent different integration windows. To reconstruct a clean image, the decoder follows a two-stage process:

  1. Interpolation: The system estimates missing exposure values for every pixel location to create a multi-channel image stack. The authors found that Scatter-weighted interpolation provided superior results compared to standard bilinear methods.
  2. Deep Reconstruction: A U-Net architecture processes the interpolated stack. This neural network is trained to fuse the disparate exposure data, using the sharp, noisy pixels to guide the deblurring of the bright, blurry pixels.

Experimental Methodology

The framework was evaluated using both simulated and real-world data:

  • Need for Speed (NfS) Dataset: High-frame-rate (240 fps) videos were used to simulate motion blur by averaging frames to represent a 30 fps capture.
  • Physical Prototype: The learned patterns were implemented on a SCAMP-5 chip to capture real-world scenes, such as moving swings and jump ropes, providing a proof-of-concept for the hardware-software co-design.

Key Results and Insights

The L-SVPE approach demonstrates significant improvements over traditional and heuristic methods. In simulations on the NfS dataset, L-SVPE achieved a PSNR of 34.38 dB, a substantial gain over global short (33.52 dB) and global long (25.67 dB) exposures. Perceptually, the method also excelled, achieving an LPIPS score of 0.111, outperforming human-designed patterns like the "Quad" interlaced mosaic.

The primary insight is the effectiveness of "structural guidance." By capturing a variety of exposures, the reconstruction network can "borrow" sharpness from short-exposure pixels to restore detail in long-exposure regions. This demonstrates the power of moving computation to the focal plane, where "intelligent" sensors can perform coded exposures at the point of light capture.

Limitations and Future Directions

While promising, the current implementation is limited to grayscale imagery due to the constraints of the SCAMP-5 prototype. Future research is required to adapt L-SVPE to RGB Bayer filter arrays common in consumer electronics. Additionally, the authors identified the interpolation step as a potential bottleneck; future iterations may explore networks capable of processing the raw "mosaic" data directly. Expanding the training datasets to include extreme low-light and high-dynamic-range (HDR) scenarios would further demonstrate the versatility of learned spatially varying exposures.

Summary updated

BibTeX
@inproceedings{nguyen2022learning,
  author = {Cindy M. Nguyen and Julien N. P. Martel and Gordon Wetzstein},
  title = {{Learning Spatially Varying Pixel Exposures for Motion Deblurring}},
  booktitle = {ICCP},
  year = {2022},
  doi = {10.1109/iccp54855.2022.9887786},
}
Figure