A fully dense and globally consistent 3D map reconstruction approach for GI tract to enhance therapeutic relevance of the endoscopic capsule robot

Mehmet Turan, Yusuf Yigit Pilavci, Redhwan Jamiruddin, Helder Araújo, Ender Konukoglu, Metin SittiarXiv 2017

Abstract

In the gastrointestinal (GI) tract endoscopy field, ingestible wireless capsule endoscopy is emerging as a novel, minimally invasive diagnostic technology for inspection of the GI tract and diagnosis of a wide range of diseases and pathologies. Since the development of this technology, medical device companies and many research groups have made substantial progress in converting passive capsule endoscopes to robotic active capsule endoscopes with most of the functionality of current active flexible endoscopes. However, robotic capsule endoscopy still has some challenges. In particular, the use of such devices to generate a precise three-dimensional (3D) mapping of the entire inner organ remains an unsolved problem. Such global 3D maps of inner organs would help doctors to detect the location and size of diseased areas more accurately and intuitively, thus permitting more reliable diagnoses. To our knowledge, this paper presents the first complete pipeline for a complete 3D visual map reconstruction of the stomach. The proposed pipeline is modular and includes a preprocessing module, an image registration module, and a final shape-from-shading-based 3D reconstruction module; the 3D map is primarily generated by a combination of image stitching and shape-from-shading techniques, and is updated in a frame-by-frame iterative fashion via capsule motion inside the stomach. A comprehensive quantitative analysis of the proposed 3D reconstruction method is performed using an esophagus gastro duodenoscopy simulator, three different endoscopic cameras, and a 3D optical scanner.

Introduction

Ingestible wireless capsule endoscopy (WCE) has revolutionized the diagnosis of gastrointestinal (GI) tract diseases by providing a minimally invasive alternative to traditional endoscopy. However, current commercial capsules are largely passive, providing a video stream without spatial context or scale. Transitioning these devices into active robotic capsule endoscopes requires the ability to generate precise 3D maps of the internal organs. Such maps are crucial for accurate lesion localization and size estimation.

The GI environment presents significant challenges for 3D reconstruction: repetitive textures, specular reflections from mucosal fluids, and non-rigid deformations. This paper introduces a modular pipeline to overcome these hurdles, producing globally consistent 3D stomach maps from RGB data without requiring bulky additional sensors.

Methodology

The proposed pipeline consists of three primary modules designed to move from raw video frames to a globally consistent 3D model:

  1. Preprocessing: To handle the challenging GI environment, the authors developed a method for reflection detection and suppression. Adaptive thresholding on image gradients identifies specular "hotspots," which are then filled using inpainting. Additionally, radial gradient symmetry corrects for vignetting, and unsharp masking enhances edge details.
  2. Image Registration (Stitching): To ensure global consistency, the pipeline first stitches 2D frames into a large mosaic. Evaluation of various descriptors revealed that Dense SURF is most effective for the low-texture stomach environment. RANSAC and Sparse Bundle Adjustment are employed to maintain geometric integrity.
  3. 3D Reconstruction: The final stage applies a Shape-from-Shading (SfS) algorithm (specifically the Tsai-Shah method) to the 2D mosaic. By using pixel intensity to estimate surface normals, the system "inflates" the 2D map into a 3D structure.

Experimental Setup

The system was validated using a mix of synthetic and real-world data. A surgical simulator (LM-103) coated in paraffin oil provided a controlled environment with realistic mucosal reflections. Ground truth was established using an Artec Space Spider 3D optical scanner.

Comparison of the three endoscopic cameras used in the study and their respective image outputs.

To test the pipeline's robustness, three different endoscopic cameras were utilized: the Voyager, Awaiba NanEye, and Potensic. The technical specifications for the NanEye sensor, which represents the ultra-miniature class of sensors used in capsule robots, are detailed in the table below.

Technical specifications of the Awaiba NanEye camera sensor.

Results and Discussion

The pipeline demonstrated high precision across all tested camera types, with Root Mean Square (RMS) errors remaining below 10% in all experimental cases. For small frame sequences (1–50 frames), errors were as low as 2.2% to 2.6%. As the number of frames increased to 100, the error rose to 5.1% due to the accumulation of small errors during the 2D stitching process.

Hardware quality significantly impacted performance. The Potensic camera yielded the best results, while the NanEye performed worst. This is attributed to differences in resolution and signal-to-noise ratio; higher quality input images facilitate more stable feature matching, directly improving the resulting 3D maps.

Conclusion

This work presents the first complete pipeline for 3D visual map reconstruction of the stomach. While cumulative error remains a challenge for very large-scale reconstructions, the current results demonstrate the feasibility of vision-only 3D mapping for robotic capsule endoscopy. Future work will focus on integrating stereo vision for absolute depth estimation and combining visual data with other sensor modalities to further reduce drift in the stitching module.

Summary updated

BibTeX
@misc{turan2017fully,
  author = {Mehmet Turan and Yusuf Yigit Pilavci and Redhwan Jamiruddin and Helder Araújo and Ender Konukoglu and Metin Sitti},
  title = {{A fully dense and globally consistent 3D map reconstruction approach for GI tract to enhance therapeutic relevance of the endoscopic capsule robot}},
  year = {2017},
  eprint = {1705.06524},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1705.06524},
}
Figure