Learned Pre-processing for Automatic Diabetic Retinopathy Detection on Eye Fundus Images

  • Asim Smailagic
  • Anupma Sharan
  • Pedro CostaEmail author
  • Adrian Galdran
  • Alex Gaudio
  • Aurélio Campilho
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11663)


Diabetic Retinopathy is the leading cause of blindness in the working-age population of the world. The main aim of this paper is to improve the accuracy of Diabetic Retinopathy detection by implementing a shadow removal and color correction step as a preprocessing stage from eye fundus images. For this, we rely on recent findings indicating that application of image dehazing on the inverted intensity domain amounts to illumination compensation. Inspired by this work, we propose a Shadow Removal Layer that allows us to learn the pre-processing function for a particular task. We show that learning the pre-processing function improves the performance of the network on the Diabetic Retinopathy detection task.


Retinal image preprocessing Diabetic retinopathy detection Color balancing 



This work is financed by the ERDF - European Regional Development Fund through the Operational Programme for Competitiveness and Internationalisation - COMPETE 2020 Programme, by National Funds through the FCT - Fundação para a Ciência e a Tecnologia (Portuguese Foundation for Science and Technology) within project CMUP-ERI/TIC/0028/2014.


  1. 1.
    Ruta, L.M., Magliano, D.J., Lemesurier, R., Taylor, H.R., Zimmet, P.Z., Shaw, J.E.: Prevalence of diabetic retinopathy in type 2 diabetes in developing and developed countries. Diabet. Med. 30(4), 387–398 (2013)CrossRefGoogle Scholar
  2. 2.
    Foracchia, M., Grisan, E., Ruggeri, A.: Luminosity and contrast normalization in retinal images. Med. Image Anal. 9(3), 179–190 (2005)CrossRefGoogle Scholar
  3. 3.
    Savelli, B., et al.: Illumination correction by dehazing for retinal vessel segmentation, pp. 219–224, June 2017Google Scholar
  4. 4.
    Saha, S., Fletcher, A., Xiao, D., Kanagasingam, Y.: A novel method for automated correction of non-uniform/poor illumination of retinal images without creating false artifacts. J. Vis. Commun. Image Represent. 51, 95–103 (2018)CrossRefGoogle Scholar
  5. 5.
    Ronneberger, O., Fischer, P., Brox, T.: U-net: convolutional networks for biomedical image segmentation. CoRR, abs/1505.04597 (2015)Google Scholar
  6. 6.
    Leahy, C., O’Brien, A., Dainty, C.: Illumination correction of retinal images using Laplace interpolation. Appl. Opt. 51(35), 8383–8389 (2012)CrossRefGoogle Scholar
  7. 7.
    Xiong, L., Li, H., Xu, L.: An enhancement method for color retinal images based on image formation model. Comput. Methods Program. Biomed. 143, 137–150 (2017)CrossRefGoogle Scholar
  8. 8.
    Mitra, A., Roy, S., Roy, S., Setua, S.K.: Enhancement and restoration of non-uniform illuminated fundus image of retina obtained through thin layer of cataract. Comput. Methods Program. Biomed. 156, 169–178 (2018)CrossRefGoogle Scholar
  9. 9.
    Galdran, A., Bria, A., Alvarez-Gila, A., Vazquez-Corral, J., Bertalmío, M.: On the duality between retinex and image dehazing. In: 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 8212–8221, June 2018Google Scholar
  10. 10.
    Narasimhan, S.G., Nayar, S.K.: Vision and the atmosphere. Int. J. Comput. Vis. 48(3), 233–254 (2002)CrossRefGoogle Scholar
  11. 11.
    Narasimhan, S.G., Nayar, S.K.: Chromatic framework for vision in bad weather. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (2000)Google Scholar
  12. 12.
    Fattal, R.: Single image dehazing. ACM Trans. Graph. 27(3), 72:1–72:9 (2008)CrossRefGoogle Scholar
  13. 13.
    Tan, R.: Visibility in bad weather from a single image, June 2008Google Scholar
  14. 14.
    He, K., Sun, J., Tang, X.: Single image haze removal using dark channel prior. IEEE Trans. Pattern Anal. Mach. Intell. 33(12), 2341–2353 (2011)CrossRefGoogle Scholar
  15. 15.
    Decencière, E., et al.: Feedback on a publicly distributed database: the messidor database. Image Anal. Stereol. 33(3), 231–234 (2014)CrossRefGoogle Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  • Asim Smailagic
    • 1
  • Anupma Sharan
    • 1
  • Pedro Costa
    • 2
    Email author
  • Adrian Galdran
    • 3
  • Alex Gaudio
    • 1
  • Aurélio Campilho
    • 2
    • 4
  1. 1.Carnegie Mellon UniversityPittsburghUSA
  2. 2.INESC TECPortoPortugal
  3. 3.École de Tecnologie SuperieureMontrealCanada
  4. 4.Faculty of EngineeringUniversity of PortoPortoPortugal

Personalised recommendations