SD-OCT-based Epiretinal Membrane Diagnostic Assistant System

Python PyTorch OpenCV YOLO Pillow

Introduction

This project presents a low-cost and efficient method for detecting and quantifying Epiretinal Membranes (ERM) using Spectral-Domain Optical Coherence Tomography (SD-OCT). By applying deep learning techniques—specifically, YOLO object detection—we generate en face "ERM Projection Images" from B-scan data, enabling intuitive visualization and accurate measurement of ERM areas. The method also introduces a novel approach to quantify the association between ERM and retinal thickness, enhancing clinical decision-making. Our approach aims to bridge the diagnostic performance gap between SD-OCT and Swept-Source OCT (SS-OCT) while maintaining accessibility and reducing diagnostic burden.

ERM System Architecture

Overall pipeline architecture for ERM detection & quantification

YOLO Model Evaluation

We evaluated three YOLO-based models (v5, v8, v11) for ERM detection using SD-OCT B-scan images.
Each model was trained on two datasets (2,200 images for Full, 1,100 images for Half) and tested on 650 expert-labeled images.

Model Size Params (M) Precision Recall mAP@50 mAP@50:95 Dataset Size
YOLOv5S7.020.7520.7030.7220.423Full
0.6940.6420.6640.376Half
M20.870.7830.7340.7520.444Full
0.7230.6850.7010.396Half
L46.140.8130.7620.7840.463Full
0.7450.7040.7260.414Half
X86.220.8360.7840.8020.485Full
0.7630.7250.7430.437Half
YOLOv8S11.140.7810.7360.7640.447Full
0.7230.6760.7010.393Half
M25.860.8130.7620.7910.466Full
0.7480.7050.7240.412Half
L43.630.8440.7920.8230.482Full
0.7740.7310.7540.436Half
X68.150.8670.8140.8420.504Full
0.7930.7520.7720.454Half
YOLOv11S9.430.8040.7520.7830.468Full
0.7460.6920.7140.417Half
M20.050.8460.7940.8210.493Full
0.7740.7360.7570.443Half
L25.310.8730.8230.8540.524Full
0.8070.7730.7930.476Half
X56.870.9020.8570.8820.556Full
0.8360.8030.8260.507Half

GitHub repository: github.com/jinkimh/SD-OCT-ERM-Quantification