A Spatiotemporal Model for Precise and Efficient Fully-automatic 3D Motion Correction in OCT

Stefan Ploner, Siyu Chen, Jungeun Won, Lennart Husvogt, Katharina Breininger, Julia Schottenhamml, James Fujimoto, Andreas MaierarXiv 2022

TL;DR

This paper introduces the first spatiotemporal, reference-free motion correction model for 3D Optical Coherence Tomography (OCT) using a forward-warping formulation. By parameterizing eye motion continuously over time rather than space, the algorithm achieves sub-micron axial precision and reduces processing time to under 9 seconds, making it fast enough for real-world clinical deployment and super-resolution imaging.

What Problem Does This Paper Address?

Optical Coherence Tomography (OCT) is a standard clinical tool for 3D imaging of the retina. It works by raster-scanning a laser beam across the eye, capturing rapid depth profiles (A-scans) that are combined into cross-sectional slices (B-scans), which finally form a 3D volume.

However, because a full 3D scan takes several seconds, involuntary patient eye movements—such as rapid microsaccades, slow drifts, and constant tremors—introduce severe, non-rigid distortions and data gaps.

Fig. 1. A volume is composed of A-scans (red lines, in axial direction). The transverse scanned trajectory indicated in the volumetric scan, consisting of B-scans (blue ar- rows) and flyback (orange lines), defines continuity of image distortion. Microsaccade discontinuities (pink markers) are best visible after axial averaging, in en face images.

Existing computational motion correction methods typically rely on backward warping (mapping from the target grid back to the distorted source). This approach struggles with the sharp spatial discontinuities caused by sudden eye movements and fails to properly handle head tilt or overlapping data from repeated scans. Furthermore, previous iterative methods were far too slow for clinical workflows.

Methods

The authors re-engineer the motion correction pipeline by introducing a spatiotemporal forward-warping model.

Fig. 2. Classic OCT processing pipeline. Steps related to motion correction (MoCo) in light blue, steps related to signal reconstruction and illumination (illum.) correction in red. Repeated B-scan registration is limited to 2D and increases gap size (see Fig. 5B).

Key innovations include:

  • Time-Continuous Parametrization: Instead of estimating displacements based on spatial coordinates, motion is parameterized as a function of acquisition time ($\tau$). Because eye motion is continuous in time, this naturally resolves the spatial discontinuities and gaps caused by raster scanning.
  • Forward Warping (FW): The 3D transform is defined at the input voxels. This allows the algorithm to map exactly where the sampled data lands, enabling individual 3D registration of repeated B-scans (crucial for OCT Angiography) and direct gap filling.
  • Separable Forward Interpolation: Forward warping is notoriously expensive because it requires scattered data interpolation. To make it computationally feasible, the authors exploit a domain-specific property: there is virtually no axial distortion within a single, ultra-fast A-scan. They perform a 1D cubic spline interpolation axially, followed by a 2D truncated Gaussian interpolation transversely. This reduces the coefficient computation complexity from $N^3 \cdot 4^3$ to $N^2 \cdot (4 + 4^2)$, yielding a massive speedup.
  • Joint Optimization: The model optimizes transverse/axial displacements, torsional motion (head rotation), axial shearing, and even illumination changes simultaneously using momentum gradient descent in a coarse-to-fine multi-resolution pyramid.

Datasets

The model was evaluated on a dataset of 18 patients with ocular pathologies (specifically Age-Related Macular Degeneration and Non-Proliferative Diabetic Retinopathy).

  • Scanner: Prototype spectral-domain OCT scanner operating at a 128 kHz A-scan rate.
  • Data Volume: 4 volumes per eye (alternating orthogonal X-fast and Y-fast scan directions), covering a $6 \times 6\text{ mm}$ field ($500 \times 500$ A-scans per volume).
  • Split: 6 subjects were used for hyperparameter tuning, and the remaining 12 were reserved for testing and quantitative evaluation.

Key Insights and Ideas

  • Time beats Space: Modeling motion as a continuous function of time completely bypasses the mathematical headache of spatial image discontinuities. Sudden microsaccades simply look like rapid, continuous changes in time rather than broken, un-alignable edges in space.
  • Unlocking 3D Correction for Repeats: Previous methods registered repeated B-scans strictly in 2D before volume assembly. By using forward warping, this model registers every single B-scan repeat independently in full 3D space, which naturally fills motion-induced gaps.
Fig. 5. Demonstration of individual B-scan repeat registration and gap filling in an ex- ample swept-source OCT dataset with 8 B-scan repeats. A: Uncorrected Y-fast volume, projected over the superficial capillary plexus. White spots originate from nerve fiber layer segmentation inaccuracies. B: Corrected using only 1 (constant) displacement pa- rameter set for all B-scan repeats, limiting repeated A-scans to a single position, like previous methods. A gap appears at a slow scan direction microsaccade. C: Registration with individual displacements for each A-scan-repeat reveals their true arrangement: The repeated acquisitions cover the gap almost uniformly. D: The red/cyan composite X/Y-fast image demonstrates correctness of the arrangement in C. Scalebars 1 mm.

Key Results

  • Speed: On an Nvidia RTX 5000 GPU, the median runtime was cut down to 8.6 seconds (a $\sim 5\times$ speedup over prior state-of-the-art methods), meeting the threshold for practical clinical utility.
  • Precision: The method achieved unprecedented sub-micron axial repeatability with a median of medians error of $0.51\ \mu\text{m}$ and a local misalignment error of just $0.20\ \mu\text{m}$.
  • Transverse Accuracy: Transverse errors were reduced to the point of being limited only by uncorrected microscopic ocular tremor (peak-to-peak amplitude $< 3.2\ \mu\text{m}$).

Limitations and Future Work

  • Ocular Tremor Limits: High-frequency ocular tremors ($\sim 100\text{ Hz}$) cannot be fully corrected because the parameter density (tied to the B-scan rate of $205\text{ Hz}$) is too low to sample such rapid micro-vibrations.
  • Extreme Motion: In cases of severe patient movement, the optimization can still occasionally fail or suffer from extended runtimes. Integrating hardware-based eye tracking could provide a better initialization to safeguard against these edge cases.
  • Downstream Applications: The sub-pixel accuracy demonstrated here paves the way for true 3D super-resolution volume reconstruction and the potential to use reconstructed eye-motion traces as diagnostic biomarkers for neurological diseases (e.g., Parkinson's or Alzheimer's).

Summary updated

BibTeX
@misc{ploner2022spatiotemporal,
  author = {Stefan Ploner and Siyu Chen and Jungeun Won and Lennart Husvogt and Katharina Breininger and Julia Schottenhamml and James Fujimoto and Andreas Maier},
  title = {{A Spatiotemporal Model for Precise and Efficient Fully-automatic 3D Motion Correction in OCT}},
  year = {2022},
  eprint = {2209.07232},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.07232},
}

Loading related content...

Figure