Two-stage framework for optic disc localization and glaucoma classification in retinal fundus images using deep learning

Muhammad Naseer Bajwa, Muhammad Imran Malik, Shoaib Ahmed Siddiqui, Andreas Dengel, Faisal Shafait, Wolfgang Neumeier, Sheraz Ahmed

TL;DR

This paper introduces a robust, two-stage deep learning framework that automatically localizes the optic disc in retinal fundus images and classifies it to detect glaucoma. To overcome the lack of labeled bounding box data, the authors developed a semi-automated ground truth generation tool, ultimately setting a new state-of-the-art in both localization accuracy across multiple datasets and glaucoma classification on the ORIGA benchmark.

What Problem Does This Paper Address?

Glaucoma is a leading cause of irreversible blindness worldwide. Because it progresses subtly without early symptoms, automated screening via Computer-Aided Diagnosis (CAD) is vital. Clinical indicators of glaucoma—such as the cup-to-disc ratio (CDR)—are concentrated around the optic disc (OD).

However, feeding an entire retinal fundus image into a deep neural network dilutes the network's focus and wastes computational resources on irrelevant background data. Existing automated methods try to isolate the OD first, but they rely heavily on dataset-specific heuristic rules (like tracking brightness or geometric shapes) that fail to generalize across different imaging equipment and lighting conditions. Furthermore, training robust object detection models like Faster R-CNN requires bounding box annotations, which are notoriously absent from publicly available retinal datasets.

Methods

The authors tackle this with a decoupled, two-stage framework:

  1. Optic Disc Localization: A Faster R-CNN architecture is deployed to detect and crop the OD region from the full fundus image.
  2. Glaucoma Classification: The cropped OD region is fed into a custom, four-layer Deep Convolutional Neural Network (DCNN) that classifies the tissue as either healthy or glaucomatous.
Complete framework of disc localization and classification.

Semi-Automated Ground Truth Generation: To train the Faster R-CNN without pre-existing bounding boxes, the authors designed a rule-based heuristic pipeline using Otsu thresholding, adaptive binarization, and morphological operations to approximate the OD boundaries. An expert then manually verified and corrected these proposals, creating a high-quality training dataset with minimal human effort.

Datasets

The framework was rigorously evaluated across seven publicly available datasets:

  • For Localization Training & Validation: ORIGA, HRF, and OCT & CFI.
  • For Unseen Localization Testing: DIARETDB1, DRIVE, DRIONS-DB, and Messidor.
  • For Glaucoma Classification: The ORIGA dataset, which contains 650 images (482 healthy, 168 glaucomatous), making it the largest public dataset with glaucoma labels.

Key Insights and Ideas

  • Less is More (Network Depth): Counterintuitively, increasing network complexity (e.g., using deeper architectures like AlexNet) degraded classification accuracy. Due to the relatively small size of medical image datasets, deeper networks overfit quickly. A simpler 4-layer CNN structure retained fine-grained discriminative features much better.
  • The Illusion of AUC: The authors highlight a critical pitfall in medical ML evaluation: relying solely on the Area Under the Receiver Operating Characteristic curve (AUC) can be highly misleading on imbalanced datasets. A naive model predicting "healthy" for every instance can still yield a deceptively high AUC depending on the threshold selection. Precision, recall, and F1-scores must be reported to show the true clinical utility.
  • Generalization via Deep Learning: While traditional heuristic localization methods fail when encountering artifacts like reflective spots or bright rim fringes, a trained Faster R-CNN easily learns to ignore these distractors, generalizing seamlessly to entirely unseen datasets.

Key Results

  • State-of-the-Art Localization: The Faster R-CNN achieved 100% localization accuracy (at an Intersection over Union (IoU) > 50%) on the DIARETDB1 dataset, 97.50% on DRIVE, 99.09% on DRIONS-DB, and 99.17% on Messidor, outperforming all previous heuristic methods.
  • Improved Glaucoma Detection: Using 10-fold cross-validation on the ORIGA dataset, the classification network achieved an AUC of 0.874, representing a 2.7% relative improvement over the previous state-of-the-art.

Limitations and Future Work

Despite the strong overall performance, the classification network still struggled with class imbalance. Under random training splits, the recall for the glaucoma class was quite low (~34.5%), meaning the model missed a significant portion of positive glaucoma cases. The authors note that fine-grained structural details seem to get lost as image data moves up the network hierarchy. Future work will require tailoring specialized architectures that can reliably preserve these subtle disease markers without succumbing to dataset bias.

Summary updated

BibTeX
@article{bajwa2019two,
  author = {Muhammad Naseer Bajwa and Muhammad Imran Malik and Shoaib Ahmed Siddiqui and Andreas Dengel and Faisal Shafait and Wolfgang Neumeier and Sheraz Ahmed},
  title = {{Two-stage framework for optic disc localization and glaucoma classification in retinal fundus images using deep learning}},
  journal = {BMC Medical Informatics Decis. Mak.},
  year = {2019},
  doi = {10.1186/s12911-019-0842-8},
}
Figure