Learned Binocular-Encoding Optics for RGBD Imaging Using Joint Stereo and Focus Cues

Yuhui Liu, Liangxun Ou, Qiang Fu, Hadi Amata, Wolfgang Heidrich, Yifan PengCVPR 2025

Abstract

Traditional stereo imaging systems are often limited by the physical properties of standard lenses, which may fail to capture sufficient high-frequency information or focus cues for high-fidelity reconstruction. This paper presents a hardware-software co-design that replaces standard apertures with custom-designed, "learned" diffractive optical elements (DOEs). By jointly optimizing these optics with a deep neural network, the system leverages both stereo and focus cues, achieving significant improvements in both RGB image quality and depth estimation accuracy.

Introduction

Stereo depth estimation typically relies on finding correspondences between two images. However, standard lenses do not always preserve the necessary details, especially in scenes with complex textures or large depth variations. While "Deep Optics" has advanced monocular depth-from-defocus, applying these principles to binocular systems offers a unique opportunity to maximize information capture through asymmetric, complementary optical encoding.

Methods

The proposed framework utilizes an end-to-end differentiable pipeline that integrates physical optics simulation with a neural reconstruction network.

Overview of the learned stereo camera system, including the DOE optimization and the reconstruction pipeline.

Rank-2 Parameterized DOEs

To overcome the optimization and manufacturing challenges of complex phase masks, the authors introduce a "rank-2" parameterization for the DOE height maps. By modeling the height map as the sum of two outer products of vectors, the design maintains sufficient degrees of freedom for complex encoding while remaining computationally efficient and easier to fabricate.

Complementary Encoding and Reconstruction

The left and right DOEs are initialized and optimized to be perpendicular to one another, ensuring they capture complementary spatial frequencies. The reconstruction backend employs a modified Iterative Geometry Encoding Volume (IGEV) for stereo matching, fused with a U-Net decoder. This architecture takes the optically encoded measurements and reconstructs sharp, all-in-focus RGBD results. The entire system is trained using a differentiable image formation model (LS-ASM), allowing gradients to flow from the final loss back to the physical DOE parameters.

Results

The system was validated using synthetic datasets (SceneFlow), real-world indoor datasets (InStereo2K), and a physical prototype.

Qualitative comparison between the learned stereo camera and a conventional stereo camera, showing improvements in both RGB recovery and depth estimation.

Quantitative Performance

The learned optics approach achieved a 2.96 dB PSNR gain in RGB reconstruction compared to standard stereo baselines. Depth accuracy also saw marked improvement, with the End-Point Error (EPE) reduced to 1.12 pixels. Notably, the prototype maintained high-fidelity imaging across a wide range from 0.67m to 8m.

Qualitative Insights

As shown in the comparison above, the learned system resolves intricate details and produces cleaner depth maps compared to conventional setups. By combining stereo disparity with defocus patterns, the system is more robust in challenging areas like repetitive textures or fine foliage that often baffle standard stereo matching algorithms.

Conclusion

This work demonstrates the power of hardware-software co-design in binocular imaging. By moving beyond standard lenses to learned, complementary optics, the researchers have pushed the boundaries of simultaneous RGB and depth capture. Future work will focus on reducing computational complexity for real-time applications and addressing optical artifacts in high-dynamic-range scenes.

Summary updated

BibTeX
@inproceedings{liu2025learned,
  author = {Yuhui Liu and Liangxun Ou and Qiang Fu and Hadi Amata and Wolfgang Heidrich and Yifan Peng},
  title = {{Learned Binocular-Encoding Optics for RGBD Imaging Using Joint Stereo and Focus Cues}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01476},
}
Figure