Automatic Analysis of Sewer Pipes Based on Unrolled Monocular Fisheye Images

Johannes Künzel, Thomas Werner, Ronja Möller, Peter Eisert, Jan Waschnewski, Ralf Hilpert · DOI

Abstract

The task of detecting and classifying damages in sewer pipes offers an important application area for computer vision algorithms. This paper describes a system capable of accomplishing this task solely based on low-quality and severely compressed fisheye images from a pipe inspection robot. Relying on robust image features, we estimate camera poses, model the image lighting, and exploit this information to generate high-quality cylindrical unwraps of the pipes' surfaces. Based on the generated images, we apply semantic labeling using deep convolutional neural networks to detect and classify defects as well as structural elements.

Introduction

Maintaining urban sewer infrastructure is a critical yet resource-intensive challenge. Many cities rely on aging systems that require constant monitoring to prevent catastrophic failure. Current inspection methods involve mobile robots capturing fisheye video, which human technicians must then manually review—a process that is slow, expensive, and prone to fatigue-induced errors. This research proposes an automated end-to-end pipeline to transform raw, distorted fisheye footage into high-quality unrolled maps suitable for automated defect detection and classification.

Methodology

1. Image Preparation and Unrolling

The first stage of the pipeline addresses the extreme distortion and uneven lighting characteristic of fisheye cameras in dark, cylindrical environments. The authors model the pipe as a cylinder of known diameter and use a feature-based tracking approach to estimate the camera's 3D pose.

Geometric model for back-projecting fisheye pixels onto a cylindrical surface.

By constraining the search space to a cylindrical geometry, the system achieves stable pose estimation even with robot instability. Pixels are back-projected from the circular fisheye view onto the internal surface of the cylinder, which is then "unrolled" into a planar image. To ensure visual consistency, the system employs a column-wise linear lighting model to correct radial light falloff and uses dynamic programming to find optimal seams for stitching overlapping frames, followed by Poisson blending to smooth transitions.

2. Semantic Labeling

Once the pipe surface is mapped into a flat, high-quality image, the problem is treated as a semantic segmentation task. The authors utilize a Full-Resolution Residual Network (FRRN). This architecture is particularly suited for this task as it maintains a full-resolution stream to preserve fine-grained details (essential for detecting thin cracks) while a parallel pooling stream captures the broader context necessary for identifying larger structural elements like shafts or junctions.

Dataset

The system was trained and validated on a substantial real-world dataset created in collaboration with Berliner Wasserbetriebe. The dataset encompasses 111 sewer pipes totaling approximately 4.6 kilometers of infrastructure, including both stoneware and concrete materials. Over 7 million pixels were manually annotated across nine distinct classes: Background, Connection, Joint, Residue, Crack, Root, Obstacle, Spalling, and Shaft.

Results and Discussion

The automated system demonstrates significant improvements over standard commercial unrolling software, which often produces "wavy" distortions due to simplistic motion assumptions. The proposed motion tracking produces distortion-free couplings and correctly registers defects that may appear twice in commercial unrolls.

Semantic segmentation mask identifying structural elements and defects.

Quantitatively, the system achieved exceptional accuracy for structural elements:

  • Background: 99.5%
  • Connections: 95.8%
  • Shafts: 95.3% (mIoU of 0.949)

However, detecting certain defects remains challenging. Cracks were identified with 70% accuracy, often hindered by the rough texture of concrete pipes which can mask thin defects. Obstacles (42% accuracy) proved the most difficult, as they can appear "invisible" in 2D unrolls if they lack distinct shadows or color contrast against the pipe wall when viewed head-on.

Conclusion

This work provides a robust framework for automating sewer pipe inspection. By leveraging geometric constraints for image preparation and advanced residual networks for segmentation, the system transforms low-quality robot footage into actionable infrastructure data. Future work will explore stereo-optical techniques to incorporate 3D depth information, potentially overcoming current limitations in detecting obstacles that blend into the pipe's surface.

Summary updated

BibTeX
@inproceedings{kunzel2018automatic,
  author = {Johannes Künzel and Thomas Werner and Ronja Möller and Peter Eisert and Jan Waschnewski and Ralf Hilpert},
  title = {{Automatic Analysis of Sewer Pipes Based on Unrolled Monocular Fisheye Images}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2018},
  url = {https://openreview.net/forum?id=vw8dnB8VB1},
}
Figure