OSAM-Fundus: A Training-Free, One-Shot Segmentation Framework for Optic Disc and Cup in Fundus Images

Rui Wang,Zhouwang Yang,Yanzhi Song
DOI: https://doi.org/10.1016/j.bspc.2024.107069
2025-01-01
Abstract:Accurate segmentation of the fundus optic disc and optic cup is essential for the early detection of glaucoma, a leading cause of blindness. Despite the advancements in deep learning-based segmentation models, the reliance on large amounts of annotated data and the weak generalization ability remain a challenge. The Segment Anything Model (SAM) has demonstrated robust zero-shot generalization in various natural image segmentation tasks. However, its dependency on manual interactive prompts and the domain gap between natural and medical images are obstacles to its application in medical image segmentation. This study introduces OSAMFundus, a novel training-free framework for optic disc and optic cup segmentation using one reference image and its annotation. First, We propose an automatic prompt generation method that incorporates medical prior knowledge and hard-negative sampling into patch-level bidirectional matching, enabling cross-image and cross- domain prompt generation without manual clinician intervention. Then, to overcome SAM's inherent challenge in segmenting fuzzy edges, we employ a feature re-matching strategy to refine the false-positive regions potentially produced by SAM, ensuring consistent semantic object outputs in the target image. Evaluation on four public datasets, both in-domain and out-of-domain, our method achieves state-of-the-art performance with average dice scores of 80.43%, which is 7.28% higher than that of SAM using prompts from ground truth. This demonstrates that OSAM-Fundus is a highly efficient and robust segmentation method for fundus images.
What problem does this paper attempt to address?