{"title":"Deep Feature-Based Normality Modeling for Automated Out-Of-Distribution Detection in Sheep Retinal Fundus Images.","authors":"Büşra Kibar, Sıtkıcan Okur, Büşra Baykal, Taner Arslan, Çağlar Özkalipçi, Berfin Petek","doi":"10.1111/vop.70220","DOIUrl":null,"url":null,"abstract":"<p><strong>Objective: </strong>To develop and evaluate a deep feature-based normality modeling approach for automated out-of-distribution (OOD) detection in sheep retinal fundus images.</p><p><strong>Animals studied: </strong>Retinal fundus images from 75 adult sheep (n = 271 images) and additional OOD images from non-target species (cattle, dogs, and cats; n = 346 images).</p><p><strong>Procedures: </strong>Deep feature embeddings were extracted using a ResNet50 convolutional neural network pretrained on ImageNet. Normal retinal appearance was modeled in feature space using healthy images. Anomaly scores were calculated using a k-nearest neighbor (k = 5) distance-based approach. OOD detection was evaluated using receiver operating characteristic (ROC) analysis. The anomaly threshold was defined as the 95th percentile of validation scores.</p><p><strong>Results: </strong>The proposed framework demonstrated a clear separation between in-distribution sheep retinal images and OOD samples. The model achieved an area under the ROC curve of 1.00 (95% CI: 0.99-1.00). At the predefined threshold, all OOD images were correctly identified (100% detection rate), with a false alarm rate of 11.9% in the sheep test set.</p><p><strong>Conclusions: </strong>Deep feature-based normality modeling can characterize normal sheep retinal morphology and identify out-of-distribution samples. The proposed approach should be interpreted as a proof-of-concept screening and quality-control tool, not a disease-specific diagnostic system. Further validation using animal-level partitioning and intra-species pathological datasets is required to establish clinical utility. Normality modeling may hold promise for future screening of retinal disease within sheep; however, this has not yet been evaluated. Importantly, this study evaluates only cross-species OOD detection and does not assess the detection of retinal abnormalities within sheep.</p>","PeriodicalId":23836,"journal":{"name":"Veterinary ophthalmology","volume":"29 4","pages":"e70220"},"PeriodicalIF":1.1000,"publicationDate":"2026-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13323868/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Veterinary ophthalmology","FirstCategoryId":"97","ListUrlMain":"https://doi.org/10.1111/vop.70220","RegionNum":4,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"VETERINARY SCIENCES","Score":null,"Total":0}
引用次数: 0
Abstract
Objective: To develop and evaluate a deep feature-based normality modeling approach for automated out-of-distribution (OOD) detection in sheep retinal fundus images.
Animals studied: Retinal fundus images from 75 adult sheep (n = 271 images) and additional OOD images from non-target species (cattle, dogs, and cats; n = 346 images).
Procedures: Deep feature embeddings were extracted using a ResNet50 convolutional neural network pretrained on ImageNet. Normal retinal appearance was modeled in feature space using healthy images. Anomaly scores were calculated using a k-nearest neighbor (k = 5) distance-based approach. OOD detection was evaluated using receiver operating characteristic (ROC) analysis. The anomaly threshold was defined as the 95th percentile of validation scores.
Results: The proposed framework demonstrated a clear separation between in-distribution sheep retinal images and OOD samples. The model achieved an area under the ROC curve of 1.00 (95% CI: 0.99-1.00). At the predefined threshold, all OOD images were correctly identified (100% detection rate), with a false alarm rate of 11.9% in the sheep test set.
Conclusions: Deep feature-based normality modeling can characterize normal sheep retinal morphology and identify out-of-distribution samples. The proposed approach should be interpreted as a proof-of-concept screening and quality-control tool, not a disease-specific diagnostic system. Further validation using animal-level partitioning and intra-species pathological datasets is required to establish clinical utility. Normality modeling may hold promise for future screening of retinal disease within sheep; however, this has not yet been evaluated. Importantly, this study evaluates only cross-species OOD detection and does not assess the detection of retinal abnormalities within sheep.
期刊介绍:
Veterinary Ophthalmology is a peer-reviewed, international journal that welcomes submission of manuscripts directed towards academic researchers of veterinary ophthalmology, specialists and general practitioners with a strong ophthalmology interest. Articles include those relating to all aspects of:
Clinical and investigational veterinary and comparative ophthalmology;
Prospective and retrospective studies or reviews of naturally occurring ocular disease in veterinary species;
Experimental models of both animal and human ocular disease in veterinary species;
Anatomic studies of the animal eye;
Physiological studies of the animal eye;
Pharmacological studies of the animal eye.