Dual-Projection Fusion for Accurate Upright Panorama Generation in Robotic Vision

Yuhao Shan, Qianyi Yuan, Jingguo Liu, Shigang Li, Jianfeng Li, Tong Chen · DOI

Abstract: Panoramic cameras, capable of capturing a 360-degree field of view, are crucial in robotic vision, particularly in environments with sparse features. However, non-upright panoramas due to unstable robot postures hinder downstream tasks. Traditional IMU-based correction methods suffer from drift and external disturbances, while vision-based approaches offer a promising alternative. This study presents a dual-stream angle-aware generation network that jointly estimates camera inclination angles and reconstructs upright panoramic images. The network comprises a CNN branch that extracts local geometric structures from equirectangular projections and a ViT branch that captures global contextual cues from cubemap projections. These are integrated through a dual-projection adaptive fusion module that aligns spatial features across both domains. To further enhance performance, we introduce a high-frequency enhancement block, circular padding, and channel attention mechanisms to preserve 360° continuity and improve geometric sensitivity. Experiments on the SUN360 and M3D datasets demonstrate that our method outperforms existing approaches in both inclination estimation and upright panorama generation. Ablation studies further validate the contribution of each module and highlight the synergy between the two tasks.

Introduction

Panoramic cameras are essential for modern robotics because they provide a complete $360^\circ$ field of view. This capability is particularly vital in feature-sparse environments, such as empty hallways or natural landscapes, where a limited field of view might fail to capture enough landmarks for localization or mapping.

Panoramic vision applications in robotics, including handheld devices, mobile robots, and drones.

However, as a robot moves, its posture is rarely perfectly level. This results in "non-upright" panoramas where the horizon is tilted and vertical structures are distorted. Standard downstream tasks—such as SLAM (Simultaneous Localization and Mapping), object detection, and depth estimation—typically assume the input image is upright. While hardware solutions like gimbals exist, they are prone to mechanical failure or magnetic interference. This paper seeks a robust, end-to-end learning approach that works across diverse scenes without relying on perfect geometric primitives.

Methodology

The core of our approach is the Dual-Stream Angle-Aware Generation Network. This architecture is designed to handle the unique geometric properties of panoramic imagery through several key innovations:

Dual-Projection Streams

Panoramic images are typically stored as Equirectangular Projections (ERP). While ERP is convenient, it suffers from heavy distortion at the poles. To mitigate this, our network uses two streams:

  1. CNN Branch: Processes ERP images to extract local geometric structures using a ConvNeXt-based backbone.
  2. ViT Branch: Processes Cubemap Projections (CMP). Cubemaps reduce polar distortion, making it easier for the Vision Transformer to capture global "uprightness" cues.
The geometric mapping process of an equirectangular projection (ERP) from a spherical coordinate system.

Key Architectural Components

  • Adaptive Multi-scale Fusion: Instead of simple concatenation, a spatial attention mechanism adaptively weights global and local information across different scales.
  • High-Frequency Enhancement (HFEConvBlk): A specialized block emphasizes edges and contours. Since the perception of "upright" depends heavily on vertical and horizontal lines, boosting these details improves performance in feature-sparse scenes.
  • 3D Spherical Regression: To ensure geometric consistency, the model predicts 3D coordinate offsets on a unit sphere rather than 2D pixel offsets.
  • Circular Padding: To handle the "wrap-around" nature of $360^\circ$ images, the network uses circular padding, ensuring the model understands that the far-left and far-right edges are adjacent.

Experimental Results

The model was evaluated on the SUN360 and M3D benchmarks, representing a mix of indoor and outdoor environments.

  • Angle Accuracy: On the SUN360 dataset, the model achieved 65.9% accuracy within a strict $1^\circ$ error threshold, significantly outperforming the previous state-of-the-art (3dCoMap at 53.3%).
  • Perceptual Quality: The model showed a massive improvement in FID (Fréchet Inception Distance). On the M3D dataset, it scored 3.26 compared to 3dCoMap’s 18.40, indicating much sharper and more faithful reconstructions.
  • Efficiency: The "Implicit Alignment" version of the model runs at roughly 20.7 FPS on an NVIDIA RTX 3090, making it viable for near-real-time robotic perception.

Conclusion

Our dual-stream framework demonstrates that jointly training for inclination estimation and image reconstruction creates a powerful synergy. By explicitly enhancing high-frequency structural cues and fusing local and global projections, the network achieves superior robustness. Future work will focus on reducing noise sensitivity in the enhancement modules and developing lightweight versions for deployment on edge devices.

Summary updated

BibTeX
@misc{shan2025dual,
  author = {Yuhao Shan and Qianyi Yuan and Jingguo Liu and Shigang Li and Jianfeng Li and Tong Chen},
  title = {{Dual-Projection Fusion for Accurate Upright Panorama Generation in Robotic Vision}},
  year = {2025},
  eprint = {2512.00911},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.00911},
}
Figure