Robust Retinal Vessel Segmentation from a Data Augmentation Perspective

Xu Sun, Huihui Fang, Yehui Yang, Dongwei Zhu, Lei Wang, Junwei Liu, Yanwu XuarXiv 2020 · DOI

TL;DR

Medical imaging models often struggle to generalize when deployed on different camera systems or encountering unseen pathologies. This paper introduces two lightweight data augmentation techniques—Channel-Wise Random Gamma Correction (CWRGC) and Channel-Wise Random Vessel Augmentation (CWRVA)—that drastically improve the robustness of retinal vessel segmentation models across diverse datasets without adding any extra training data or inference overhead.

What Problem Does This Paper Address?

Automated retinal vessel segmentation is crucial for diagnosing cardiovascular and ophthalmic diseases like diabetes and hypertension. While deep learning models achieve stellar performance on curated, pristine datasets, they frequently fail in real-world clinical settings.

This generalization failure stems from two main sources of disturbance:

  1. Global variations: Different digital fundus camera systems introduce distinct tonal qualities, illumination profiles, and hue shifts.
  2. Local variations: Pathological changes (e.g., exudates, hemorrhages) alter local image textures and can obscure or mimic blood vessels.

Existing solutions like image preprocessing (e.g., CLAHE) slow down inference time, while domain adaptation techniques require retraining the model with data from the target domain. The authors tackle this problem purely from a data augmentation perspective, aiming to build a model invariant to these disturbances from day one.

Methods

The authors propose a sequential data augmentation pipeline consisting of two novel modules applied directly in the RGB color space:

  1. Channel-wise Random Gamma Correction (CWRGC): To simulate global variations in camera systems, this module applies independent, random gamma correction to the Red, Green, and Blue channels separately ($\hat{V}_i = V_i^{\gamma_i}$). Unlike traditional augmentations performed in the HSV space, operating directly on RGB channels effectively simulates realistic camera-specific hue and color distortions.
  2. Channel-wise Random Vessel Augmentation (CWRVA): To simulate local vascular and pathological variations, the authors first extract a rough vessel attention map using an unsupervised morphological top-hat transformation (requiring no manual annotations). They then randomly blend this map to either intentionally enhance or decrease the intensity of only the fine-grained blood vessel regions.
Fig. 1. Illustration of the proposed data augmentation scheme. (a) Original image from the DRIVE [15] training set. (b) Sample image augmented via channel-wise random gamma correction (CWRGC). (c) A rough vessel map generated by morphological transformation (MT). (d) Sample image augmented via channel-wise random vessel augmentation (CWRVA).

During training, these modules are applied sequentially to a classic U-Net architecture equipped with a pretrained ResNet-50 encoder.

Datasets

The models were trained exclusively on the DRIVE training set and evaluated across three distinct real-world datasets to test generalization:

  • DRIVE (Testing Set): Images from the same camera system as the training data.
  • STARE: Images from a different camera system containing diverse pathological changes.
  • CHASE-DB1: Images from another camera system featuring a smaller field of view.

Additionally, the authors constructed 30 synthetic datasets by applying varying degrees of brightness, contrast, and saturation jitters to the DRIVE testing set to rigorously map model sensitivity.

Key Insights and Ideas

  • RGB > HSV for Camera Invariance: Traditional color augmentation often modifies Saturation and Value (HSV). However, the authors discovered that applying gamma correction directly to RGB channels is significantly better at mimicking and defending against the hue shifts introduced by different hardware manufacturers.
  • Leveraging Unsupervised Priors for Augmentation: Instead of relying on perfect labels to alter specific image structures, the method uses simple, classic morphological operations (top-hat filters) to dynamically locate and alter vessels during training. This bridges the gap between classic computer vision and deep learning.
  • Global + Local Synergy: Addressing global illumination (CWRGC) and local vessel contrast (CWRVA) simultaneously forces the network to learn highly invariant, discriminating features rather than memorizing dataset-specific shortcuts.

Key Results

The combination of CWRGC and CWRVA yielded massive performance leaps when generalizing to unseen datasets, as shown in the paper's main evaluation table:

Table 1. Performance comparison on three Datasets.
  • Cross-Dataset Generalization: On the challenging STARE dataset, the baseline strategy (BS) achieved an F1-score of just 0.6699. Adding the proposed modules (BS+CWRGC+CWRVA) skyrocketed the F1-score to 0.8082 and boosted the Area Under the ROC Curve (AUC) from 0.9287 to 0.9893.
  • Small Field-of-View Robustness: On CHASE-DB1, the baseline model failed significantly with an F1-score of 0.3768. The proposed method restored performance to an impressive 0.7565 F1-score.
  • Synthetic Stress-Testing: As shown in Figure 3, the proposed method (pink line) maintained high AUC, Accuracy, and F1-scores across extreme variations of brightness, contrast, and saturation, whereas baseline and standard noise-injection methods degraded rapidly.
Fig. 3. Evaluation results to illustrate robustness of different methods to variations of brightness, contrast and saturation

Qualitative results highlight how the baseline model misses fine vessels or gets confused by pathologies, while the augmented model cleanly segments the vascular tree:

Fig. 2. Sample results on three different datasets. From up to bottom: input im- age, ground truth and predictive results of BS, BS+RGN, BS+SVGC, BS+CWRGC, BS+CWRVA, and BS+CWRGC+CWRVA. From left to right: sample images from DRIVE, DRIVE, STARE, STARE, CHASE-DB1, CHASE-DB1.

Limitations and Future Work

While the paper demonstrates remarkable robustness gains, a potential limitation lies in its reliance on morphological transformations to generate the initial vessel attention map; in images with extreme noise or severe advanced pathologies, these heuristic filters might introduce artifacts. The authors note that they plan to extend these data augmentation concepts to develop more general techniques for other robust automated medical image analysis systems in the future.

Summary updated

BibTeX
@misc{sun2020robust,
  author = {Xu Sun and Huihui Fang and Yehui Yang and Dongwei Zhu and Lei Wang and Junwei Liu and Yanwu Xu},
  title = {{Robust Retinal Vessel Segmentation from a Data Augmentation Perspective}},
  year = {2020},
  eprint = {2007.15883},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.15883},
}
Figure