FisheyeDistill: Self-Supervised Monocular Depth Estimation with Ordinal Distillation for Fisheye Cameras

Qingan Yan, Pan Ji, Nitin Bansal, Yuxin Ma, Yuan Tian, Yi XuarXiv 2022

Abstract

In this paper, we address the challenge of monocular depth estimation for fisheye cameras using a self-supervised approach. Traditional self-supervised methods often struggle in low-light conditions, over-exposed areas, and large homogeneous regions typical of indoor environments. To overcome these limitations, we propose FisheyeDistill, a framework that introduces a novel ordinal distillation loss. This loss distills depth ordering information from a large, pre-trained teacher model (MiDaS) while maintaining geometric consistency through a specialized fisheye projection model. Our results demonstrate that this approach not only generates robust depth maps in challenging environments but also recovers scene geometry more accurately than existing baselines.

Introduction

Fisheye cameras are increasingly popular in AR/VR applications due to their wide Field of View (FoV). However, their inherent radial distortion complicates standard computer vision tasks. Most depth estimation pipelines require computationally expensive image rectification, which often crops out the valuable peripheral data. Furthermore, self-supervised models relying on photometric consistency frequently fail in indoor settings characterized by textureless walls and varied lighting. FisheyeDistill is designed to process distorted images directly, leveraging a teacher model's "intuition" to guide the learning process in feature-poor regions.

Methodology

The FisheyeDistill framework integrates geometric physics with deep learning distillation through three primary components:

  1. Fisheye Geometry Model: Instead of rectifying images, we incorporate a polynomial radial distortion model directly into the projection and unprojection calculations. This allows the network to compute reprojection losses across the full, distorted FoV.
  2. Ordinal Distillation Loss: While large models like MiDaS excel at relative depth ordering, they often produce geometrically inconsistent 3D structures. We propose an ordinal loss that forces the student model to match the teacher's ordering of pixels rather than its absolute depth values, preventing the inheritance of geometric errors.
  3. Decay Weighting Strategy: Training begins with a heavy reliance on the teacher's distillation loss to establish a scene layout. Over time, this weight decays, allowing the self-supervised photometric loss to refine the final 3D geometry.
Overview of the FisheyeDistill architecture, illustrating the integration of Pose and Depth networks with the Ordinal Distillation (ORD) and Photometric losses.

The AR-Glasses Fisheye Dataset

To evaluate our model in realistic AR scenarios, we collected the AR-Glasses Fisheye Dataset. This dataset consists of 321,300 raw grayscale fisheye images captured across eight diverse indoor scenes. These environments include challenging elements such as glass partitions, textureless surfaces, and sub-optimal lighting. For evaluation, we generated dense pseudo-ground truth using a calibrated stereo fisheye pair and semi-global stereo matching.

Experimental Results

We compared FisheyeDistill against industry standards, including Monodepth2 and the MiDaS teacher model. Our method significantly outperformed these baselines in both quantitative accuracy and qualitative geometric fidelity.

Quantitative results on the AR-Glasses dataset, showing FisheyeDistill's superior performance across multiple error metrics compared to Monodepth2 and MiDaS.

As shown in the table above, FisheyeDistill achieved an Absolute Relative (Abs Rel) error of 0.131, a substantial improvement over Monodepth2 (0.348). Qualitatively, our model effectively eliminates common artifacts such as "halo" effects and "texture-copy" blurring. Point cloud visualizations further confirm that our method recovers straighter walls and more accurate room corners than the teacher model alone.

Conclusion

FisheyeDistill provides a robust solution for monocular depth estimation on fisheye-equipped devices. By combining a direct fisheye projection model with ordinal distillation, we achieve high-fidelity depth maps without the need for image rectification. Future work will explore real-time online refinement and the adaptation of this framework for high-speed outdoor robotic applications.

Summary updated

BibTeX
@misc{yan2022fisheyedistill,
  author = {Qingan Yan and Pan Ji and Nitin Bansal and Yuxin Ma and Yuan Tian and Yi Xu},
  title = {{FisheyeDistill: Self-Supervised Monocular Depth Estimation with Ordinal Distillation for Fisheye Cameras}},
  year = {2022},
  eprint = {2205.02930},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.02930},
}
Figure