Autonomous Stabilization of Retinal Videos for Streamlining Assessment of Spontaneous Venous Pulsations

Hongwei Sheng, Xin Yu, Feiyu Wang, Wahiduzzaman Khan, Hexuan Weng, Sahar Shariflou, S. Mojtaba Golzan

Abstract

Spontaneous Venous Pulsations (SVP) serve as a critical clinical indicator for ocular and neurological health, yet their detection is often hindered by the instability of smartphone-based fundus imaging. This paper presents a fully automated pipeline designed to stabilize high-jitter, noisy retinal videos. By employing a two-stage process—Optic Disc Region Spatio-Temporal Localization (ODR-STL) and Noise-Aware Template Matching (NATM)—the system effectively isolates the region of interest and removes motion artifacts and specular glare. Experimental results demonstrate that the proposed method significantly outperforms industry-standard video stabilization tools, with a 68.6% preference rate among clinical professionals.

Introduction

Spontaneous Venous Pulsations (SVP) are rhythmic variations in the caliber of the central retinal vein as it traverses the optic disc. The presence of these pulsations is a vital clinical sign; their disappearance can indicate elevated intracranial pressure or the onset of glaucoma. While high-end, stationary benchtop fundus cameras capture these movements with relative ease, there is a growing global shift toward portable, smartphone-based ophthalmoscopy for tele-health and field screenings in resource-limited settings.

However, smartphone-acquired retinal videos are frequently plagued by technical limitations, including hand-induced jitter, low signal-to-noise ratios, and intense specular reflections (glare) from the camera's flash. Standard video stabilization software, such as Adobe Premiere or ImageJ, often fails to process these videos because they are optimized for natural scenes rather than the unique, low-contrast geometry of the human retina. This paper introduces a domain-specific stabilization framework tailored to the requirements of clinical SVP assessment.

Methodology

The proposed stabilization pipeline consists of two primary modules designed to transform raw, unstable footage into diagnostic-quality clips.

1. ODR Spatio-Temporal Localization (ODR-STL)

The first stage focuses on identifying and isolating the Optic Disc Region (ODR), the specific area where SVP occurs. The system utilizes a Faster R-CNN architecture to detect the ODR in every frame of the video. Beyond simple detection, the STL module performs a temporal filtering pass: it automatically discards frames where the ODR is obscured by eye blinks or extreme motion. This ensures that only continuous segments long enough to capture at least one full cardiac pulse cycle are passed to the stabilization stage.

2. Noise-Aware Template Matching (NATM)

Once the ODR is localized, the system must align the frames to a single reference point. This is achieved through three sub-steps:

  • Smart Template Selection: Rather than selecting an arbitrary frame as a reference, the algorithm analyzes the variance of optical flow across the clip. The frame with the lowest variance—representing the sharpest and most stable image—is selected as the "master template."
  • Specular Spot Removal: Smartphone flashes create bright artifacts on the moist surface of the eye. These reflections often "distract" standard alignment algorithms. The researchers found these spots are most prominent in the Blue and Green color channels. By applying thresholding and mean filtering to these channels, the system prevents the algorithm from locking onto moving glares.
  • Precision Alignment: Using the cleaned data, the NATM locks the ODR to a fixed central position, cropping the video to focus the clinician’s attention entirely on the pulsating vasculature.

Results and Discussion

The performance of the proposed pipeline was evaluated against two industry standards: ImageJ (a staple in medical imaging) and Adobe Premiere Pro (a leading commercial video editor).

Quantitative Performance

The researchers used the "Variance of Optical Flow" as a proxy for stability. A lower variance indicates a more stable video where the anatomy remains fixed in place. The proposed NATM method consistently achieved the lowest variance scores across the dataset, indicating superior "lock-on" capabilities compared to general-purpose stabilizers.

Qualitative User Study

A study involving 25 subjects, including clinical professionals, was conducted to assess the diagnostic utility of the stabilized videos. Participants were asked to rank the output of the various methods:

  • Proposed Method: 68.6% preference
  • Adobe Premiere Pro: 18.0% preference
  • ImageJ: 9.8% preference
  • Raw Video: 3.6% preference

These results highlight that general-purpose stabilizers often introduce warping or distortion artifacts that clinicians find distracting or misleading, whereas the proposed domain-specific approach preserves anatomical integrity.

Conclusion

This research demonstrates that domain-specific knowledge—such as understanding the channel-dependent nature of glare and the specific location of the optic disc—is essential for medical video processing. By automating the removal of "junk" frames and stabilizing the ODR, this pipeline saves clinicians significant time and improves the reliability of SVP detection in the field.

Future work will focus on transitioning from stabilization to automated diagnostic assistance. With the ODR now consistently centered and clear, the foundation is laid for deep learning models to automatically detect the presence or absence of SVP, potentially providing a critical screening tool for non-expert healthcare workers.

Summary updated

BibTeX
@inproceedings{sheng2023autonomous,
  author = {Hongwei Sheng and Xin Yu and Feiyu Wang and Wahiduzzaman Khan and Hexuan Weng and Sahar Shariflou and S. Mojtaba Golzan},
  title = {{Autonomous Stabilization of Retinal Videos for Streamlining Assessment of Spontaneous Venous Pulsations}},
  booktitle = {EMBC},
  year = {2023},
  url = {https://openreview.net/forum?id=Q95yqlNWp5},
}
Figure