Clearer Eyes for Telemedicine: Staging Cataracts from Smartphone Photos
Cataracts are one of the leading causes of blindness in the world, and knowing the stage of the disease is essential for planning treatment. Telemedicine could bring that diagnosis to people who live far from an eye clinic, but it relies on photos that patients or local health workers take with a smartphone. The quality of those photos decides how far remote diagnosis can be trusted.
Smartphone eye photos have a problem of their own. The curved surface of the cornea creates bright specular reflections, which are small patches of glare that can cover the very details a doctor needs to see. These reflections reduce diagnostic accuracy. Vision Transformers, a type of model that performs well on medical images, also lose accuracy when the images are noisy, so the glare is a double problem.
This study responds in two ways. First, an inpainting method removes the reflections, filling in the affected areas so that the eye appears as it would without the glare. Second, the Vision Transformer is enhanced with local window attention and a region-of-interest mask. Local window attention lets the model concentrate on nearby details, and the mask tells it to focus on the relevant parts of the eye instead of the surrounding skin or background.
The method was tested on smartphone-captured eye images for classifying cataract stages. It reached an accuracy of 0.98 and a macro F1 score of 0.98, substantially outperforming the baseline Vision Transformer. A high macro F1 score is a useful sign here, because it means the model performs well across all the stages and not only on the easiest ones.
This work connects to Sustainable Development Goal 3 (SDG 3): Good Health and Well-being. Reliable staging from an ordinary smartphone photo could make early eye care easier to reach through telemedicine, particularly for people who live far from specialists.
Ultimately, this study shows that a few carefully chosen improvements can turn an everyday phone photo into a dependable tool for eye care, bringing diagnosis closer to the patient.
Metadata:
Judul article: Enhanced Vision Transformer and Image Inpainting for Cataract Stage Classification in Telemedicine
Nama jurnal: International Conference on New Media Studies (CONMEDIA)
Penerbit: IEEE
Tanggal publish: October 2025
Tautan / Link: https://doi.org/10.1109/conmedia67140.2025.11290128
Contact:
Prof. Dr. Ir. Indrabayu, S.T., M.T., M.Bus.Sys., IPM., ASEAN.Eng
0811447755
indrabayu@unhas.ac.id
