Skip to main content
Log in

Vanishing point detection and line classification with BPSO

  • Original Paper
  • Published:
Signal, Image and Video Processing Aims and scope Submit manuscript

Abstract

Estimating image vanishing points has many applications in the computer vision field, such as robotic navigation, visual measurement, camera calibration, 3D reconstruction and augmented reality, which requires a balance between accuracy and rate. In this paper, we present an algorithm to accurately and efficiently detect vanishing points and classify lines through the clustering method and binary particle swarm optimization (BPSO). First, lines are clustered according to their slope angles based on an iterative BPSO process, since parallel lines, in a medium-to-long range scene, present similar slopes. The solutions are continuously evaluated using multiple factors, such as the number and length of the line segments and their distance to the related vanishing points. The coefficient of variation is applied to weigh these factors. As a result, all possible non-orthogonal vanishing points in the image are directly detected, irrespective of the camera calibration parameters to avoid mapping segments on the Gaussian sphere. Compared with other algorithms on the York Urban Database, the proposed algorithm exhibits significant performance improvements.

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.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

References

  1. Almansa, A., Desolneux, A., Vamech, S.: Vanishing point detection without any a priori information. IEEE Trans. Pattern Anal. Mach. Intell. 25(4), 502–507 (2003)

    Article  Google Scholar 

  2. Li, B.: Vanishing point detection using cascaded 1D hough transform from single images. Pattern Recognit. Lett. 33(1), 1–8 (2012)

    Article  Google Scholar 

  3. Moghadam, P., Starzyk, J.A., Wijesoma, W.S.: Fast vanishing-point detection in unstructured environments. IEEE Trans. Image Process. 21(1), 425–430 (2012)

    Article  MathSciNet  Google Scholar 

  4. Antone, M.E., Teller, S.: Automatic recovery of relative camera rotations for urban scenes. In: Computer Vision and Pattern Recognition, 2000. Proceedings. IEEE Conference on. vol. 2. IEEE (2000)

  5. Košecká, J., Zhang, W.: Video compass. In: Computer Vision—ECCV 2002. Springer, Berlin, pp. 476–490 (2002)

  6. Seo, K.-S., Lee, J.-H., Choi, H.-M.: An efficient detection of vanishing points using inverted coordinates image space. Pattern Recognit. Lett. 27(2), 102–108 (2006)

    Article  Google Scholar 

  7. Barnard, S.T.: Interpreting perspective images. Artif. Intell. 21(4), 435–462 (1983)

    Article  Google Scholar 

  8. Tardif, J.-P.: Non-iterative approach for fast and accurate vanishing point detection. In: Computer Vision, 2009 IEEE 12th International Conference on. IEEE (2009)

  9. Lezama, J., et al.: Finding vanishing points via point alignments in image primal and dual domains. In: Computer Vision and Pattern Recognition (CVPR), 2014 IEEE Conference on. IEEE (2014)

  10. Tuytelaars, T., et al.: The cascaded Hough transform as an aid in aerial image interpretation. In: Computer Vision, 1998. Sixth International Conference on. IEEE (1998)

  11. Antunes, M., Barreto, J.P.: A global approach for the detection of vanishing points and mutually orthogonal vanishing directions. In: Computer Vision and Pattern Recognition (CVPR), 2013 IEEE Conference on. IEEE (2013)

  12. Kalantari, M., Jung, F., Guedon, J.: Precise, automatic and fast method for vanishing point detection. Photogramm. Rec. 24(127), 246–263 (2009)

    Article  Google Scholar 

  13. Rother, C.: A new approach to vanishing point detection in architectural environments. Image Vis. Comput. 20(9), 647–655 (2002)

    Article  Google Scholar 

  14. Eberhart, R.C., Shi, Y.: Particle swarm optimization: developments, applications and resources. In: Evolutionary Computation, 2001. Proceedings of the 2001 Congress on. vol. 1. IEEE (2001)

  15. Lee, M., et al.: A clustering algorithm using particle swarm optimization for DNA chip data analysis. In: Proceedings of the 3rd International Conference on Ubiquitous Information Management and Communication. ACM (2009)

  16. Engelbrecht, A.P.: Computational Intelligence: An Introduction. Wiley, London (2007)

    Book  Google Scholar 

  17. Kennedy, J., Eberhart, R.C.: A discrete binary version of the particle swarm algorithm. In: Systems, Man, And Cybernetics, 1997. Computational Cybernetics and Simulation., 1997 IEEE International Conference on. vol. 5. IEEE (1997)

  18. Nieto, M., Salgado, L.: Non-linear optimization for robust estimation of vanishing points. In: Image Processing (ICIP), 2010 17th IEEE International Conference on. IEEE (2010)

  19. Denis, P., Elder, J.H., Estrada, F.J.: Efficient edge-based methods for estimating Manhattan frames in urban imagery. In: European Conference on Computer Vision, pp. 197–210 (2008)

Download references

Acknowledgments

This work is supported partly by the National Natural Science Foundation of China (Nos. 61401195, 61563036), the Natural Science Foundation of the Jiangsu Higher Education Institutions of China (No. 13KJB520009), and the Key Project of the Young Foundation of Nanjing Institute of Technology, China (Nos. QKJA201204, QKJA201305).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lei Han.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Han, L., Huang, C., Zheng, S. et al. Vanishing point detection and line classification with BPSO. SIViP 11, 17–24 (2017). https://doi.org/10.1007/s11760-016-0883-8

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11760-016-0883-8

Keywords

Navigation