Fully Convolutional Neural Network for Semantic Segmentation of Anatomical Structure and Pathologies in Colour Fundus Images Associated with Diabetic Retinopathy

Oindrila Saha, Rachana Sathish, Debdoot SheetarXiv 2019

Abstract

Diabetic retinopathy (DR) is the most common form of diabetic eye disease. Retinopathy can affect all diabetic patients and becomes particularly dangerous, increasing the risk of blindness, if it is left untreated. The success rate of its curability solemnly depends on diagnosis at an early stage. The development of automated computer aided disease diagnosis tools could help in faster detection of symptoms with a wider reach and reasonable cost. This paper proposes a method for the automated segmentation of retinal lesions and optic disk in fundus images using a deep fully convolutional neural network for semantic segmentation. This trainable segmentation pipeline consists of an encoder network, a corresponding decoder network followed by pixel-wise classification to segment microaneurysms, hemorrhages, hard exudates, soft exudates, optic disk from background. The network was trained using Binary cross entropy criterion with Sigmoid as the last layer, while during an additional SoftMax layer was used for boosting response of single class. The performance of the proposed method is evaluated using sensitivity, positive prediction value (PPV) and accuracy as the metrices. Further, the position of the Optic disk is localised using the segmented output map.

Introduction

Diabetic Retinopathy (DR) is a leading cause of blindness globally, but its progression can be halted if caught early. Screening involves examining fundus images for "red lesions" (microaneurysms and hemorrhages) and "bright lesions" (exudates).

Automated systems face two primary challenges: visual similarity between pathological lesions (like hard exudates) and anatomical structures (like the optic disk), and the loss of spatial resolution in standard Convolutional Neural Networks (CNNs) due to max-pooling. This paper presents an end-to-end deep learning framework based on the SegNet architecture to automatically segment both anatomical structures and various pathological lesions in retinal fundus images, providing a unified solution for diagnosing DR symptoms.

Methods

The authors employ a Fully Convolutional Neural Network (FCNN) based on the SegNet architecture, designed to preserve spatial information through an encoder-decoder mechanism.

The proposed SegNet-based architecture for retinal image segmentation, highlighting the encoder-decoder structure and pooling indices.

Key technical features include:

  • Encoder-Decoder Structure: The encoder uses the first 13 layers of VGG16 to extract features. The decoder then maps these low-resolution features back to the original input resolution for pixel-wise classification.
  • Pooling Indices: To solve the resolution loss problem, the decoder uses "max-pooling indices" captured during the encoding phase. This allows the model to remember exactly where the most prominent features were located, leading to much sharper boundary localization.
  • 7-Channel Output: The model classifies every pixel into one of seven categories: background, retinal disk (the area of the retina excluding lesions/optic disk), optic disk, microaneurysms, hemorrhages, hard exudates, and soft exudates.
  • Inference Optimization: While the network is trained with a Sigmoid layer and Binary Cross Entropy loss, a SoftMax layer is added during inference to normalize values across channels and boost the response of the most likely class.

Datasets

The study utilized two primary datasets for training and evaluation:

  • IDRiD (Indian Diabetic Retinopathy Image Dataset): Used for the main segmentation and grading challenge.
  • Drishti-GS: Used specifically to supplement the training data for optic disk masks, as the IDRiD dataset lacked these for images without apparent retinopathy.
  • Preprocessing: Images were downsampled to $536 \times 356$ pixels. Data augmentation included horizontal, vertical, and 180-degree flips to improve model robustness.

Key Insights and Results

A critical finding was that training on the "whole picture" (global view) was essential to distinguish between visually similar features like the optic disk and exudates. Moving from a 5-class model to a 7-class model (adding "retinal disk" and "background" as explicit classes) significantly improved performance by better defining the boundaries of non-lesion areas.

Qualitative segmentation results showing input fundus images alongside their corresponding predicted masks for various lesions and the optic disk.

The model's performance was evaluated using the Jaccard Index (Intersection over Union) for the optic disk and the Area Under the PPV (Positive Predictive Value) vs. Sensitivity (SE) curve for lesions.

Class Metric Score
Optic Disk Jaccard Index (IOU) 0.8572
Hard Exudates Area under PPV vs SE 0.5498
Soft Exudates Area under PPV vs SE 0.1823
Haemorrhages Area under PPV vs SE 0.0829
Microaneurysms Area under PPV vs SE 0.0059

Additionally, the mean Euclidean distance for optic disk localization was 65.93 pixels across 413 images.

Conclusion

The proposed unified framework effectively handles multiple segmentation subtasks, providing a comprehensive tool for DR screening. However, the detection of microaneurysms (MAs) remains a significant challenge, with a score of 0.0059. As MAs are often the earliest sign of DR, future work will focus on refining feature extraction specifically for these smallest pathological structures.

Summary updated

BibTeX
@misc{saha2019fully,
  author = {Oindrila Saha and Rachana Sathish and Debdoot Sheet},
  title = {{Fully Convolutional Neural Network for Semantic Segmentation of Anatomical Structure and Pathologies in Colour Fundus Images Associated with Diabetic Retinopathy}},
  year = {2019},
  eprint = {1902.03122},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.03122},
}
Figure