Fast Disparity Estimation from a Single Compressed Light Field Measurement

Emmanuel Martínez, Edwin Vargas, Henry Arguello

Abstract

Traditional light field processing requires a computationally expensive two-step workflow: reconstructing a high-dimensional 4D light field from a compressed 2D measurement, followed by depth estimation. This paper introduces an end-to-end (E2E) deep learning framework that estimates 3D scene disparity directly from a single coded snapshot. By jointly optimizing a physical optical mask and a digital neural network, the proposed method eliminates the reconstruction bottleneck, achieving a 20x speedup in both training and inference while maintaining state-of-the-art accuracy.

Introduction

Light fields capture the 4D radiance of a scene—recording both the intensity and the direction of light rays. This rich data enables advanced computer vision tasks such as post-capture refocusing and high-fidelity depth (disparity) estimation. However, the massive volume of 4D data presents significant challenges for storage, transmission, and real-time processing.

Compressive Sensing (CS) has emerged as a solution, using optical masks to "squash" the 4D light field into a single 2D coded measurement. Despite this hardware efficiency, the software side has lagged; standard pipelines require a slow, iterative reconstruction of the full light field before any depth information can be extracted. This two-step process is not only computationally heavy but also suffers from error propagation, where artifacts introduced during reconstruction degrade the final disparity map. This research proposes a hardware-software co-design to bypass reconstruction entirely.

Methodology

Jointly Optimized E2E Framework

The core innovation of this work is the treatment of the camera hardware and the reconstruction software as a single, differentiable pipeline. The framework consists of two primary components:

  1. The Optical Layer (Hardware): The system utilizes an Attenuation Coded Mask (ACM) positioned in front of the image sensor. Unlike traditional CS methods that use random patterns, the transparency values of this mask are treated as learnable parameters. During training, the mask evolves to prioritize the preservation of geometric features essential for depth perception.
  2. The Electronic Decoder (Software): The compressed snapshot is processed by a Convolutional Neural Network (CNN) designed with a Wide U-Net architecture. This network features residual blocks and up-projections. A key finding in the architecture search was that "wider" networks (those with more filters per layer) outperformed deeper networks. The researchers suggest that for compressed sensing, capturing a broad array of spatial features simultaneously is more critical than the hierarchical abstraction provided by many layers.

Training and Optimization

The entire system is optimized end-to-end. The error (loss) calculated from the final predicted disparity map is backpropagated through the neural network and directly into the physical parameters of the optical mask. This ensures that the hardware is specifically "tuned" to the software's needs.

Experimental Setup

The researchers evaluated the model using a synthetic dataset of 500 RGB light field scenes.

  • Data Split: 400 scenes for training (augmented into 32,000 patches), 50 for validation, and 50 for testing.
  • Resolution: The experiments utilized light fields with $7 \times 7$ angular views and a $256 \times 256$ spatial resolution.
  • Metrics: Performance was measured using Pseudo-Huber loss and execution time comparisons against existing two-step state-of-the-art (SOTA) models.

Key Results and Insights

Efficiency and Speed

The E2E approach demonstrated a massive leap in efficiency. By removing the reconstruction step, the method is 20 times faster in both training and inference compared to high-performing two-step methods (such as the combination of LFCA reconstruction and Lfattnet estimation).

Accuracy and Quality

Despite the speed increase, the model does not sacrifice accuracy. It achieved a Pseudo-Huber loss of 0.00127, performing on par with—and in some cases better than—models that have access to the full, uncompressed light field. Qualitatively, the joint optimization produces cleaner disparity maps with significantly fewer artifacts than traditional iterative reconstruction methods (LFCS).

Task-Specific Sensing

The optimized mask patterns revealed a semi-uniform grid structure. This suggests that the system learned to minimize distortion specifically for depth-related features, moving away from the "one-size-fits-all" approach of random sensing patterns.

Limitations and Future Work

While the results are promising, the study primarily relies on synthetic data. Real-world implementation may face challenges such as sensor noise, lens aberrations, and physical mask misalignment that were not the primary focus of this simulation. Additionally, the current model is optimized for a fixed angular and spatial resolution; adapting to different camera hardwares would currently require retraining the network.

Future research directions include extending this E2E philosophy to other light field tasks, such as semantic segmentation or object recognition, allowing these high-level tasks to be performed directly on compressed data streams.

Summary updated

BibTeX
@inproceedings{martinez2022fast,
  author = {Emmanuel Martínez and Edwin Vargas and Henry Arguello},
  title = {{Fast Disparity Estimation from a Single Compressed Light Field Measurement}},
  booktitle = {EUSIPCO},
  year = {2022},
}
Figure