Skip to main content

Depth Estimation from a Single Image Using Line Segments only

  • Conference paper
  • First Online:
Advances in Artificial Intelligence – IBERAMIA 2022 (IBERAMIA 2022)

Abstract

We present a method for depth estimation from a single image using an intermediate representation in the form of line segments. Rather than regressing depth from a chromatic image in RGB format, we explore the use an image containing line segments extracted from the original chromatic image using the Line Segment Detector (LSD), arguing that this image, even when sparse in visual data, still contains information to infer a depth image. Our proposed approach has been tested on the NYU-depth dataset for indoor scenes and on simulated images created with Airsim, seeking to assess the performance of our method with synthetic images. Our experiments show promising results confirming that it is possible to estimate a depth image from a single image containing line segments only.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Alhashim, I., Wonka, P.: High quality monocular depth estimation via transfer learning. CoRR abs/1812.11941 (2018). https://arxiv.org/abs/1812.11941

  2. Cao, Y., Wu, Z., Shen, C.: Estimating depth from monocular images as classification using deep fully convolutional residual networks. IEEE Trans. Circuits Syst. Video Technol. 28(11), 3174–3182 (2018). https://doi.org/10.1109/tcsvt.2017.2740321

    Article  Google Scholar 

  3. Chen, S.Y., Su, W., Gao, L., Xia, S., Fu, H.: Deep generation of face images from sketches. arXiv preprint arXiv:2006.01047 (2020)

  4. CS Kumar, A., Bhandarkar, S.M., Prasad, M.: Depthnet: a recurrent neural network architecture for monocular depth prediction. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 283–291 (2018)

    Google Scholar 

  5. Eigen, D., Puhrsch, C., Fergus, R.: Depth map prediction from a single image using a multi-scale deep network. CoRR abs/1406.2283 (2014). https://arxiv.org/abs/1406.2283

  6. Fu, H., Gong, M., Wang, C., Batmanghelich, K., Tao, D.: Deep ordinal regression network for monocular depth estimation. CoRR abs/1806.02446 (2018). arxiv.org/abs/1806.02446

  7. Garcia-Garcia, A., Orts-Escolano, S., Oprea, S., Villena-Martinez, V., Rodríguez, J.G.: A review on deep learning techniques applied to semantic segmentation. CoRR abs/1704.06857 (2017). https://arxiv.org/abs/1704.06857

  8. Geiger, A., Lenz, P., Urtasun, R.: Are we ready for autonomous driving? the kitti vision benchmark suite. In: 2012 IEEE Conference on Computer Vision and Pattern Recognition, pp. 3354–3361. IEEE (2012)

    Google Scholar 

  9. Grompone von Gioi, R., Jakubowicz, J., Morel, J.M., Randall, G.: Lsd: a line segment detector. Image Processing On Line 2, 35–55 (2012). https://doi.org/10.5201/ipol.2012.gjmr-lsd

  10. Hao, Z., Li, Y., You, S., Lu, F.: Detail preserving depth estimation from a single image using attention guided networks. CoRR abs/1809.00646 (2018). https://arxiv.org/abs/1809.00646

  11. Jiang, H., Ding, L., Hu, J., Huang, R.: Plnet: Plane and line priors for unsupervised indoor depth estimation. CoRR abs/2110.05839 (2021). https://arxiv.org/abs/2110.05839

  12. Ladicky, L., Shi, J., Pollefeys, M.: Pulling things out of perspective. In: 2014 IEEE Conference on Computer Vision and Pattern Recognition (2014). https://doi.org/10.1109/cvpr.2014.19

  13. Laina, I., Rupprecht, C., Belagiannis, V., Tombari, F., Navab, N.: Deeper depth prediction with fully convolutional residual networks. CoRR abs/1606.00373 (2016). https://arxiv.org/abs/1606.00373

  14. Langlois, P., Boulch, A., Marlet, R.: Surface reconstruction from 3d line segments. CoRR abs/1911.00451 (2019). https://arxiv.org/abs/1911.00451

  15. Li, Y., Chen, X., Yang, B., Chen, Z., Cheng, Z., Zha, Z.J.: Deepfacepencil: creating face images from freehand sketches. In: Proceedings of the 28th ACM International Conference on Multimedia, MM 2020. ACM, New York (2020). https://doi.org/10.1145/3394171.3413684. https://doi.acm.org/10.1145/3394171.3413684

  16. Liu, F., Shen, C., Lin, G.: Deep convolutional neural fields for depth estimation from a single image. CoRR abs/1411.6387 (2014), https://arxiv.org/abs/1411.6387

  17. Lopez-Campos, R., Martinez-Carranza, J.: Espada: Extended synthetic and photogrammetric aerial-image dataset. IEEE Robot. Autom. Lett. 1, October 2021. https://doi.org/10.1109/LRA.2021.3101879

  18. Saxena, A., Chung, S.H., Ng, A.Y.: 3-d depth reconstruction from a single still image. Int. J. Comput. Vision 76(1), 53–69 (2007). https://doi.org/10.1007/s11263-007-0071-y

    Article  Google Scholar 

  19. Silberman, N., Hoiem, D., Kohli, P., Fergus, R.: Indoor segmentation and support inference from RGBD images. In: Fitzgibbon, A., Lazebnik, S., Perona, P., Sato, Y., Schmid, C. (eds.) ECCV 2012. LNCS, vol. 7576, pp. 746–760. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-33715-4_54

    Chapter  Google Scholar 

  20. Wang, W., et al.: Tartanair: a dataset to push the limits of visual SLAM. CoRR abs/2003.14338 (2020). https://arxiv.org/abs/2003.14338

  21. Xu, D., Ricci, E., Ouyang, W., Wang, X., Sebe, N.: Multi-scale continuous crfs as sequential deep networks for monocular depth estimation. CoRR abs/1704.02157 (2017). https://arxiv.org/abs/1704.02157

  22. Xu, P., Hospedales, T.M., Yin, Q., Song, Y.Z., Xiang, T., Wang, L.: Deep learning for free-hand sketch: A survey. IEEE Transactions on Pattern Analysis and Machine Intelligence (2022)

    Google Scholar 

  23. Yu, H., Zhen, W., Yang, W., Scherer, S.: Line-based 2-d–3-d registration and camera localization in structured environments. IEEE Trans. Instrum. Measur. 69(11), 8962–8972 (2020). https://doi.org/10.1109/tim.2020.2999137

  24. Zhao, C., Sun, Q., Zhang, C., Tang, Y., Qian, F.: Monocular depth estimation based on deep learning: an overview. Sci. China Technol. Sci., 1–16 (2020)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to José G. Nava Zavala .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Zavala, J.G.N., Martinez-Carranza, J. (2022). Depth Estimation from a Single Image Using Line Segments only. In: Bicharra Garcia, A.C., Ferro, M., Rodríguez Ribón, J.C. (eds) Advances in Artificial Intelligence – IBERAMIA 2022. IBERAMIA 2022. Lecture Notes in Computer Science(), vol 13788. Springer, Cham. https://doi.org/10.1007/978-3-031-22419-5_28

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-22419-5_28

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-22418-8

  • Online ISBN: 978-3-031-22419-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics