Anchor-Based Gravity Alignment for Panoramas
A crucial step for improving the usability of panoramas is the accurate alignment of the upright vector to match the direction of gravity. This paper introduces an anchor-based method for estimating the upright vector in panoramas. Our method, named AnchorsUp, combines the strengths of classification and regression by selecting a rough estimate of the upright vector from a predefined set of anchor vectors, followed by a fine-grained adjustment through regression to achieve precise alignment. We evaluate AnchorsUp on the SUN360 dataset and show superior performance compared to state-of-the-art methods, particularly for angular errors below 5 and 12 degrees, considered the most relevant in practical applications. The source code and dataset information are available at https://github.com/mabergmann/anchorsup.
Authors
- Cláudio R. Jung (ORCID: https://orcid.org/0000-0002-4711-5783)
- Matheus A. Bergmann
- Thiago L. T. da Silveira (ORCID: https://orcid.org/0000-0001-6788-2667)
- Rômulo Marconato Stringhini
Institutions
- Universidade Federal do Rio Grande do Sul (BR)
- Universidade Federal de Santa Maria (BR)
Publication Details
- Published
- 2025-08-18
- DOI
- https://doi.org/10.1109/icip55913.2025.11084672
- Primary Topic
- Inertial Sensor and Navigation
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Coordenação de Aperfeiçoamento de Pessoal de Nível Superior
- Conselho Nacional de Desenvolvimento Científico e Tecnológico
- Fundação de Amparo à Pesquisa do Estado do Rio Grande do Sul