Abstract
Markerless spine surgery registration using RGB-D cameras offers a radiation-free alternative to traditional methods but suffers from error propagation between segmentation and registration stages. We present End2Reg, an end-to-end framework that jointly optimizes these tasks. By employing a differentiable Gumbel-Softmax reparameterization, the model learns task-specific segmentations that prioritize landmarks beneficial for registration. Evaluated on ex vivo and in vivo datasets, End2Reg reduces registration errors by up to 45% compared to state-of-the-art baselines.
Introduction
Precision in spine surgery is critical, requiring millimeter-level accuracy to safeguard neural and vascular structures. Traditional navigation relies on intraoperative X-rays and invasive bone-anchored markers, which introduce radiation exposure and disrupt surgical workflows. Markerless alternatives utilizing RGB-D (color and depth) cameras have emerged to align intraoperative scans with preoperative CT data. However, these methods typically follow a disjointed two-step process: segmenting the bone from soft tissue followed by registration. This "chicken and egg" problem often leads to error propagation, where minor segmentation inaccuracies significantly degrade registration performance.
Methodology: The End2Reg Framework
End2Reg addresses these limitations by treating segmentation and registration as a single, unified optimization task. The architecture consists of two primary modules integrated into a cohesive pipeline.
Architecture
- Segmentation Module: A KPConv-based U-Net processes the raw intraoperative point cloud to predict a task-specific mask.
- Registration Module: Utilizing a GeoTransformer architecture, this module takes the masked point cloud and the preoperative CT model to compute the final rigid transformation ($T$).
Differentiable Joint Optimization
A significant challenge in end-to-end training is the discrete nature of point selection (segmentation), which is typically non-differentiable and prevents gradient flow. End2Reg overcomes this using a combination of Gumbel-Softmax reparameterization and a Straight-Through Estimator (STE).
This approach allows the registration error (loss) to propagate back through the entire network. Consequently, the model does not merely learn to replicate human-labeled masks; instead, it discovers "task-specific" anatomical features that are most reliable for accurate alignment, even if those features are not intuitively prioritized by human annotators.
Experimental Setup and Datasets
The framework was validated across two distinct benchmarks representing varying levels of surgical complexity:
- SpineDepth (Ex Vivo): RGB-D recordings of ten human cadaver specimens, providing a controlled environment with high-fidelity ground truth.
- SpineAlign (In Vivo): Data from 24 lumbar spine surgeries. This dataset presents real-world challenges, including limited surgical exposure and frequent occlusions from surgical instruments and personnel.
Results and Discussion
End2Reg demonstrated superior performance over existing state-of-the-art methods on both datasets:
- Accuracy Gains: On the SpineDepth dataset, the median Target Registration Error (TRE) was reduced by 32% to 1.83 mm. On the more challenging SpineAlign dataset, the mean Root Mean Square Error (RMSE) improved by 45%, reaching 3.95 mm.
- Ablation Study: Comparisons with a "two-step" baseline (where segmentation and registration are trained independently) showed significantly higher errors, confirming that joint optimization is the primary driver of the performance boost.
- Robustness: By training end-to-end, the registration backbone becomes inherently aware of segmentation uncertainty, enhancing robustness against the "clutter" (soft tissue, tools) typical of an operating room.
Conclusion and Future Work
End2Reg represents a significant step toward radiation-free, markerless surgical navigation by eliminating the need for manual segmentation labels and reducing registration error propagation. However, several challenges remain. The current model assumes a rigid spine, whereas individual vertebrae exhibit relative motion. Future research will focus on handling intervertebral motion, expanding in vivo datasets, and optimizing the system for real-time integration into surgical workflows.
Summary updated