Skip to main content

DeFlare-Net: Flare Detection and Removal Network

  • Conference paper
  • First Online:
Pattern Recognition and Machine Intelligence (PReMI 2023)

Abstract

In this paper, we propose DeFlare-Net to detect, and remove flares. Typically, flares in hand-held devices are inherent due to internal reflection of light and forward scattering of lens material. The distortions due to flares limit the applications in the field of computer vision. Research challenges towards detection and removal of flare persist due to multiple occurrences of flare with varying intensities. The performance of existing flare removal methods are sensitive to the assumption of underlying physics and geometry, leading to artefacts in the deflared image. The current approaches for deflaring involve elimination of light-source implicitly, whilst removal of flare from the image leading to loss of information. Towards this, we propose DeFlare-Net for detection, and removal of flares, while retaining light-source. In this framework, we include Light Source Detection (LSD) module for detection of light-source, and Flare Removal Network (FRN) to remove the flares. Unlike state-of-the-art methods, we propose a novel loss function and call it as DeFlare loss \(L_{DeFlare}\). The loss \(L_{DeFlare}\) includes flare loss \(L_{flare}\), light-source loss \(L_{ls} \), and reconstruction loss \(L_{recon}\) towards removal of flare. We demonstrate the results of proposed methodology on benchmark datasets in comparison with SOTA techniques using appropriate quantitative metrics.

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 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.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

References

  1. Asha, C., Bhat, S., Nayak, D., Bhat, C.: Auto removal of bright spot from images captured against flashing light source. In: 2019 IEEE International Conference on Distributed Computing, VLSI, Electrical Circuits and Robotics, DISCOVER 2019 - Proceedings. Institute of Electrical and Electronics Engineers Inc., USA (2019). https://doi.org/10.1109/DISCOVER47552.2019.9007933

  2. Chabert, F.: Automated lens flare removal. Technical report, ArXiv e-prints (2015). arXiv:1503.04212

  3. Chen, L.C., Zhu, Y., Papandreou, G., Schroff, F., Adam, H.: Encoder-decoder with atrous separable convolution for semantic image segmentation. In: Proceedings of the European Conference on Computer Vision (ECCV), p. 10 (2018)

    Google Scholar 

  4. Clifford, P.: Markov random fields in statistics. Disorder in physical systems: a volume in honour of John M. Hammersley, pp. 19–32 (1990)

    Google Scholar 

  5. Dai, Y., Li, C., Zhou, S., Feng, R., Loy, C.C.: Flare7K: a phenomenological nighttime flare removal dataset. In: Thirty-Sixth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (2022)

    Google Scholar 

  6. Dai, Y., et al.: MIPI 2023 challenge on nighttime flare removal: methods and results. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, pp. 2852–2862 (June 2023)

    Google Scholar 

  7. Desai, C., Benur, S., Tabib, R.A., Patil, U., Mudenagudi, U.: DepthCue: restoration of underwater images using monocular depth as a clue. In: Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV) Workshops, pp. 196–205 (2023)

    Google Scholar 

  8. Faulkner, K., Kotre, C., Louka, M.: Veiling glare deconvolution of images produced by X-ray image intensifiers. In: International Conference on Image Processing and its Applications, p. 2 (1989)

    Google Scholar 

  9. He, K., Sun, J., Tang, X.: Single image haze removal using dark channel prior. IEEE TPAMI 6, 7 (2010)

    Google Scholar 

  10. Ignatov, A., Timofte, R.: AI benchmark: running deep neural networks on android smartphones. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 27–35 (2018). https://doi.org/10.1109/CVPRW.2018.00009

  11. Li, C., Yang, Y., He, K., Lin, S., Hopcroft, J.E.: Single image reflection removal through cascaded refinement, p. 2 (2020)

    Google Scholar 

  12. Qiao, X., Hancke, G.P., Lau, R.W.: Light source guided single-image flare removal from unpaired data. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 4177–4185 (2021)

    Google Scholar 

  13. Ronneberger, O., Fischer, P., Brox, T.: U-net: convolutional networks for biomedical image segmentation. In: Navab, N., Hornegger, J., Wells, W.M., Frangi, A.F. (eds.) MICCAI 2015. LNCS, vol. 9351, pp. 234–241. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-24574-4_28

    Chapter  Google Scholar 

  14. Wu, T.P., Tang, C.K.: A Bayesian approach for shadow extraction from a single image. In: Proceedings of the Tenth IEEE International Conference on Computer Vision (ICCV), pp. 1–7 (2005)

    Google Scholar 

  15. Zhang, X., Ng, R., Chen, Q.: Single image reflection separation with perceptual losses. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4786–4794 (2018)

    Google Scholar 

Download references

Acknowledgement

This project is partly carried out under Department of Science and Technology (DST) through ICPS programme- Indian Heritage in Digital Space for the project “Digital Poompuhar” (DST/ ICPS/ Digital Poompuhar/2017 (General)).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nikhil Akalwadi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 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

Ghodesawar, A. et al. (2023). DeFlare-Net: Flare Detection and Removal Network. In: Maji, P., Huang, T., Pal, N.R., Chaudhury, S., De, R.K. (eds) Pattern Recognition and Machine Intelligence. PReMI 2023. Lecture Notes in Computer Science, vol 14301. Springer, Cham. https://doi.org/10.1007/978-3-031-45170-6_48

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-45170-6_48

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-45169-0

  • Online ISBN: 978-3-031-45170-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics