Open-Source Periorbital Segmentation Dataset for Ophthalmic Applications
- PMID: 40933660
- PMCID: PMC12417369
- DOI: 10.1016/j.xops.2025.100757
Open-Source Periorbital Segmentation Dataset for Ophthalmic Applications
Abstract
Objective: We aimed to create and validate a dataset for oculoplastic segmentation and periorbital distance prediction.
Design: This was an experimental study.
Subjects: Images of faces from 2 open-source datasets were included in this study.
Methods: The images were sourced from 2 open-source datasets and cropped to include only the eyes. All images had the iris, sclera, lid, caruncle, and brow segmented by 5 trained annotators. Intergrader reliability analysis was done by having 5 annotators annotate the same 100 images randomly selected after at least a 2-week forgetting period. Intragrader analysis was done by having 5 annotators annotate the same 20 images after a 2-week forgetting period. Three DeepLabV3 segmentation models were trained for segmentation using the datasets following standard procedures.
Main outcome measures: The quality of the annotations was evaluated by Dice score through intragrader and intergrader experiments. Segmentation models were trained to demonstrate the dataset's utility for deep learning. The Dice score was used to evaluate deep learning models.
Results: We annotated 2842 images. Agreement between annotators (intergrader) on a randomly selected subset of 100 images was very high, with an average Dice score of 0.82 ± 0.01. Intragrader analysis also demonstrates that the same grader accurately reproduces annotations with an average Dice score, across all classes, of 0.81 ± 0.08. The average Dice score across all classes of a segmentation network trained on the Chicago Facial dataset, the CelebAMask-HQ dataset, and both combined was 0.90 ± 0.11, 0.81 ± 0.20, and 0.84 ± 0.18, respectively.
Conclusions: We have developed a first-of-its-kind dataset for use in oculoplastic and craniofacial segmentation tasks. All the annotations are publicly available for free download. Having access to segmentation datasets designed specifically for oculoplastic surgery will permit more rapid development of clinically useful segmentation networks that can be leveraged for periorbital distance prediction and other downstream tasks. In addition to the annotations, we also provide an open-source toolkit for periorbital distance prediction from segmentation masks, which are available via an application programming interface. The weights of all models have also been open-sourced and are publicly available for use by the community.
Financial disclosures: Proprietary or commercial disclosure may be found in the Footnotes and Disclosures at the end of this article.
Keywords: Artificial intelligence; Computer Vision; Datasets; Oculoplastic surgery; Open source.
© 2025 by the American Academy of Ophthalmologyé.
Figures
References
-
- Porwal P. Indian diabetic retinopathy image dataset (IDRiD) 2018. https://ieee-dataport.org/open-access/indian-diabetic-retinopathy-image-...
-
- Gholami P., Roy P., Parthasarathy M.K., Lakshminarayanan V. OCTID: Optical coherence tomography image database. arXiv. 2019 doi: 10.48550/arXiv.1812.07056. - DOI
-
- Fusek R. In: Advances in Visual Computing. Bebis G., Boyle R., Parvin B., et al., editors. Springer International Publishing; Ostrava-Poruba: 2018. Pupil localization using geodesic distance; pp. 433–444.
LinkOut - more resources
Full Text Sources
