SergioBonaqueGonzalez/Sloan-Visual-Acuity-Eye-Chart-Optotype
Surprisingly, we did not find any accurate free eye-chart generator on the web. So, we created one.
This script generates a theoretically exact optotype based on Sloan letters, usefull for visual experiments.
It generates an optotype of random Sloan letters according to a variery of specified variables:
- Distance from the eye to the optotype in meters.
- Pixel size of the screen (i.e. a LED screen) which will display the optotype (or pdi if it will be printed), in meters.
- Dimensions in pixels of the screen in number of vertical and horizontal pixels.
- Maximum lines of the optotype to be plotted.
YOU CAN MODIFIED THESE VARIABLES DIRECTLY INTO THE SCRIPT, LINES 19-23.
As pixels number is a discrete value, only discrete values of visual acuities can be displayed accurately. Additionally, to display perfectly a Sloan letter it has to be multiply of 5 pixels in size. So, this script gives the nearest possible visual acuity values to the desired one.
It was written for our own experiments and works well for small letter size. As Sloan letters were designed almost pixel-by-pixel, I designed a 45x45 pixels version. Interpolation to smaller size works fine, We have no tested interpolation to a very big size. If there is any problem with bigger sizes, please contact us :-) .
If you use our work in a scientifical work, do not forget to include us in the acknowledgment section !
It was written by Sergio Bonaque-González (sergiob@wooptix.com) and David Carmona-Ballester (dacabad2@gmail.com)
https://www.linkedin.com/in/sergiobonaque/
Cite As
SergioB (2024). SergioBonaqueGonzalez/Sloan-Visual-Acuity-Eye-Chart-Optotype (https://github.com/SergioBonaqueGonzalez/Sloan-Visual-Acuity-Eye-Chart-Optotype), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Sloan-Visual-Acuity-Eye-Chart-Optotype-master
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Actualization of description |
|