Introduction
In minimally invasive surgery (MIS), accurate 3D perception is critical for navigation and augmented reality guidance. Stereo matching—calculating depth from binocular camera views—is the primary method for achieving this. However, training robust models for surgical environments is challenging due to the lack of dense ground-truth depth labels. Unlike autonomous driving, surgical scenes cannot easily accommodate LiDAR sensors. Consequently, researchers often rely on sparse "keyframes" (e.g., the first frame of a video) for supervision.
A significant drawback of applying image-based models to surgical videos is temporal instability, or "flickering." Because these models treat each frame independently, predicted depth values for static tissues can fluctuate wildly over time, hindering clinical utility.
The TiS-TSL Framework
To address these challenges, we propose TiS-TSL (Time-Switchable Teacher-Student Learning), a framework designed to achieve high-quality, stable stereo matching using only a single labeled frame per video.
1. The Time-Switchable Model
At the core of TiS-TSL is a unified architecture based on Gated Recurrent Units (GRUs) that can switch between three operational modes:
- Image-Prediction (IP): Processes individual static frames.
- Forward Video-Prediction (FVP): Leverages the hidden state from the previous frame to maintain temporal context.
- Backward Video-Prediction (BVP): Utilizes future frames to inform current predictions, enabling bidirectional reasoning.
2. Two-Stage Hierarchical Learning
The training process is divided into two stages to maximize the utility of sparse labels:
- Stage 1 (Image-to-Video): A teacher model, pre-trained on sparse labeled images, generates pseudo-labels for unlabeled video frames. These pseudo-labels supervise a student model, introducing initial temporal awareness.
- Stage 2 (Video-to-Video): To refine the student, the teacher operates in both FVP and BVP modes. We introduce a Spatio-Temporal Confidence Filtering Mechanism (ST-CFM): if forward and backward predictions for a pixel disagree, that region is deemed unreliable. This ensures the student learns only from temporally consistent, high-quality data.
Experimental Evaluation
The framework was evaluated on two benchmark surgical datasets:
- SCARED: Binocular endoscopic videos of porcine abdomens with structured-light ground truth.
- Hamlyn: Diverse endoscopic videos from Da Vinci surgical systems.
Results and Discussion
TiS-TSL demonstrates superior performance compared to existing state-of-the-art (SOTA) methods in both accuracy and temporal stability.
Accuracy and Stability
On the SCARED dataset, TiS-TSL reduced the End-Point Error (EPE) by 4.54% and the Temporal End-Point Error (TEPE)—a key metric for flickering—by 2.11% over the previous best semi-supervised method, BiSD. Qualitative results highlight the significant reduction in depth artifacts and the improved smoothness of the depth "timeline."
Efficiency
Efficiency is paramount for surgical applications. TiS-TSL achieves a processing speed of 403ms per frame. While not yet meeting the <33ms threshold for real-time operation, it is significantly faster than competing video-based models like DynamicStereo (848ms) and BiDAStereo (1593ms).
Conclusion
TiS-TSL provides a robust solution for surgical video stereo matching under minimal supervision. By enforcing temporal consistency through a time-switchable architecture and bidirectional filtering, it effectively eliminates depth flickering. Future work will focus on optimizing the GRU architecture and leveraging hardware acceleration to achieve real-time performance in clinical settings.
Summary updated