Endo3R: Unified Online Reconstruction from Dynamic Monocular Endoscopic Video

Jiaxin Guo, Wenzhen Dong, Tianyu Huang, Hao Ding, Ziyi Wang, Haomin Kuang, Qi Dou, Yun-Hui Liu · DOI

Abstract

Real-time 3D reconstruction from monocular endoscopic video remains a significant challenge in computer-assisted surgery due to dynamic tissue deformations, textureless surfaces, and scale ambiguity. We present Endo3R, a unified 3D foundation model designed for online, scale-consistent reconstruction. By leveraging an uncertainty-aware dual memory mechanism and a novel self-supervised flow loss, Endo3R achieves state-of-the-art accuracy in depth and pose estimation. Notably, the system operates at 19-20 FPS without requiring camera calibration or instrument priors, demonstrating robust zero-shot generalization across diverse surgical environments.

Introduction

Reconstructing a 3D scene from a single moving camera—monocular reconstruction—is a fundamental task in computer vision. However, the surgical environment introduces unique complexities that break the assumptions of standard algorithms. Unlike static indoor scenes, the surgical field is characterized by constant dynamic deformations of organs and tissues. Furthermore, the wet, specular, and often uniform texture of biological surfaces makes feature matching exceptionally difficult. Finally, monocular systems inherently struggle with scale ambiguity, making it nearly impossible to distinguish between small, proximal objects and large, distal ones without external references.

Existing solutions often rely on restrictive priors, such as pre-calibrated camera parameters or known dimensions of surgical instruments. Many also utilize multi-stage pipelines like Structure-from-Motion (SfM), which are computationally expensive and prone to "drift"—the accumulation of geometric errors over time. Endo3R addresses these limitations by providing a unified, online framework that handles long-term video sequences with high temporal and spatial consistency.

Methodology

Endo3R is built upon the DUSt3R architecture, a recent advancement in pairwise 3D reconstruction. Endo3R extends this paradigm to handle continuous video streams through three primary innovations:

Uncertainty-aware Dual Memory

To maintain global consistency during a procedure, Endo3R utilizes a dual-buffer system. A short-term temporal buffer captures immediate scene dynamics and local motion. Simultaneously, a long-term spatial buffer stores global keyframe tokens. This ensures that as the camera moves throughout the surgical site, the resulting 3D map remains aligned with previously visited areas, preventing the disjointed reconstructions common in frame-by-frame methods.

Geometric Uncertainty Filtering

In a dynamic surgical field, moving tissues or instruments can introduce "noise" into the global map. Endo3R employs an uncertainty check based on the Sampson Distance, a geometric metric that measures how well a point fits the constraints of the camera's trajectory. By calculating this distance, the model identifies and filters out tokens with high uncertainty—typically those associated with moving instruments or rapid deformations—ensuring that only stable, reliable points contribute to the long-term spatial memory.

Dynamics-aware Flow Loss

Given the scarcity of ground-truth 3D data in clinical settings, Endo3R utilizes a self-supervised learning approach. The authors developed a novel flow loss that decouples optical flow into two distinct components: motion induced by camera movement and "scene flow" caused by tissue deformation. By explicitly modeling these components, the system can learn effectively from unlabeled surgical videos, enforcing temporal consistency even in the absence of explicit depth labels.

Experimental Results

Endo3R was evaluated using a combination of supervised datasets (SCARED, StereoMIS, C3VD, Endomapper) and unlabeled video data (AutoLaparo, Cholec80, EndoVis17/18). To test its robustness as a foundation model, zero-shot validation was performed on the Hamlyn dataset.

Accuracy and Pose Estimation

On the SCARED dataset, Endo3R achieved an Absolute Relative (Abs Rel) error of 0.124, a significant improvement over previous state-of-the-art methods such as Endo-SfM (0.241) and Monodepth2 (0.432). In terms of camera localization, the model recorded an Absolute Trajectory Error (ATE) of 0.112 mm, outperforming specialized SLAM-based methods that often require manual tuning.

Real-time Performance and Generalization

The model demonstrates high computational efficiency, running at approximately 19-20 FPS on a single NVIDIA RTX 3090 GPU. This performance makes it suitable for intraoperative use. Furthermore, its superior performance in zero-shot tests on the Hamlyn dataset suggests that Endo3R generalizes well to unseen surgical environments without the need for task-specific retraining.

Conclusion and Future Work

Endo3R represents a significant step toward robust, real-time 3D perception in surgery. By treating deformations as uncertainty and decoupling scene flow from camera motion, it provides a stable and scale-consistent reconstruction from monocular video. While the model handles dynamics effectively, extreme deformations or total occlusions by large instruments remain challenging.

Future research will focus on integrating Endo3R with robotic control systems for autonomous navigation and refining scene flow estimation. Such refinements could enable high-fidelity augmented reality (AR) overlays that accurately track and adhere to moving organs during complex procedures.

Summary updated

BibTeX
@inproceedings{guo2025endo,
  author = {Jiaxin Guo and Wenzhen Dong and Tianyu Huang and Hao Ding and Ziyi Wang and Haomin Kuang and Qi Dou and Yun-Hui Liu},
  title = {{Endo3R: Unified Online Reconstruction from Dynamic Monocular Endoscopic Video}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2025},
  doi = {10.1007/978-3-032-05114-1\_17},
}
Figure