PERTANIKA JOURNAL OF SCIENCE AND TECHNOLOGY

 

e-ISSN 2231-8526
ISSN 0128-7680

Home / Regular Issue / JST Vol. 34 (2) Apr. 2026 / JST-6109-2025

 

OD-SAM: Automated Zero-shot Segment Anything Model for Optic Disc Segmentation

Bhuvaneswari S and Subashini P

Pertanika Journal of Science & Technology, Volume 34, Issue 2, April 2026

DOI: https://doi.org/10.47836/pjst.34.2.13

Keywords: Deep learning, diabetic retinopathy, hard exudate, localisation, optic disc, segment anything model, segmentation

Published on: 2026-04-30

The severe stage of diabetic retinopathy (DR) is often identified by the presence of hard exudates on ophthalmologic examination. For precisely detecting exudates, Optic Disc (OD) segmentation is significant due to the high similarity between exudates and the OD. The primary objective of this OD-SAM study is to examine the feasibility of a zero-shot framework for OD segmentation, intending to improve subsequent hard exudate detection in retinopathy screening. The proposed work integrates automatic OD localisation using the peak-end thresholding approach, prompt-based optic disc segmentation using the segment anything model (SAM), a multi-criteria decision-making (MCDM) approach for optimal OD mask selection, and ellipse fitting to smooth the disc boundary. Subsequently, the OD is removed to evaluate its impact on YOLO-based hard exudate detection. The efficiency of this proposed framework is tested on the IDRiD dataset. It achieved an 86.2% overlap and a 90.7% dice coefficient. The results show the effectiveness of the proposed approach for OD segmentation and highlight improvements in exudate detection after OD removal. This study can support lesion analysis and grading in an automated diabetic retinopathy screening and severity assessment.