SphereFusion: Efficient Panorama Depth Estimation via Gated Fusion

Qingsong Yan, Qiang Wang, Kaiyong Zhao, Jie Chen, Bo Li, Xiaowen Chu, Fei Deng

TL;DR

SphereFusion is a novel end-to-end framework for 360° panorama depth estimation that achieves state-of-the-art inference speeds (60 FPS) while maintaining high accuracy. By combining the texture-extracting power of 2D image convolutions with the distortion-free nature of spherical mesh operations via a GRU-inspired gated fusion module, it effectively eliminates polar distortions and boundary discontinuities.

What Problem Does This Paper Address?

Estimating depth from panoramic images is crucial for robotics and autonomous driving, but representing a 360° field of view on a flat surface introduces fundamental geometric trade-offs.

As shown in the projection breakdown below, the standard Equirectangular Projection (ERP) suffers from severe distortion at the poles (top and bottom) and stretching/discontinuity at the borders. Alternative methods like cubemap or tangent projections reduce distortion but introduce artificial boundaries that require complex, slow fusion strategies. Conversely, processing panoramas directly as a spherical mesh avoids distortion entirely but struggles to capture fine texture details and is computationally expensive.

Figure 3. The ideal representation of a panorama image is the sphere, but it is impractical. The equirectangular projection is the most popular method, but it suffers from distortion at the poles and discontinuity at the borders. The spherical mesh can approximate the sphere, and their difference becomes smaller with higher MR.

Methods

SphereFusion addresses these challenges by processing the panorama in two parallel domains simultaneously and fusing their strengths.

Figure 2. Given a panorama image in the equirectangular projection and the spherical projection, SphereFusion simultaneously extracts features by a 2D image encoder and a mesh encoder, which follows the ResNet structure [24], then fuses these features by the Gate Fusion module in the spherical projection, and finally estimates the depth map through the mesh decoder.
  1. Dual-Domain Feature Extraction: The network feeds the equirectangular image into a 2D CNN encoder (ResNet50) to extract rich texture details. Concurrently, it maps the image to an icosahedron spherical mesh and uses a lightweight mesh encoder (ResNet18) to capture distortion-free global geometry.
  2. GateFuse Module: To merge these features, the 2D image features are projected into the spherical domain (via an Equirectangular-to-Spherical, or E2S, block). A Gated Fusion (GateFuse) module—inspired by Gated Recurrent Units (GRUs)—uses a reset gate ($r$) and a forget gate ($z$) to dynamically select the most reliable features from both domains rather than blindly trusting one over the other.
  3. Mesh Decoder: The fused features are processed by a spherical mesh decoder using mesh unpooling and convolution operations to output multi-resolution depth maps directly in the spherical domain.
  4. FAF Caching Strategy: To overcome the notorious latency of mesh convolutions, the authors introduced a cache strategy. Because the topological relationships between mesh triangles (Face Adjacent Face, or FAF) are static for a given mesh resolution, SphereFusion precomputes and stores these connections in cache memory, eliminating redundant calculations during inference.

Datasets

The authors evaluated SphereFusion on three widely used panorama benchmarks:

  • 360D: A large synthetic indoor dataset containing 35,977 images.
  • Matterport3D (M3D): A real-world dataset consisting of 10,800 high-resolution indoor panoramas.
  • Stanford2D3D (S2D3D): A real-world indoor dataset containing 1,413 panoramas.

For all datasets, images were resized to a standard resolution of $512 \times 1024$ for training and evaluation.

Key Insights and Ideas

  • The Best of Both Worlds: Standard 2D convolutions excel at extracting local textures but fail near the poles due to distortion. Spherical meshes handle the poles perfectly but blur out textures. Fusing them at multiple scales ensures high-fidelity boundaries and accurate polar geometry.
  • Dynamic Balancing via Gating: Previous architectures like BiFuse or UniFuse primarily used 2D features to guide the network, treating the alternative projection as secondary. GateFuse treats both domains as active contributors, dynamically shifting weight depending on the region (e.g., relying more on mesh features near the poles).
  • Structural Caching for Speed: The major bottleneck in geometric deep learning on meshes is graph/neighbor traversal. Recognizing that the mesh structure doesn't change across different images allowed the authors to turn a heavy online computation into a simple memory lookup.

Key Results

SphereFusion's standout achievement is its balance of speed and accuracy. Tested on an NVIDIA RTX 3090, it achieved an inference time of just 17.4 ms (~60 FPS) for a $512 \times 1024$ panorama, making it significantly faster than competing methods.

Figure 1. Comparison with BiFuse [48], UniFuse [29], SliceNet [37], PanoFormer [42], OminiFusion [34], SphereDepth [51], Ho- hoNet [46] on Stanford2D3D [3] with resolution of 512 × 1024. The horizontal axis is the FPS, and the vertical axis is δ(1.25)(%), which counts the percentage of the absolute relative difference be- tween the prediction and the ground truth that is less than 1.25. The higher FPS and higher δ(1.25)(%) mean better.

Quantitatively, it achieved the lowest Mean Relative Error (MRE) on the Stanford2D3D dataset (0.0899) and the lowest Mean Absolute Error (MAE) on 360D (0.0894). Qualitatively, the resulting 3D point clouds showed significantly less noise and sharper structural boundaries around doors, walls, and ceilings compared to prior state-of-the-art models.

Limitations and Future Work

Despite its efficiency during inference, the framework has a few notable limitations:

  • Memory Overhead: The FAF caching strategy requires substantial additional GPU memory to store connectivity matrices, which scales up with higher mesh resolutions.
  • Training Constraints: The dual-encoder architecture and mesh operations result in high GPU memory consumption during the training phase.
  • Resolution Limits: Due to these memory constraints, the current implementation does not support ultra-high-resolution panoramas (such as $1024 \times 2048$).

The authors note that future work will focus on optimizing mesh operations to reduce this memory footprint and accommodate higher-resolution inputs.

Summary updated

BibTeX
@inproceedings{yan2025spherefusion,
  author = {Qingsong Yan and Qiang Wang and Kaiyong Zhao and Jie Chen and Bo Li and Xiaowen Chu and Fei Deng},
  title = {{SphereFusion: Efficient Panorama Depth Estimation via Gated Fusion}},
  booktitle = {3DV},
  year = {2025},
  doi = {10.1109/3dv66043.2025.00084},
}
Figure