Distilled Visual and Robot Kinematics Embeddings for Metric Depth Estimation in Monocular Scene Reconstruction

Ruofeng Wei, Bin Li, Hangjie Mo, Fangxun Zhong, Yonghao Long, Qi Dou, Yun-Hui Liu, Dong Sun

Abstract

Monocular endoscopes in robotic surgery lack inherent depth perception, typically producing only relative depth maps. This paper introduces a framework that distills metric scale from robot kinematics into a monocular depth estimation network. By comparing visual displacement with physical robot movement through a Depth-driven Sliding Optimization (DDSO) module, a scaling coefficient is derived to supervise a "student" network. The resulting system enables real-time, millimeter-accurate 3D reconstruction from single-camera feeds, achieving performance comparable to stereo-based methods on surgical datasets.

Introduction

In robotic surgery, particularly Transoral Robotic Surgery (TORS), flexible robots often utilize monocular endoscopes. Unlike standard stereo laparoscopes, these single-camera systems cannot inherently perceive depth. While self-supervised monocular depth estimation has advanced significantly, these models generally produce relative depth rather than the metric depth (real-world measurements in millimeters) required for safe surgical navigation and automation. The primary challenge lies in recovering the missing scale factor using available robotic sensors.

Methodology

The proposed framework utilizes a multi-stage "teacher-student" distillation pipeline to bridge the gap between relative and metric depth.

Overview of the proposed metric depth estimation and 3D reconstruction pipeline.

Relative Depth and Pose Estimation

The system first employs a brightness-aware monocular depth network, integrating components from Monodepth2 and AFNet, to handle the complex lighting conditions typical of internal surgical environments. This stage produces a depth map with an arbitrary scale.

Depth-driven Sliding Optimization (DDSO)

The core innovation is the DDSO module, which calculates the endoscope's pose from two sources: visual data and robot kinematics. By comparing the visual displacement to the physical displacement recorded by the robot arm, the system calculates a scaling coefficient ($r$). A logarithmic moving average is applied to filter noise from the robotic joints.

Knowledge Distillation and Reconstruction

An "ensemble teacher" is created by scaling the relative depth maps. A student network, MetricDepthS-Net, is then trained to predict metric depth directly from single images. This allows the model to function during inference without requiring active kinematic data. Finally, the metric depth is used by a dense reconstruction algorithm (ElasticFusion) to build a 3D model of the surgical site.

Experimental Evaluation

The framework was evaluated using the SCARED (Surgical Camera Calibration and REconstruction Dataset), which features porcine cadaver data captured with a da Vinci Xi robot. Although the dataset includes stereo video, only monocular streams were used to validate the method's efficacy in single-camera scenarios.

Results and Discussion

The monocular approach achieved a Root Mean Squared Error (RMSE) as low as 5.9 mm, demonstrating high precision. Notably, the performance was comparable to state-of-the-art stereo-based methods like HSM and Monodepth2+Stereo, despite the reduced visual information.

Qualitative comparison of depth estimation results against state-of-the-art methods and ground truth.

Key Insights

  • Kinematics as a Global Scale: While robot kinematics can be noisy for direct navigation, they provide an excellent "global ruler" for visual depth maps.
  • Real-Time Inference: Through distillation, the final model learns visual cues for depth, enabling real-time metric estimation from video alone.
  • Illumination Robustness: The use of an appearance flow module (AFNet) proved critical for stabilizing depth estimation in environments with significant specular reflections.

Conclusion and Future Work

This research demonstrates that metric scale can be successfully recovered for monocular surgical systems by leveraging robot kinematics. Future work will focus on transitioning the scaling coefficient extraction to a real-time, end-to-end process and expanding validation to more diverse human anatomical datasets.

Summary updated

BibTeX
@inproceedings{wei2022distilled,
  author = {Ruofeng Wei and Bin Li and Hangjie Mo and Fangxun Zhong and Yonghao Long and Qi Dou and Yun-Hui Liu and Dong Sun},
  title = {{Distilled Visual and Robot Kinematics Embeddings for Metric Depth Estimation in Monocular Scene Reconstruction}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2022},
  doi = {10.1109/iros47612.2022.9982145},
}
Figure