GPT-4-Generated Script for Adaptive-Optics Retinal Image Analysis: An Exploratory Study
JMIR formative research · Published online · 14 Sep 2026
Save keeps this paper in your Library. Mark read is a separate, manual reminder; opening a summary or original does not mark it read.
AI-GENERATED SUMMARY
This exploratory computational study used GPT-4 to iteratively generate an R script for analyzing adaptive-optics flood illumination ophthalmoscopy images. Development and testing used images from 8 participants: 2 healthy individuals and 6 patients with Stargardt disease; after 54 iterations, the script identified and quantified image blobs. Cone counts from 5 image snippets were compared with counts from two human graders and pre-existing software, but comparative performance results are not reported in the abstract; the authors describe the script as preliminary and nonvalidated.
Study design Exploratory computational study
Limitations reported in the source text The script is preliminary and nonvalidated; the authors state that it requires further fine-tuning, extensive testing, and validation.
THE STUDY AT A GLANCE
Details that make a difference.
- Research question
- Can GPT-4 generate a functional R script for analyzing adaptive-optics flood illumination ophthalmoscopy images?
- Population / model
- Healthy individuals and patients with Stargardt disease whose adaptive-optics images were used for script development and testing.
- Sample size
- 8 participants in total: 4 in the development set (1 healthy individual and 3 patients with Stargardt disease) and 4 in the separate test set (1 healthy individual and 3 patients with Stargardt disease); cone counts were compared for 5 image snippets.
- Comparator
- For cone counts from 5 image snippets, two human graders and pre-existing adaptive-optics analysis software trained on healthy participants.
- Main result
- After 54 iterations of instructions, GPT-4 produced a functional R script that identified and quantified image blobs. Cone counts were compared with two human graders and pre-existing software, but the abstract reports no comparative performance results.
- Primary outcome
- Cone detection and counts in adaptive-optics flood illumination ophthalmoscopy image snippets.
Original publication
Adaptive Optics Image Analysis Using Generative AI (GPT-4) Scripting: Exploratory Study.
- PMID
- 42735400
- DOI
- 10.2196/94906
- Source types
- Journal Article
- Published online
- 14 Sep 2026
- Journal issue
- 14 Sep 2026
- PubMed entry date
- 14 Sep 2026
- Added to NeuroReadout
- 15 Sep 2026
Consult the original source for available publication text. Publication dates and status reflect the source record; missing metadata is left blank.
Cite the original paper
Pas Jeroen Aah, van der Zanden Ludo C, van Leeuwen Yoeri, Lechanteur Yara Te, Hoyng Carel B, Theelen Thomas. (2026). Adaptive Optics Image Analysis Using Generative AI (GPT-4) Scripting: Exploratory Study.. JMIR formative research. https://doi.org/10.2196/94906
AI summaries can omit context or make mistakes. Verify findings in the original paper. Read our methodology.