Skip to main content
Log in

Robust upright adjustment of 360 spherical panoramas

  • Original Article
  • Published:
The Visual Computer Aims and scope Submit manuscript

Abstract

With the recent advent of 360 cameras, spherical panorama images are becoming more popular and widely available. In a spherical panorama, alignment of the scene orientation to the image axes is important for providing comfortable and pleasant viewing experiences using VR headsets and traditional displays. This paper presents an automatic method for upright adjustment of 360 spherical panorama images without any prior information, such as depths and gyro sensor data. We take the Atlanta world assumption and use the horizontal and vertical lines in the scene to formulate a cost function for upright adjustment. In addition to fast optimization of the cost function, our method includes outlier handling to improve the robustness and accuracy of upright adjustment. Our method produces visually pleasing results for a variety of real-world spherical panoramas in less than a second, and the accuracy is verified using ground-truth data.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

References

  1. Akinlar, C., Topal, C.: Edlines: A real-time line segment detector with a false detection control. Pattern Recognit. Lett. 32(13), 1633–1642 (2011)

    Article  Google Scholar 

  2. Bazin, J.C., Demonceaux, C., Vasseur, P., Kweon, I.: Rotation estimation and vanishing point extraction by omnidirectional vision in urban environment. Int. J. Rob. Res. 31(1), 63–81 (2012)

    Article  Google Scholar 

  3. Bosse, M., Rikoski, R.J., Leonard, J.J., Teller, S.J.: Vanishing points and 3D lines from omnidirectional video. In: Proceedings of IEEE International Conference on Image Processing (2002)

  4. Gallagher, A.C.: Using vanishing points to correct camera rotation in images. In: Proceedings of Canadian Conference on Computer and Robot Vision, pp. 460–467. IEEE (2005)

  5. von Gioi, R., Jakubowicz, J., Morel, J.M., Randall, G.: LSD: a fast line segment detector with a false detection control. IEEE Trans. Pattern Anal. Mach. Intell. 32(4), 722–732 (2010)

    Article  Google Scholar 

  6. He, K., Chang, H., Sun, J.: Content-aware rotation. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 553–560 (2013)

  7. Kamali, M., Banno, A., Bazin, J.C., Kweon, I.S., Ikeuchi, K.: Stabilizing omnidirectional videos using 3d structure and spherical image warping. In: Proceedings IAPR Conference on Machine Vision Applications, pp. 177–180 (2011)

  8. Kopf, J.: 360 video stabilization. ACM Trans. Gr. (TOG) 35(6), 195 (2016)

    Google Scholar 

  9. Kopf, J., Lischinski, D., Deussen, O., Cohen-Or, D., Cohen, M.: Locally adapted projections to reduce panorama distortions. Comput. Gr. Forum 28(4), 1083–1089 (2009)

    Article  Google Scholar 

  10. Lee, H., Shechtman, E., Wang, J., Lee, S.: Automatic upright adjustment of photographs with robust camera calibration. IEEE Trans. Pattern Anal. Mach. Intell. 36(5), 833–844 (2014)

    Article  Google Scholar 

  11. Scaramuzza, D.: Omnidirectional vision: from calibration to robot motion estimation. Ph.D. thesis, ETH Zurich (2008)

  12. Schindler, G., Dellaert, F.: Atlanta world: an expectation maximization framework for simultaneous low-level edge grouping and camera calibration in complex man-made environments. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 203–209 (2004)

  13. Wang, X., Cao, X., Guo, X., Song, Z.: Beautifying fisheye images using orientation and shape cues. In: Proceedings of the ACM International Conference on Multimedia, pp. 829–832 (2014)

  14. Wang, Z., Jin, X., Xue, F., He, X., Li, R., Zha, H.: Panorama to cube: a content-aware representation method. In: Proceedings of the SIGGRAPH Asia 2015 Technical Briefs, SA ’15, pp. 6:1–6:4 (2015)

Download references

Acknowledgements

This work was supported by Institute for Information & communications Technology Promotion (IITP) grant (R0126-17-1078), the National Research Foundation of Korea (NRF) grant (NRF-2014R1A2A1A11052779), and Korea Creative Content Agency (KOCCA) grant (APP-0120150512002), funded by the Korea government (MSIP, MCST).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Seungyong Lee.

Electronic supplementary material

Below is the link to the electronic supplementary material.

Supplementary material 1 (jpg 2915 KB)

Supplementary material 2 (jpg 2961 KB)

Supplementary material 3 (jpg 3482 KB)

Supplementary material 4 (jpg 3500 KB)

Supplementary material 5 (jpg 3031 KB)

Supplementary material 6 (jpg 3072 KB)

Supplementary material 7 (jpg 3534 KB)

Supplementary material 8 (jpg 3847 KB)

Supplementary material 9 (jpg 3412 KB)

Supplementary material 10 (jpg 3535 KB)

Supplementary material 11 (jpg 4034 KB)

Supplementary material 12 (jpg 4373 KB)

Supplementary material 13 (jpg 3350 KB)

Supplementary material 14 (jpg 3373 KB)

Supplementary material 15 (jpg 3647 KB)

Supplementary material 16 (jpg 4015 KB)

Supplementary material 17 (jpg 2828 KB)

Supplementary material 18 (jpg 2884 KB)

Supplementary material 19 (jpg 3775 KB)

Supplementary material 20 (jpg 4091 KB)

Supplementary material 21 (jpg 3771 KB)

Supplementary material 22 (jpg 4034 KB)

Supplementary material 23 (jpg 3342 KB)

Supplementary material 24 (jpg 3560 KB)

Supplementary material 25 (jpg 3361 KB)

Supplementary material 26 (jpg 3444 KB)

Supplementary material 27 (jpg 3217 KB)

Supplementary material 28 (jpg 3184 KB)

Supplementary material 29 (avi 7643 KB)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Jung, J., Kim, B., Lee, JY. et al. Robust upright adjustment of 360 spherical panoramas. Vis Comput 33, 737–747 (2017). https://doi.org/10.1007/s00371-017-1368-7

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00371-017-1368-7

Keywords

Navigation