An Empirical Comparison of Lesion Sampling for Microaneurysm Segmentation within and Across Datasets
Yuyue Peng
School of Computer Science and Engineering, Huizhou University, Huizhou 516007, China.
Bing Guan *
School of Computer Science and Engineering, Huizhou University, Huizhou 516007, China.
Xiaoluan Chen
School of Computer Science and Engineering, Huizhou University, Huizhou 516007, China.
Min Chen
School of Computer Science and Engineering, Huizhou University, Huizhou 516007, China.
Juhong Liao
School of Computer Science and Engineering, Huizhou University, Huizhou 516007, China.
*Author to whom correspondence should be addressed.
Abstract
Background and Aims: Microaneurysms (MAs) occupy a small fraction of fundus images, making their segmentation sensitive to how training patches are selected. This study compares three patch-sampling strategies and examines whether their within-dataset detection benefits persist across datasets.
Methods: Three U-Net models were trained on FGADR using random retinal-region sampling (P0), lesion-guided sampling (P1), or image-conditioned size-stratified sampling (P2). The architecture, loss function and training budget remained unchanged. Performance was assessed on 274 FGADR validation images and 149 DDR validation images using image-wise Dice, pixel average precision (AP), lesion recall and false positives (FP) per image. No DDR images were used for training or threshold tuning.
Results: At threshold 0.5 on FGADR validation, P1 increased pooled small-lesion recall from 0.5556 to 0.6173, with false positives per MA-empty image increasing from 7.77 to 9.01. P2 gave the highest macro-averaged pixel average precision (AP; 0.1955), although its FROC-style curve was close to P1 over their shared range. This ordering did not persist across the reported metrics on DDR validation. P0 had the highest Dice, AP, and image-wise recall; P1 had slightly higher small-lesion recall than P0. The lowest false-positive rates, obtained with P2, coincided with the lowest recall.
Conclusion: In this single-run comparison, sampling benefits depended on the metric and evaluation dataset. The findings describe development-set results from one architecture, seed, and transfer direction; they do not establish a general ranking of sampling strategies or clinical effectiveness.
Keywords: Microaneurysm segmentation, patch sampling, diabetic retinopathy, retinal fundus imaging, cross-dataset evaluation, domain shift