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

sdg3
Prof. (Dr.) Kailash Chandra Bandhu

Prof. (Dr.) Kailash Chandra Bandhu

Professor and Head of Department Computer Science and Engineering Medicaps University, Indore, India

Elly Warni, S.T., M.T.

198202162008122001

Data Mining and Software Engineering

Fitriani

Doctoral Student

Andi Muh. Valdi Ramadhan B.S.

Bachelor Student

Herlina Anwar

Muhammad Abdillah Rahmat

Dr. Misita Anwar

Swinburne University of Technology

A. Ais Prayogi Alimuddin, S.T., M.Eng.

198305102014041001

Artificial Intelligence, Data Management, Mobile Programming

Ir. Anugrayani Bustamin, S.T., M.T.

199012012018074001

Natural Language Processing, Artificial Intelligence , Data Mining, Multimedia Analitics

Prof. Dr. Eng. Intan Sari Areni., ST., MT.

197502032000122002

Telecommunications and Multimedia

Haryanti Rivai, ST., MT., Ph.D

197902252002122001

Maritime Safety and Ship Electrical