Self-supervised Learning of Depth and Camera Motion from 360 ^\circ Videos

Fu-En Wang, Hou-Ning Hu, Hsien-Tzu Cheng, Juan-Ting Lin, Shang-Ta Yang, Meng-Li Shih, Hung-Kuo Chu, Min Sun

Abstract

Estimating depth and camera motion from video without manual labels is a cornerstone of autonomous perception. While self-supervised methods have matured for standard cameras, they struggle with the extreme distortion and unique geometry of 360° (omnidirectional) video. This paper presents a novel framework that leverages cubemap projections and spherical-aware loss functions to achieve state-of-the-art performance. By utilizing cube padding and a consensus-based pose consistency loss, the proposed method significantly outperforms equirectangular baselines while offering a 200% increase in inference speed.

Introduction

Self-supervised depth estimation, exemplified by architectures like SfMLearner, has enabled robots and drones to learn spatial awareness from raw video. However, standard models are designed for "Normal Field-of-View" (NFoV) cameras. Applying these to 360° video introduces two primary challenges: extreme image distortion at the poles of equirectangular projections and the lack of traditional image boundaries. In 360° vision, the world is a continuous sphere, yet standard neural networks treat image edges as hard stops, losing valuable supervision when pixels move across the wrap-around boundary.

This research bridges this gap by introducing a system specifically designed for spherical geometry, enabling autonomous systems to perceive their entire surroundings simultaneously without the need for expensive LiDAR sensors.

Methodology

The framework builds upon the core principles of self-supervised structure-from-motion but introduces three critical innovations to handle spherical data.

Cubemap Projection and Cube Padding

Instead of processing distorted equirectangular images directly, the system projects the sphere onto the six faces of a cube. To maintain spatial continuity across these faces, the authors introduce Cube Padding (CP). This technique pads the feature maps of a given cube face using the actual content from its adjacent faces, effectively removing the "seams" that typically plague cubemap-based neural networks.

Overview of the proposed framework, showing the transition from equirectangular inputs to cubemap projections for depth (DNet) and pose (PNet) estimation.

Spherical Photometric Consistency

In NFoV cameras, pixels often disappear off the edge of the frame during camera movement, limiting the available supervision. In a 360° view, every pixel remains on the sphere. The authors adapt the photometric consistency loss to account for this: by warping one frame to another across the entire sphere, the model receives a denser, more robust signal for depth and motion estimation.

Pose Consistency Loss

Rather than predicting a single global camera motion, the network (PNet) predicts a pose for each cube face. To ensure physical coherence, a novel Pose Consistency Loss is introduced. This loss forces the six independent predictions to reach a consensus in a shared coordinate system, acting as a powerful regularizer for learning stable ego-motion.

The self-supervised training pipeline utilizing photometric consistency across the sphere and pose consistency between cube faces.

Experimental Setup

Datasets

  • PanoSUNCG: To address the lack of large-scale 360° video datasets with ground truth, the authors rendered 103 indoor scenes using the SUNCG database. This resulted in 25,000 images with associated ground truth depth and camera trajectories.
  • Real-World Generalization: The model was also tested on real-world indoor videos captured with a RICOH THETA V camera. The PanoSUNCG-pretrained model was fine-tuned on this raw video data without any ground truth labels to demonstrate its practical utility.

Key Results and Insights

Efficiency and Performance

The cubemap-based approach is not only more accurate but significantly faster. Equirectangular projections waste computational resources on distorted polar regions. By using cubemaps, the model achieves a more uniform distribution of information, resulting in a 200% speedup in inference time at high resolutions compared to equirectangular methods. On the PanoSUNCG dataset, the full model significantly outperformed baselines that lacked pose consistency or used standard projections.

The "No-Boundary" Advantage

The research highlights that 360° vision is mathematically cleaner for self-supervision. Because no pixels move "off-screen," the re-projection problem provides a continuous signal across the entire viewing sphere, leading to more stable depth maps in complex indoor environments.

Conclusion and Future Work

This work demonstrates that spherical geometry, when properly handled via cubemaps and consistency losses, provides a superior foundation for self-supervised learning in omnidirectional video. While the model shows impressive generalization to real-world indoor scenes, future work will focus on bridging the synthetic-to-real gap further and extending the framework to dynamic outdoor environments, such as autonomous driving, where 360° perception is most critical.

Summary updated

BibTeX
@inproceedings{wang2018self,
  author = {Fu-En Wang and Hou-Ning Hu and Hsien-Tzu Cheng and Juan-Ting Lin and Shang-Ta Yang and Meng-Li Shih and Hung-Kuo Chu and Min Sun},
  title = {{Self-supervised Learning of Depth and Camera Motion from 360 ^\textbackslash\{\}circ Videos}},
  booktitle = {ACCV},
  year = {2018},
  url = {https://openreview.net/forum?id=KCy-HmbBrSR},
}
Figure