Single-shot Hyperspectral-Depth Imaging with Learned Diffractive Optics

Seung-Hwan Baek, Hayato Ikoma, Daniel S. Jeon, Yuqi Li, Wolfgang Heidrich, Gordon Wetzstein, Min H. Kim

Abstract

Capturing high-dimensional visual data—specifically spatial, spectral, and depth information—typically requires complex multi-sensor systems or time-consuming scanning. This paper presents a compact, single-lens camera system capable of single-shot hyperspectral-depth (HS-D) imaging. By leveraging "Deep Optics"—the joint optimization of a diffractive optical element (DOE) and a neural reconstruction network—the system encodes 4D information into a single 2D image. We demonstrate high-fidelity reconstruction of 25 spectral channels and a dense depth map, significantly outperforming existing monocular methods.

Introduction

Traditional imaging systems are often limited to 2D spatial information with coarse RGB color. Capturing the full 4D light field (2D space + 1D spectrum + 1D depth) usually necessitates bulky hardware, such as LiDAR for depth and liquid crystal tunable filters for hyperspectral data. These "combinational" approaches suffer from pixel alignment issues, temporal mismatches for moving objects, and high costs.

To address these challenges, we propose a monocular, single-shot system that collapses these modalities into a standard camera form factor. Our approach uses a custom-designed diffractive lens to engineer a point spread function (PSF) that varies uniquely with both wavelength and object distance, effectively "tagging" incoming light with its 4D coordinates.

Methods: Differentiable Deep Optics

The core of our system is a differentiable end-to-end pipeline that jointly optimizes physical hardware and digital reconstruction.

The end-to-end pipeline includes a wave-optic simulator for the DOE and a dual-decoder neural network for reconstruction.

Hardware Encoding

We replace the standard refractive lens with a Diffractive Optical Element (DOE). This thin phase mask is designed to maximize chromatic and depth-dependent aberrations. Unlike traditional optics where these are seen as defects, we use them as data carriers. The resulting Point Spread Function (PSF) is highly discriminative; a point of light at 0.4m and 450nm creates a distinct blur pattern compared to one at 2.0m and 600nm.

Neural Decoding

A dual-decoder U-Net architecture serves as the "brain" of the camera. It takes the raw, blurred RGB sensor data and "unpacks" it into two distinct outputs: a 25-channel hyperspectral cube and a high-resolution depth map. To bridge the gap from 3 input channels to 25 output channels, we utilize a residual spectral learning module that provides an initial guess based on the camera's known spectral response.

Joint Optimization

The entire system—from the height profile of the DOE to the weights of the neural network—is trained in a fully differentiable simulator. This allows the AI to "tell" the lens how to best blur the light to ensure the most accurate reconstruction possible.

Results and Hardware Validation

We validated our approach using both a custom-built hyperspectral-depth dataset and a physical prototype.

System prototype and reconstruction results showing high-fidelity spectral and depth maps from a single shot.

Quantitative Performance

Our method achieves a spectral reconstruction accuracy of 29.31 dB PSNR, a significant improvement over previous light-field-based HS-D methods (~23.6 dB). Depth estimation is similarly precise, with a Mean Absolute Error (MAE) of 0.12m over a range of 0.4m to 2.5m.

Real-World Prototype

We implemented the system using a Canon 5D Mark III equipped with a custom-fabricated DOE. Real-world testing on complex scenes—including plants and office supplies—confirmed that the system maintains high spatial resolution while successfully recovering spectral and depth information in a single shot.

Discussion and Limitations

While the system offers a compact solution for 4D imaging, it faces challenges in low-light environments due to the light-spreading nature of the DOE. Additionally, the computational cost of simulating 25 spectral channels across multiple depth layers is high, limiting the complexity of the models used during joint training. Future work may explore reconfigurable optics, such as spatial light modulators, to allow the system to adapt its encoding strategy to different scene conditions dynamically.

Conclusion

By embracing and engineering optical aberrations through Deep Optics, we have demonstrated a single-shot camera capable of capturing rich hyperspectral and depth data. This work paves the way for compact, high-dimensional sensors in fields ranging from autonomous navigation to remote sensing.

Summary updated

BibTeX
@inproceedings{baek2021single,
  author = {Seung-Hwan Baek and Hayato Ikoma and Daniel S. Jeon and Yuqi Li and Wolfgang Heidrich and Gordon Wetzstein and Min H. Kim},
  title = {{Single-shot Hyperspectral-Depth Imaging with Learned Diffractive Optics}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00265},
}
Figure