Skip to main content

Rendering Scenes for Simulating Adverse Weather Conditions

  • Conference paper
  • First Online:
Advances in Computational Intelligence (IWANN 2021)

Abstract

Most of the object detection schemes do not perform well when the input image is captured in adverse weather. Reason being that the available datasets for training/testing of those schemes didn’t have many images in such weather conditions. Thus in this work, a novel approach to render foggy and rainy datasets is proposed. The rain is generated via estimation of the area of the scene image and then computing streak volume and finally overlapping the streaks with the scene image. As visibility reduces with depth due to fog, rendering of fog must take depth-map into consideration. In the proposed scheme, the depth map is generated from a single image. Then, the fog coefficient is generated by modifying the 3D Perlin noise with respect to the depth map. Further, blending the corresponding density of the fog with the scene image at a particular region based on precomputed intensities at that region. Demo dataset is available in this https://github.com/senprithwish1994/DatasetAdverse.

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 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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. https://idd.insaan.iiit.ac.in/

  2. Ancuti, C.O., Ancuti, C., Timofte, R., Vleeschouwer, C.D.: I-haze: a dehazing benchmark with real hazy and haze-free indoor images. arXiv:1804.05091v1 (2018)

  3. Ancuti, C.O., Ancuti, C., Timofte, R., Vleeschouwer, C.D.: O-haze: a dehazing benchmark with real hazy and haze-free outdoor images. In: IEEE Conference on Computer Vision and Pattern Recognition, NTIRE Workshop. NTIRE CVPR 2018 (2018)

    Google Scholar 

  4. von Bernuth, A., Volk, G., Bringmann, O.: Rendering physically correct raindrops on windshields for robustness verification of camera-based object recognition. In: 2018 IEEE Intelligent Vehicles Symposium (IV), pp. 922–927. IEEE (2018)

    Google Scholar 

  5. von Bernuth, A., Volk, G., Bringmann, O.: Simulating photo-realistic snow and fog on existing images for enhanced CNN training and evaluation. In: 2019 IEEE Intelligent Transportation Systems Conference (ITSC), pp. 41–46. IEEE (2019)

    Google Scholar 

  6. Changbo, W., Wang, Z., Zhang, X., Huang, L., Yang, Z., Peng, Q.: Real-time modeling and rendering of raining scenes. Vis. Comput. 24(7–9), 605–616 (2008)

    Article  Google Scholar 

  7. Creus, C., Patow, G.A.: R4: realistic rain rendering in realtime. Comput. Graph. 37(1–2), 33–40 (2013)

    Article  Google Scholar 

  8. Garg, K., Nayar, S.K.: Photorealistic rendering of rain streaks. ACM Trans. Graph. (TOG) 25(3), 996–1002 (2006)

    Article  Google Scholar 

  9. Gong, R., Dai, D., Chen, Y., Li, W., Van Gool, L.: Analogical image translation for fog generation. arXiv preprint arXiv:2006.15618 (2020)

  10. Guo, F., Tang, J., Xiao, X.: Foggy scene rendering based on transmission map estimation. Int. J. Comput. Games Technol. 2014 (2014)

    Google Scholar 

  11. Halder, S.S., Lalonde, J.F., Charette, R.D.: Physics-based rendering for improving robustness to rain. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 10203–10212 (2019)

    Google Scholar 

  12. He, K., Sun, J., Tang, X.: Single image haze removal using dark channel prior. IEEE Trans. Pattern Anal. Mach. Intell. 33(12), 2341–2353 (2010)

    PubMed  Google Scholar 

  13. He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778 (2016)

    Google Scholar 

  14. Kerim, A., Celikcan, U., Erdem, E., Erdem, A.: Using synthetic data for person tracking under adverse weather conditions. Image Vision Comput. 104187 (2021)

    Google Scholar 

  15. Li, B., et al.: Benchmarking single-image dehazing and beyond. IEEE Trans. Image Process. 28(1), 492–505 (2019). https://doi.org/10.1109/TIP.2018.2867951

    Article  Google Scholar 

  16. Narasimhan, S.G., Nayar, S.K.: Contrast restoration of weather degraded images. IEEE Trans. Pattern Anal. Mach. Intell. 25(6), 713–724 (2003)

    Article  Google Scholar 

  17. Nishino, K., Kratz, L., Lombardi, S.: Bayesian defogging. Int. J. Comput. Vision 98(3), 263–278 (2012)

    Article  Google Scholar 

  18. Ranftl, R., Lasinger, K., Hafner, D., Schindler, K., Koltun, V.: Towards robust monocular depth estimation: Mixing datasets for zero-shot cross-dataset transfer. arXiv preprint arXiv:1907.01341 (2019)

  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. Tan, R.T.: Visibility in bad weather from a single image. In: 2008 IEEE Conference on Computer Vision and Pattern Recognition, pp. 1–8. IEEE (2008)

    Google Scholar 

  21. Tatarchuk, N.: Artist-directable real-time rain rendering in city environments. In: ACM SIGGRAPH 2006 Courses, pp. 23–64 (2006)

    Google Scholar 

  22. Tremblay, M., Halder, S.S., de Charette, R., Lalonde, J.F.: Rain rendering for evaluating and improving robustness to bad weather. Int. J. Comput. Vision 129(2), 341–360 (2021)

    Article  Google Scholar 

  23. Watson, J., Aodha, O.M., Turmukhambetov, D., Brostow, G.J., Firman, M.: Learning stereo from single images. In: Vedaldi, A., Bischof, H., Brox, T., Frahm, J.-M. (eds.) ECCV 2020. LNCS, vol. 12346, pp. 722–740. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-58452-8_42

    Chapter  Google Scholar 

  24. Xian, K., et al.: Monocular relative depth perception with web stereo data supervision. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 311–320 (2018)

    Google Scholar 

  25. Zdrojewska, D.: Real time rendering of heterogeneous fog based on the graphics hardware acceleration. Proc. CESCG 4, 95–101 (2004)

    Google Scholar 

  26. Zhai, L., et al.: It’s raining cats or dogs? Adversarial rain attack on DNN perception. arXiv preprint arXiv:2009.09205 (2020)

  27. Zhang, N., Zhang, L., Cheng, Z.: Towards simulating foggy and hazy images and evaluating their authenticity. In: Liu, D., Xie, S., Li, Y., Zhao, D., El-Alfy, E.S. (eds.) International Conference on Neural Information Processing, pp. 405–415. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-70090-8_42

  28. http://www.cvlibs.net/datasets/kitti/

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Prithwish Sen .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Sen, P., Das, A., Sahu, N. (2021). Rendering Scenes for Simulating Adverse Weather Conditions. In: Rojas, I., Joya, G., CatalĂ , A. (eds) Advances in Computational Intelligence. IWANN 2021. Lecture Notes in Computer Science(), vol 12861. Springer, Cham. https://doi.org/10.1007/978-3-030-85030-2_29

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-85030-2_29

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-85029-6

  • Online ISBN: 978-3-030-85030-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics