This work describes a computational pipeline designed to measure erythrocyte velocity in retinal capillaries from adaptive optics line confocal ophthalmoscopy (AOLCO) video data. The pipeline is provided as an interactive 3D Slicer extension and as a batch command-line tool that share a single analysis core. It stabilizes AOLCO capillary videos, suppresses stationary structures, and returns blood-flow velocities in physical units suitable for capillary-level analysis.
The first stage of the pipeline performs basic video preprocessing. Illumination nonuniformities are corrected to improve frame-to-frame consistency. The preprocessing stage also identifies and excludes closed-eye frames, reducing the inclusion of frames corrupted by blinks or other transient artifacts prior to registration and velocimetry.
Registration is a critical stage because eye motion in AOLCO acquisitions can produce linear and nonlinear distortions with displacements on the order of tens to hundreds of pixels between frames. The pipeline uses a multi-step registration strategy:
The authors report that the GPU translation algorithm accelerates alignment substantially versus a baseline method, running approximately 3.6× faster at 100 Hz and up to 38× faster at 400 Hz, enabling efficient processing of high-frame-rate AOLCO datasets.
After registration, adjacent registered frames are differenced to suppress stationary structures (for example, tissue background and static vasculature). From the frame-difference video, a 2D projection is generated that highlights the capillary network. This projection is used as a visualization and navigation image for identifying capillary segments for subsequent velocimetry.
Velocity measurement proceeds as follows:
The pipeline’s velocimetry was validated using synthetic ground-truth flow data reported by the authors. In those validation experiments the velocimetry recovered speed within an error of 4% (reported value).
Performance and quality metrics reported across the full cohort include:
The authors state that the recovered blood flow velocities are physiologically plausible and of the same order as previously published adaptive-optics measurements.
The analysis framework is delivered in two user-facing forms: an interactive extension for 3D Slicer and a batch command-line tool. Both interfaces use the same analysis core. The pipeline workflows—preprocessing, registration, postprocessing, and Radon-transform–based velocimetry—are implemented to support both interactive review and automated processing of large AOLCO datasets.
This work is presented as a preprint and has not been certified by peer review (source statement). The abstract supplies summary-level results and key performance metrics, but the source abstract does not include full implementation details, parameter lists, user interface screenshots, or direct download links for the software. For additional technical details, code availability, and full experimental protocols, consult the full preprint PDF and any repository links provided in the manuscript.
The authors declared no competing interests and reported NIH funding (1OT2OD038131) in the source article.