SurgeoNet: Realtime 3D Pose Estimation of Articulated Surgical Instruments from Stereo Images using a Synthetically-trained Network

Ahmed Tawfik Aboukhadra, Nadia Robertini, Jameel Malik, Ahmed Elhayek, Gerd Reis, Didier Stricker

TL;DR

SurgeoNet is a real-time neural network pipeline designed to estimate the 7D pose (3D translation, 3D rotation, and 1D articulation angle) of surgical instruments from stereo VR images. Remarkably, the network achieves high accuracy and robust generalization in real-world scenarios despite being trained entirely on synthetically generated data.

What Problem Does This Paper Address?

Tracking surgical instruments in Mixed Reality (MR) environments is essential for applications like surgical training simulations, skill assessment, and robot-assisted surgery. However, doing this accurately and in real time is incredibly challenging.

Surgical tools (like scissors, clamps, and forceps) are often semi-rigid, highly articulated, and visually very similar to one another. Furthermore, during a procedure, a surgeon's hands frequently occlude large parts of the instruments. To make matters worse, there is a severe lack of finely annotated, real-world datasets showing 3D poses for these tools because manual labeling is tedious and error-prone. SurgeoNet addresses these hurdles by bypassing the need for real-world training data altogether, relying instead on an intelligent, multi-stage synthetic training pipeline.

Methods

SurgeoNet breaks down the 7D pose estimation task into a three-stage pipeline:

  1. Object Detection and 2D Keypoint Estimation: The system processes left and right stereo images using an enhanced version of YOLOv8 to detect the instruments and predict their 2D keypoints.
  2. Tracking and Temporal Smoothing: To eliminate jitter and handle hand occlusions, ByteTrack assigns unique tracking IDs across frames. A 1€ Filter smooths the keypoints temporally, and the left/right views are matched using epipolar geometry.
  3. 7D Pose Estimation via Transformers: Instead of using slow, traditional optimization methods to lift 2D keypoints into 3D space, the authors designed a custom Transformer network. Because Transformers are permutation-invariant, the authors append a one-hot vector to each keypoint to encode its relative position and another to encode the object's label. The network outputs 3D translation, a continuous 6D rotation representation, and the 1D articulation angle.
Fig. 1: SurgeoNet Architecture.

Datasets

The network is trained exclusively on synthetic data and evaluated on both synthetic and real-world benchmarks:

  • Synthetic RGB Dataset: ~10K images generated using PyTorch3D, featuring surgical instrument meshes in randomized 7D poses projected onto real-world backgrounds from the HO-3D dataset.
  • Synthetic Transformer Dataset: ~100K samples of randomized poses projected directly into stereo camera coordinates to train the keypoint-to-pose Transformer.
  • Real-world Evaluation: 13 sequences recorded via a VR headset to test generalization. The model was also evaluated against the Hein et al. (Surgical Drill) dataset and the StereOBJ-1M benchmark for rigid objects.
Fig. 2: a) A rendered synthetic image of the studied set of surgical instruments. b) Synthetic images generated using PyTorch3D that include medical instruments in random poses with their annotations on background images from the HO-3D dataset[5].

Key Insights and Ideas

  • Synthetic-to-Real Generalization: The paper proves that complex, articulated tool tracking can successfully generalize to the real world without real training data, provided the synthetic data features sufficient pose and background randomization.
  • Transformers over Optimization: Traditional keypoint-fitting methods rely on iterative optimization (like Adam), which is highly accurate but computationally heavy. Replacing this step with a Transformer allows the system to run orders of magnitude faster while maintaining competitive accuracy.
  • The Power of Stereo: Moving from monocular to stereo keypoints dramatically reduces depth ambiguity. The ablation study showed that stereo data alone slashed the Mean Per Vertex Position Error (MPVPE) by more than half.

Key Results

  • High Speed: The Transformer component achieves inference speeds of over 200 Stereo Frames Per Second (S-FPS) on an NVIDIA RTX 3090, making it highly suitable for low-latency MR applications.
  • Ablation Performance: Combining stereo keypoints, keypoint class embeddings, and a 6D rotation representation brought the model's MPVPE down to 11.8 mm (compared to 64.0 mm when using monocular data alone).
  • Transformer vs. Optimization: While optimization-based fitting achieved slightly lower error in some cases, it crawled at 1 FPS, whereas SurgeoNet maintained real-time frame rates.
Fig. 3: The results of SurgeoNet on real unseen images.

Limitations and Future Work

Currently, SurgeoNet is limited to tracking instruments with a maximum of 1 degree of freedom (DoF) (such as the opening and closing of scissors). It cannot yet handle more complex, multi-jointed surgical tools.

Additionally, while the pipeline is robust to hand occlusions, it does not explicitly model the physics or geometry of hand-object interactions. The authors note that future work will focus on integrating hand-pose estimation to fine-tune tool tracking and incorporating long-term temporal information across sequential frames to further stabilize predictions.

Summary updated

BibTeX
@inproceedings{aboukhadra2024surgeonet,
  author = {Ahmed Tawfik Aboukhadra and Nadia Robertini and Jameel Malik and Ahmed Elhayek and Gerd Reis and Didier Stricker},
  title = {{SurgeoNet: Realtime 3D Pose Estimation of Articulated Surgical Instruments from Stereo Images using a Synthetically-trained Network}},
  booktitle = {GCPR},
  year = {2024},
  doi = {10.1007/978-3-031-85181-0\_13},
}
Figure