TL;DR
Reconstructing 3D pipe networks from monocular endoscope video is notoriously difficult due to textureless, repetitive surfaces and severe scale drift. This paper introduces an incremental Structure-from-Motion (SfM) pipeline that leverages a known geometric prior—the pipe's constant inner diameter—to constrain bundle adjustment. By cleverly modeling scale drift as a conic distortion during tracking, the system achieves robust, drift-free 3D reconstruction of complex pipe networks containing elbows and tees.
What Problem Does This Paper Address?
Maintaining urban and industrial infrastructure requires regular internal pipe inspections, typically performed using monocular endoscopes. While operators can view the 2D video feed, estimating the exact 3D trajectory of the camera and the precise deformation of the pipe walls remains a massive challenge.
Standard vision-based 3D reconstruction methods like Structure-from-Motion (SfM) and Visual SLAM fail spectacularly in these environments. The inside of an industrial pipe is narrow, highly specular, and features extraordinarily repetitive, weakly-textured surfaces (see Figure 1). This leads to inaccurate keypoint tracking, severe scale drift (where the reconstructed scene erroneously shrinks or expands), and complete tracking failure at sharp turns like elbows or tees. Furthermore, because endoscopes rarely travel in loops during an inspection, standard "loop closure" techniques cannot be used to correct this drift.
Methods
The authors build their solution on top of a standard incremental SfM pipeline (specifically utilizing COLMAP), but introduce two novel components tailored to cylindrical geometries:
- Incremental Conic Shape Detection: As the camera moves, the system builds a temporary 3D point cloud. Due to accumulated scale drift, a pipe segment that is physically a cylinder often appears in the unconstrained reconstruction as a cone. Recognizing this, the authors use RANSAC to fit a general conic shape rather than a strict cylinder to the temporary model. This allows the system to successfully identify pipe segments despite ongoing scale distortion.
- Cylindrical Constrained Bundle Adjustment (BA): Once a pipe segment is detected, its parameters are fed into a modified Bundle Adjustment loop. The standard optimization minimizes reprojection error (how well the 3D points project back onto the 2D images). The authors add a new regularization term that penalizes the distance of the 3D points from the true cylinder surface, enforcing the known prior of a constant inner diameter.
The entire workflow is executed incrementally, updating local and global models as new frames arrive, preventing drift from compounding over time.
Datasets
Because no standard benchmarks exist for internal pipe network reconstruction, the authors constructed four distinct physical pipe networks using industrial steel parts and captured 60fps video using an Olympus industrial endoscope:
- Network A: A simple configuration of 3 straight pipes aligned along a single axis, utilizing a centering guide head for the endoscope.
- Network B: 4 straight pipes with a much narrower diameter (8.0 mm vs 16.1 mm), featuring 45-degree elbows and no centering guide, introducing severe appearance changes.
- Network C: 5 straight pipes connected by 90-degree elbows without a centering guide.
- Network D: The most complex layout, consisting of 7 straight pipes, 2 tees, and 4 elbows connected three-dimensionally with independent orientations.
Key Insights and Ideas
- Scale Drift as a Conic Distortion: The core "aha moment" of the paper is realizing that scale drift transforms cylinders into cones in the digital reconstruction. By searching for cones instead of cylinders during the incremental tracking phase, the algorithm can robustly identify pipe segments even when the underlying geometry is heavily distorted by drift.
- In-the-Loop Regularization vs. Post-Processing: Previous methods attempted to fit cylinders to the final 3D point cloud after reconstruction. However, if the initial reconstruction suffers from severe tracking loss or catastrophic distortion, post-processing cannot save it. Injecting the cylindrical constraint directly into the incremental BA loop keeps the reconstruction on the rails throughout the entire camera trajectory.
Key Results
The method was evaluated using the Root Mean Squared Error (RMSE) of the radius rate against baseline methods COLMAP and ORB-SLAM.
Our method consistently outperformed the standard COLMAP baseline across all configurations:
- Network A (Simple): Ours achieved an RMSE of 0.1375 vs. COLMAP's 0.1615.
- Network C (90° Elbows): Ours achieved 0.1560 vs. COLMAP's 0.3055 (a massive reduction in error).
- Network D (Complex 3D): Ours achieved 0.1034 vs. COLMAP's 0.2670.
While ORB-SLAM achieved a slightly lower error score on Network D (0.0958), it suffered from severe tracking failure and was only able to reconstruct two out of the seven pipes in the network. The proposed method successfully mapped the entire network across all test cases without losing track.
Limitations and Future Work
Despite its robustness, the system still relies on sparse feature matching (like SIFT). If a pipe network is made of an extremely smooth, perfectly polished material with absolutely no surface texture, the system will fail to find sufficient feature matches to initiate tracking.
Additionally, the optimization relies on a hyperparameter ($\alpha$) to balance the weight between the standard reprojection error and the new cylindrical constraint. Currently, this parameter must be tuned manually. The authors point to dense pixel-wise matching and automated parameter tuning as promising directions for future work.
Summary updated