Abstract
Purpose Reconstruction of endoscopic scenes is crucial for various medical applications, from post-surgery analysis to educational training. However, existing methods are limited by static endoscopes, restricted deformation, or dependence on external tracking devices for camera pose information.
Methods We present flow-optimized local hexplanes (FLex), a novel approach addressing the challenges of a moving stereo endoscope in a highly dynamic environment. FLex implicitly separates the scene into multiple overlapping 4D neural radiance fields (NeRFs) and employs a progressive optimization scheme for joint reconstruction and camera pose estimation from scratch.
Results Tested on sequences of length up to 5000 frames, which is five times the length handled in the experiments of previous methods, this technique enhances usability substantially. It scales highly detailed reconstruction capabilities to significantly longer surgical videos, all without requiring external tracking information.
Conclusion Our proposed approach overcomes key limitations of existing methods by enabling accurate reconstruction and camera pose estimation for moving stereo endoscopes in challenging surgical scenes. FLex’s advancements enhance the applicability of neural rendering techniques for medical applications, paving the way for improved surgical scene understanding.
Introduction
Reconstructing a 3D surgical scene over time—often referred to as 4D reconstruction—is a fundamental challenge in medical computer vision. Such technology is vital for robotic surgery training, intra-operative guidance, and post-operative analysis. However, the intra-abdominal environment presents significant hurdles: tissues undergo complex, non-rigid deformations due to physiological processes (like breathing) and surgical interactions, and the endoscope itself is frequently in motion.
Traditional Neural Radiance Field (NeRF) approaches often struggle in this domain. They typically require precise "ground truth" camera poses from robotic kinematics, which are not always available or accurate. Furthermore, many methods assume a static scene for pose estimation, a premise that fails in dynamic surgical environments. Finally, global NeRF models face a "memory wall" when processing long sequences, leading to blurred details as the model's capacity is stretched thin.
Methodology: Flow-Optimized Local Hexplanes
To address these limitations, we introduce FLex (Flow-optimized Local Hexplanes). The core of FLex is a modular architecture that avoids the pitfalls of global scene representations.
Local Hexplanes and Progressive Optimization
Instead of a single global model, FLex utilizes multiple overlapping "local" 4D representations. Each local model is responsible for a specific spatio-temporal window of the video. This modularity allows the system to scale to arbitrarily long videos by instantiating new local models as the camera traverses the scene or as time progresses. The optimization is performed progressively, processing the video sequentially to "grow" the reconstruction frame-by-frame.
Joint Optimization via Optical Flow
A key innovation in FLex is the joint optimization of camera poses and scene geometry without external tracking. We leverage dense optical flow (derived from RAFT) and stereo depth as primary supervision signals. Camera poses are optimized primarily through an optical flow loss, which provides a robust geometric anchor even in texture-poor regions typical of internal organs. This approach effectively decouples camera motion from tissue deformation.
Experimental Results
We evaluated FLex using the StereoMIS dataset, which contains high-quality stereo video from a da Vinci Xi surgical robot. Our experiments included standard 1000-frame benchmarks and "stress tests" on sequences up to 5000 frames (approximately 2.25 minutes).
Reconstruction Quality and Scalability
FLex significantly outperforms previous state-of-the-art methods like ForPlane and HexPlane. In terms of visual fidelity, FLex achieved a 5.3-point improvement in SSIM, producing noticeably sharper renders. Geometrically, FLex maintained an L1 depth error of 1.273 mm, whereas baseline methods often deviated by more than 8 mm.
Crucially, FLex demonstrates superior stability over long sequences. While global models suffer from performance degradation as video length increases, FLex's local representation maintains high-quality reconstruction even at the 5000-frame mark.
Pose Estimation Accuracy
Despite the absence of external tracking hardware, FLex achieved a camera trajectory error (ATE-RMSE) of approximately 2.5 mm. This performance is competitive with dedicated pose-estimation frameworks that do not attempt scene reconstruction, proving the effectiveness of our joint optimization strategy.
Conclusion and Future Work
FLex represents a significant step forward in 4D surgical scene reconstruction by enabling joint pose estimation and high-fidelity rendering for moving stereo endoscopes. By utilizing local representations and optical flow supervision, it overcomes the scalability and dependency issues of prior methods.
Future work will focus on improving processing speeds, as the current system runs at 0.3 FPS. Transitioning to a Gaussian Splatting backbone could offer a path toward real-time performance. Additionally, explicitly modeling surgical tools as separate entities could further enhance the reconstruction of tissue surfaces obscured during the procedure.
Summary updated