skip to main content
10.1145/3473258.3473263acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicbbtConference Proceedingsconference-collections
research-article

Deep Multi-task Learning for Shadow Detection and Removal

Published:11 December 2021Publication History

ABSTRACT

Shadows actually play an important role in image understanding. But even for the same object, the intensity and shape of the shadows can vary with the environment. Thus it is a quite changeling issue to detect and remove shadows from images. Recent studies have been trying to solve these two tasks independently, but they are closely related to each other actually. Therefore, we propose a multi-task adversarial generative networks (mtGAN) that can detect and remove shadows simultaneously. For the proposed mtGAN, the cross-stitch unit is applied to learn the optimal ways to share features between multi-tasks, which is not set empirically as usual. Also, the combination weight of multi-task loss functions are trained according to the uncertainty distribution of each task. Based on these multi-task learning strategies, the proposed mtGAN can achieve shadow detection and removal tasks better than existing methods. In experiments, the effectiveness of the proposed mtGAN is shown.

References

  1. J. T. Barron and J. Malik. 2015. Shape, illumination, and reflectance from shading. IEEE Trans. on PAMI 37, 8 (2015), 1670–1687.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. C. Benedek and T. Szirányi. 2008. Bayesian foreground and shadow detection in uncertain frame rate surveillance videos. IEEE Trans. on IP 17, 4 (2008), 608–621.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. R. Cipolla, Y. Gal, and A. Kendall. 2018. Multi-task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semantics. CVPR (2018), 7482–7491.Google ScholarGoogle Scholar
  4. B. Ding, C. Long, L. Zhang, and C. Xiao. 2019. ARGAN: Attentive Recurrent Generative Adversarial Network for Shadow Detection and Removal.ICCV (2019).Google ScholarGoogle Scholar
  5. G. D. Finlayson, S. D. Hordley, C. Lu, and M. S. Drew. 2006. On the removal of shadows from images. IEEE Trans. on PAMI 28, 1 (2006), 59–68.Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. G. D. Finlayson, S. D. Hordley, C. Lu, and M. S. Drew. 2006. On the removal of shadows from images. IEEE Trans. PAMI 28, 1 (2006), 59–68.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. H. Gong and D.P. Cosker. 2014. Interactive shadow removal and ground truth for variable scene categories. In BMVC.Google ScholarGoogle Scholar
  8. M. Gryka, M. Terry, and G. J. Brostow. 2015. Learning to remove soft shadows. ACM Trans. on Graphics (TOG) 34, 5 (2015), 153.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. R. Guo, Q. Dai, and D. Hoiem. 2011. Single-image shadow detection and removal using paired regions. In CVPR. 2033–2040.Google ScholarGoogle Scholar
  10. K. He, X. Zhang, S. Ren, and J. Sun. 2016. Deep Residual Learning for Image Recognition. In CVPR. 770–778.Google ScholarGoogle Scholar
  11. Sergey Ioffe and Christian Szegedy. 2015. Batch normalization: Accelerating deep network training by reducing internal covariate shift. arXiv preprint arXiv:1502.03167(2015).Google ScholarGoogle Scholar
  12. X. Jiang, A. J. Schofield, and J. L. Wyatt. 2011. Shadow Detection based on Colour Segmentation and Estimated Illumination.BMVC (2011), 1–11.Google ScholarGoogle Scholar
  13. Justin Johnson, Alexandre Alahi, and Li Fei-Fei. 2016. Perceptual losses for real-time style transfer and super-resolution. In European conference on computer vision. Springer, 694–711.Google ScholarGoogle ScholarCross RefCross Ref
  14. S. H. Khan, M. Bennamoun, F. Sohel, and R. Togneri. 2016. Automatic shadow detection and removal from a single image. IEEE Trans. on PAMI3(2016), 431–446.Google ScholarGoogle Scholar
  15. J.-F. Lalonde, A. A. Efros, and S. G. Narasimhan. 2010. Detecting ground shadows in outdoor consumer photographs. In ECCV. Springer, 322–335.Google ScholarGoogle Scholar
  16. H. Le and D. Samaras. 2019. Shadow Removal via Shadow Image Decomposition.ICCV (2019).Google ScholarGoogle Scholar
  17. M. Long and J. Wang. 2015. Learning Multiple Tasks with Deep Relationship Networks.arXiv: Learning (2015).Google ScholarGoogle Scholar
  18. I. Misra, A. Shrivastava, A. Gupta, and M. Hebert. 2016. Cross-Stitch Networks for Multi-task Learning. CVPR (2016), 3994–4003.Google ScholarGoogle Scholar
  19. M. Qi, J. Dai, Q. Zhang, and J. Kong. 2014. Cascaded cast shadow detection method in surveillance scenes. Optik-International Journal for Light and Electron Optics 125, 3(2014), 1396–1400.Google ScholarGoogle ScholarCross RefCross Ref
  20. L. Qu, J. Tian, S. He, Y. Tang, and R. Lau. 2017. Deshadownet: A multi-context embedding deep network for shadow removal. In CVPR. 3.Google ScholarGoogle Scholar
  21. R. Ranjan, V. M. Patel, and R. Chellappa. 2019. HyperFace: A Deep Multi-Task Learning Framework for Face Detection, Landmark Localization, Pose Estimation, and Gender Recognition. IEEE Trans. on PAMI 41, 1 (2019), 121–135.Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. L. Shen, T. W. Chua, and K. Leman. 2015. Shadow optimization from structured deep edge detection. In CVPR. IEEE, 2067–2074.Google ScholarGoogle Scholar
  23. E. Vazquez, R. Baldrich, J. V. De Weijer, and M. Vanrell. 2011. Describing Reflectances for Color Segmentation Robust to Shadows, Highlights, and Textures. IEEE Trans. on PAMI 33, 5 (2011), 917–930.Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. J. Wang, X. Li, and J. Yang. 2018. Stacked conditional generative adversarial networks for jointly learning shadow detection and shadow removal. In CVPR. 1788–1797.Google ScholarGoogle Scholar
  25. Q. Yang, K.-H. Tan, and N. Ahuja. 2012. Shadow removal using bilateral filtering. IEEE Trans. on IP 21, 10 (2012), 4361–4368.Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Q. Zheng, X. Qiao, Y. Cao, and R. W. H. Lau. 2019. Distraction-Aware Shadow Detection. CVPR (2019), 5167–5176.Google ScholarGoogle Scholar

Index Terms

  1. Deep Multi-task Learning for Shadow Detection and Removal
        Index terms have been assigned to the content through auto-classification.

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Other conferences
          ICBBT '21: Proceedings of the 2021 13th International Conference on Bioinformatics and Biomedical Technology
          May 2021
          293 pages
          ISBN:9781450389655
          DOI:10.1145/3473258

          Copyright © 2021 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 11 December 2021

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article
          • Research
          • Refereed limited
        • Article Metrics

          • Downloads (Last 12 months)20
          • Downloads (Last 6 weeks)4

          Other Metrics

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader

        HTML Format

        View this article in HTML Format .

        View HTML Format