Cystoscopic depth estimation using gated adversarial domain adaptation

Peter Somers, Simon Holdenried-Krafft, Johannes Zahn, Johannes Schüle, Carina Veil, Niklas Harland, Simon Walz, Arnulf Stenzl, Oliver Sawodny, Cristina Tarín, Hendrik P. A. LenschBiomedical 2023

Abstract

Monocular depth estimation is a vital component for surgical navigation and scene evaluation, yet traditional triangulation methods are often inapplicable in endoscopic environments. In cystoscopy, the lack of ground-truth depth data prevents direct supervised training on real clinical images. This paper presents a novel approach using gated adversarial domain adaptation. By leveraging a high-fidelity synthetic environment for initial training and a gated residual mechanism for domain transfer, the proposed model achieves stable training and generates plausible depth maps from real-world cystoscopic videos.

Introduction

Accurate depth perception is essential for safe surgical interventions. While sensors like LIDAR provide easy depth solutions in robotics and automotive fields, the medical domain—specifically cystoscopy—presents unique challenges. The bladder is a highly deformable organ, and the endoscopic environment is characterized by a lack of rigid landmarks and significant lighting variations. Furthermore, the physical constraints of the procedure make it impossible to deploy secondary sensors for ground-truth depth acquisition in vivo. This creates a "domain gap" where models trained on synthetic data fail to generalize to the complex, textured reality of human tissue.

Methodology

The researchers developed a two-stage pipeline designed to learn spatial geometry from synthetic data and then adapt to real-world clinical features.

Supervised Synthetic Training

The first stage involves training a U-Net-style encoder-decoder architecture on a synthetic dataset. This dataset was meticulously crafted in Blender using 3D models derived from patient CT scans. To ensure high-quality depth prediction, the architecture incorporates Coordinate Convolutions and ICNR-initialized sub-pixel convolutions (PixelShuffle), which help eliminate common "checkerboard" artifacts in the output.

Overview of the proposed network architecture for depth estimation.

Gated Domain Adaptation

The core innovation lies in the transition from synthetic to real domains. Using a Generative Adversarial Network (GAN) framework, the authors introduced Gated Residual Blocks to the decoder.

Detail of the Gated Residual Block used for stable domain adaptation.

These blocks utilize a learned gating coefficient ($\alpha$) that is initialized to zero. This ensures that at the start of training, the network relies entirely on the pre-trained synthetic weights. As training progresses, the gates slowly "open," allowing the model to integrate domain-specific features from real clinical videos. This gradual integration is crucial for maintaining training stability and preventing "mode collapse," a common failure mode where GANs produce repetitive, non-informative outputs.

Datasets

The study relied on a combination of high-fidelity simulation and real-world clinical data:

  • Synthetic Dataset: Comprising 340,000 training images from 38 distinct bladder models. The simulation included physics-based rendering techniques such as translucent subsurface scattering to mimic the way light interacts with human tissue, as well as Perlin noise to simulate realistic geometric irregularities like wrinkles and polyps.
  • Real-World Dataset: Consisting of approximately 16,600 frames from 17 clinical cystoscopy videos. These frames were carefully curated to ensure high image quality and relevance to the surgical task.

Results and Discussion

Quantitative evaluation on the synthetic test set yielded a Root Mean Square Error (RMSE) of 0.878 mm, demonstrating the model's high precision in a controlled environment.

Qualitatively, the gated domain adaptation significantly outperformed unadapted models when applied to real clinical footage. The adapted model produced smoother, more consistent depth maps and demonstrated a superior ability to distinguish between dark textures (such as blood vessels or lesions) and shadows caused by distance.

The most significant finding was the impact of the gated mechanism on training stability. Without these gates, the adversarial training process frequently collapsed, leading to nonsensical depth estimations. By "fading in" the real-world features, the researchers ensured that the fundamental spatial understanding learned from synthetic data remained intact while the model learned the visual nuances of real human bladders.

Conclusion

This work demonstrates that gated adversarial domain adaptation is a robust method for depth estimation in data-scarce medical environments. While the current model shows limitations when encountering surgical tools—often misinterpreting their high reflectivity as proximity—future iterations will incorporate these instruments into the synthetic training library. This research paves the way for more advanced surgical navigation systems that can provide real-time spatial awareness to clinicians during complex procedures.

Summary updated

BibTeX
@inproceedings{somers2023cystoscopic,
  author = {Peter Somers and Simon Holdenried-Krafft and Johannes Zahn and Johannes Schüle and Carina Veil and Niklas Harland and Simon Walz and Arnulf Stenzl and Oliver Sawodny and Cristina Tarín and Hendrik P. A. Lensch},
  title = {{Cystoscopic depth estimation using gated adversarial domain adaptation}},
  booktitle = {Biomedical},
  year = {2023},
  doi = {10.1007/s13534-023-00261-3},
}
Figure