[Paper Review] EndoSLAM Dataset and An Unsupervised Monocular Visual Odometry and Depth Estimation Approach for Endoscopic Videos: Endo-SfMLearner
This paper introduces the EndoSLAM dataset, a comprehensive collection of endoscopic videos with 6D pose and 3D point cloud ground truth from ex-vivo porcine gastrointestinal organs, alongside Endo-SfMLearner, an unsupervised monocular visual odometry and depth estimation method that leverages residual networks with a spatial attention module and a brightness-aware photometric loss. The approach achieves state-of-the-art performance in depth estimation and pose tracking across colon, stomach, and small intestine, outperforming SC-SfMLearner and shape-from-shading methods with lower RMSE values on real and synthetic data.
Deep learning techniques hold promise to develop dense topography reconstruction and pose estimation methods for endoscopic videos. However, currently available datasets do not support effective quantitative benchmarking. In this paper, we introduce a comprehensive endoscopic SLAM dataset consisting of 3D point cloud data for six porcine organs, capsule and standard endoscopy recordings as well as synthetically generated data. A Panda robotic arm, two commercially available capsule endoscopes, two conventional endoscopes with different camera properties, and two high precision 3D scanners were employed to collect data from 8 ex-vivo porcine gastrointestinal (GI)-tract organs. In total, 35 sub-datasets are provided with 6D pose ground truth for the ex-vivo part: 18 sub-dataset for colon, 12 sub-datasets for stomach and 5 sub-datasets for small intestine, while four of these contain polyp-mimicking elevations carried out by an expert gastroenterologist. Synthetic capsule endoscopy frames from GI-tract with both depth and pose annotations are included to facilitate the study of simulation-to-real transfer learning algorithms. Additionally, we propound Endo-SfMLearner, an unsupervised monocular depth and pose estimation method that combines residual networks with spatial attention module in order to dictate the network to focus on distinguishable and highly textured tissue regions. The proposed approach makes use of a brightness-aware photometric loss to improve the robustness under fast frame-to-frame illumination changes. To exemplify the use-case of the EndoSLAM dataset, the performance of Endo-SfMLearner is extensively compared with the state-of-the-art. The codes and the link for the dataset are publicly available at https://github.com/CapsuleEndoscope/EndoSLAM. A video demonstrating the experimental setup and procedure is accessible through https://www.youtube.com/watch?v=G_LCe0aWWdQ.
Motivation & Objective
- To address the lack of comprehensive, publicly available datasets with 6D pose and 3D ground truth for endoscopic video analysis.
- To develop a robust, unsupervised monocular visual odometry and depth estimation method tailored for endoscopic imaging conditions.
- To enable benchmarking of deep learning methods in endoscopic SLAM using real and synthetic data.
- To improve generalization across diverse endoscopic textures and illumination changes through attention mechanisms and loss design.
- To support future research in 3D reconstruction, localization, and multi-task learning in minimally invasive endoscopy.
Proposed method
- The EndoSLAM dataset was collected using a Panda robotic arm, two capsule endoscopes, two standard endoscopes, and two high-precision 3D scanners across eight ex-vivo porcine GI organs.
- The dataset includes 35 sub-datasets with 6D pose ground truth, 3D point clouds, and synthetic frames from colon, stomach, and small intestine with depth and pose annotations.
- Endo-SfMLearner employs a residual network with a spatial attention module to focus on textured, distinguishable tissue regions during monocular depth and pose estimation.
- A brightness-aware photometric loss is introduced to enhance robustness under rapid illumination changes common in endoscopic videos.
- The method uses unsupervised learning with depth supervision from stereo matching and pose consistency across frames.
- 3D reconstruction is performed via SIFT feature matching, RANSAC-based outlier removal, Tsai-Shah shape-from-shading, and image stitching with reflection suppression using Otsu thresholding and OpenCV inpainting.
Experimental results
Research questions
- RQ1Can a single unsupervised monocular network achieve accurate depth and pose estimation across diverse endoscopic environments with varying textures and lighting?
- RQ2How does the integration of a spatial attention module improve performance on low-texture or highly reflective endoscopic regions?
- RQ3To what extent does the brightness-aware photometric loss enhance robustness under fast illumination changes in endoscopic videos?
- RQ4How does Endo-SfMLearner generalize to organs not included in its training data, such as stomach and small intestine?
- RQ5Can synthetic endoscopic data effectively support transfer learning for real-world endoscopic SLAM tasks?
Key findings
- Endo-SfMLearner achieved an RMSE of 0.40 cm on the small intestine, outperforming SC-SfMLearner (1.02 cm) and shape-from-shading (0.54 cm).
- On the colon, Endo-SfMLearner achieved 0.37 cm RMSE, compared to 0.51 cm for SC-SfMLearner and 0.86 cm for shape-from-shading.
- For Stomach-III, Endo-SfMLearner achieved 0.41 cm RMSE, significantly lower than SC-SfMLearner (1.37 cm) and shape-from-shading (0.73 cm).
- The attention module improved depth estimation performance on synthetic colon, intestine, and stomach frames, even when these organs were not in the training set.
- The 3D reconstruction pipeline using Endo-SfMLearner’s depth estimates achieved RMSEs of 0.65 cm (Colon-IV), 0.54 cm (Small Intestine), and 0.73 cm (Stomach-III), outperforming rule-based methods.
- Ablation studies confirmed that the attention module enhances sensitivity to depth variations and improves generalization across texture differences, even without direct training on certain organs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.