arXiv:2608.29196cs.CVAug 2026

Manuscript Offprint

arXiv:2608.29196

Bayesian-Optimized Superpixel-GrabCut for Traceable Optic Disc Segmentation

Shraddha Changune, Vivek Noel Soren, Gautam Das, Tapan Kumar Gandhi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

1st1^{st} Shraddha Changune

Electrical Engineering

Indian Institute of Technology

Delhi, India

eet242394@iitd.ac.in

3rd3^{rd} Gautam Das

Electronics and Communication Engineering

Gauhati University

Guwahati, India

gautamdas2004@gmail.com

2nd2^{nd} Vivek Noel Soren

Electrical Engineering

Indian Institute of Technology

Delhi, India

eez248408@iitd.ac.in

4th4^{th} Tapan Kumar Gandhi

Electrical Engineering

Indian Institute of Technology

Delhi, India

tgandhi@iitd.ac.in

Abstract—Optic disc (OD) segmentation is essential for diagnosing ophthalmic pathologies from retinal fundus images. However, prevailing deep learning approaches operate as opaque black boxes, lacking the inference-stage mathematical traceability—a critical requirement for algorithmic auditing and failure analysis in clinical workflows. This paper presents a fully algorithmically traceable and trainable segmentation pipeline that jointly combines superpixel decomposition, hybrid brightness-proximity superpixel scoring, morphological regularization, iterative GrabCut refinement, and elliptical shape fitting. The hyperparameter optimization is formulated as an objective function and solved via Bayesian optimization to eliminate manual parameter tuning. A quantitative evaluation on the Drishti-GS dataset demonstrates that our method achieves a Dice coefficient of 0.9536, matching state-of-the-art performance. By maintaining explicit mathematical transparency across all processing stages, our framework offers a deterministic, traceable alternative to black-box architectures for medical review and debugging.

Index Terms—Optic disc segmentation, superpixels, graph-cut segmentation, fundus imaging

I. Introduction

The optic disc (OD) is a foundational anatomical landmark within the ocular fundus. Appearing in retinal fundus photographs as a bright, elliptical region approximately 1.5 mm in diameter, it marks where retinal ganglion cell axons converge to form the optic nerve [1]. Accurate tracking of the OD boundary is essential for diagnosing ophthalmic and systemic conditions, particularly glaucoma—the second leading cause of irreversible blindness worldwide [2].

Traditional OD segmentation methods fall into non-model-based (thresholding [3], clustering [4]) and model-based (template matching [5], deformable contours [6]) paradigms. The former are fast but fragile under vessel occlusion; the latter incorporate shape priors but struggle with irregular anatomies or require careful initialization. Hybrid clustering-level-set variants [7] improve accuracy at higher computational cost. Modern deep learning architectures overcome traditional limitations by automatically learning hierarchical features directly from raw data. However, these deep networks introduce a critical challenge regarding their inherently non-interpretable, "black-box" nature [8]. Unlike classical model-based approaches governed by transparent mathematical constraints—such as explicit objective functions in FCM clustering or energy minimization in active contours [9]—deep networks conceal their decision making pathways within highly complex parameter spaces, hindering clinical trust [8]. By contrast, the traceable nature of traditional frameworks offers distinct practical advantages: every segmentation step—from parameter initialization to contour evolution—is explicitly traceable and mathematically justifiable [9]. This transparency enables developers and clinical engineers to precisely pinpoint systemic errors by reviewing the intermediate computational states, facilitating targeted algorithmic refinement without retraining from scratch. Furthermore, deep learning methods remain constrained by their heavy reliance on extensive annotations and demonstrate poor generalization across varying acquisition protocols [10]. Consequently, traditional image processing techniques emerge as a uniquely compelling alternative for clinical deployment, where inherent traceability translates directly into enhanced clinical trust and clearer pathways for iterative algorithmic refinement.

In this work, we propose a fully trainable, traceable OD segmentation pipeline designed to accurately delineate the OD from fundus images without resorting to deep learning networks. The primary contributions of the paper are summarized as follows:

  1. We introduce a mathematically transparent OD segmentation pipeline that integrates superpixel-based seed selection and scoring, GrabCut boundary

GLOBAL PARAMETER OPTIMIZATION LOOP

Figure

Fig. 1: Framework for OD Segmentation and Hyperparameter Optimization

refinement, and elliptical shape regularization, providing an auditable alternative to opaque black-box models.

  1. We formulate hyperparameter tuning as a global objective function solved via Bayesian optimization, eliminating manual parameter tuning while ensuring optimal parameter selection.

  2. We perform an extensive component-wise ablation study and evaluated our approach against state-of-the-art methods, demonstrating that rigorous traditional frameworks can achieve competitive performance without deep learning overhead.

References (21)