Paros is a method to calculate the magnification of fundus images based on the optical characteristics of the patient's eye. The full method and validation are described in Pors LJ, Haasjes C, van Vught L, et al. Correction Method for Optical Scaling of Fundoscopy Images: Development, Validation, and First Implementation. Invest Ophthalmol Vis Sci. 2024;65(1):43. doi:10.1167/iovs.65.1.43
The code is provided as is, without any warranty, under the MIT license. This license requires that reusers give credit to the creator. It allows reusers to distribute, remix, adapt, and build upon the material in any medium or format.
A basic version of PAROS can most easily be run online here: basic version
The full package is also available for download via PiP:
pip install PAROS
PAROS consists of two main functions:
- ‘fundus_camera_calibration.ipynb’: a method to calibrate camera using eye phantom measurements.
- ‘calculate_ocular_magnification.ipynb’: a method to calculate magnification fundus images of a subject.
The implementation of PAROS in this repository is functional for the camera in our center, and with the specific software used at our center. Both have impact on the calculated magnification. We therefore recommend calibration of the camera and software using the method described in the article mentioned below before implementation for quantitative purposes.
Please find here a table of known camera calibration constants; this can be added upon by other contributors.
Camera type | CCD type | Condenser lens power (D) | First order calibration term |
---|---|---|---|
Topcon TRC-50DX | 38.0 | -0.011 | |
Topcon TRC-50IX | 38.0 | -0.012 |
When publishing results obtained with this package, please cite the paper that describes the full method and validation: Pors LJ, Haasjes C, van Vught L, et al. Correction Method for Optical Scaling of Fundoscopy Images: Development, Validation, and First Implementation. Invest Ophthalmol Vis Sci. 2024;65(1):43. doi:10.1167/iovs.65.1.43
Please read our contribution guidelines prior to opening a Pull Request.
Feel free to contact us for any inquiries: