Digital measurement of pupil size, corneal size, and eccentricity in Guinea pigs using python compared with traditional OCT
To develop a Python-based digital technique for accurate measurement of pupil size, corneal size, and eccentricity in guinea pigs, and to validate its efficiency and accuracy against traditional OCT methods in ophthalmology research. Methods: Fourteen healthy guinea pigs were selected, and the eye i...
        Saved in:
      
    
          | Published in | Scientific reports Vol. 15; no. 1; pp. 30049 - 9 | 
|---|---|
| Main Authors | , , , , , , , | 
| Format | Journal Article | 
| Language | English | 
| Published | 
        London
          Nature Publishing Group UK
    
        17.08.2025
     Nature Publishing Group Nature Portfolio  | 
| Subjects | |
| Online Access | Get full text | 
| ISSN | 2045-2322 2045-2322  | 
| DOI | 10.1038/s41598-025-13096-y | 
Cover
| Summary: | To develop a Python-based digital technique for accurate measurement of pupil size, corneal size, and eccentricity in guinea pigs, and to validate its efficiency and accuracy against traditional OCT methods in ophthalmology research. Methods: Fourteen healthy guinea pigs were selected, and the eye images were captured using a camera, and the image analysis program was written by Python 3.9. The program integrated edge detection (Canny algorithm), curve fitting (conic curve equation) and pixel-actual distance conversion modules, and designed a graphical user interface (GUI) to visualize the operation. Measured parameters included pupil size, corneal size and eccentricity to compare the difference between in vivo and ex vivo measurements and to verify the accuracy of the method. Results: The Python program clearly identified the guinea pig pupil and corneal limbus, and the fitted curves were in high agreement with the actual contours. Pupil and corneal size measured with an accuracy of 0.01 mm. In vivo and in vitro measurements showed that pupil size increased significantly after ex vivo (p < 0.001), whereas there was no significant difference in eccentricity (p = 0.38). Compared to optical coherence tomography (OCT), the method did not differ significantly in accuracy (p > 0.05), but significantly improved efficiency and reduced reliance on specialized equipment. Conclusion: The Python-based digital measurement technique can effectively and accurately quantify the morphological parameters of the guinea pig eye, providing reliable technical support for non-contact measurements in experimental animals. | 
|---|---|
| Bibliography: | ObjectType-Article-1 SourceType-Scholarly Journals-1 ObjectType-Feature-2 content type line 14 content type line 23  | 
| ISSN: | 2045-2322 2045-2322  | 
| DOI: | 10.1038/s41598-025-13096-y |