Segmentation Tool for Images of Cracks

Andrii Kompanets, Remco Duits, Davide Leonetti, Nicky van den Berg, H.h. SnijderLecture Notes in Civil Engineering 2023 · OpenAlex

Abstract

Manual annotation of cracks in infrastructure images is a significant bottleneck for training machine learning models. This paper introduces a semi-automatic tool that leverages orientation scores to "lift" 2D images into a 3D space, effectively disentangling cracks from visual noise like rust and shadows. By combining human-selected endpoints with anisotropic fast marching and novel width detection methods, the tool achieves high F1-scores on both pavement and complex steel bridge datasets, significantly outperforming traditional fully automatic methods.

1. Introduction: The Challenge of Automated Crack Detection

Maintaining safety-critical infrastructure like steel bridges requires constant vigilance. While visual inspection is the gold standard, it is costly, subjective, and slow. Engineers are turning to machine learning (ML) to automate crack detection, but these models are data-hungry; they require thousands of precisely "annotated" images where every pixel of a crack is manually traced.

Complex surface of a steel bridge joint featuring rust and fasteners, illustrating the difficulty of automated crack detection.

This manual labeling is a massive bottleneck. Furthermore, fully automatic image processing tools often fail on complex surfaces. On a weathered steel bridge, a dark shadow, a line of peeling paint, or a structural joint can easily be mistaken for a crack (a "false positive"). The authors sought a "middle ground": a semi-automatic tool that combines human intuition (selecting endpoints) with algorithmic precision to generate high-quality training data quickly.

2. Methodology: Tracking in Orientation Scores

The core innovation lies in how the tool "sees" the image. Instead of looking at a flat 2D grid of pixels, it uses a Multi-Orientation Wavelet Transform to "lift" the image into a 3D space called Orientation Scores.

Visualization of lifting 2D lines into a 3D orientation space (theta) to disentangle crossing structures.
  1. Lifting to 3D: The image is transformed into a 3D volume where the third dimension represents the local orientation ($\theta$) of structures. This allows the algorithm to "disentangle" crossing lines. For example, if a crack passes over a scratch in the paint, they appear at different "heights" in the 3D orientation score, allowing the tracker to stay on the right trail.
  2. Anisotropic Fast Marching: Once the user clicks the two endpoints of a crack, the tool calculates the "geodesic" (the optimal path) between them. It doesn't just look for dark pixels; it looks for pixels that align with the crack's flow.
  3. Width Detection: After finding the path, the tool must determine the crack's thickness. The authors propose two methods: Width Expansion (WE), an iterative approach for grainy surfaces like pavement, and Edge Tracking (ET), which uses directional filters to find smooth boundaries in steel.

3. Datasets and Evaluation

The study evaluated the tool using two distinct datasets:

  • AigleRN Dataset: A standard benchmark containing images of cracks in pavement, used to test the Width Expansion (WE) module.
  • Steel Structures Dataset: A custom dataset provided by Dutch infrastructure authorities (ProRail and Rijkswaterstaat) featuring fatigue cracks in actual steel bridges. This dataset is particularly challenging due to the presence of rust, fasteners, and complex textures.

4. Key Results and Performance

The proposed Tracking in Orientation Scores (TOS) method consistently outperformed traditional methods like Dijkstra-based tracking or "FlyFisher" algorithms.

  • Pavement Performance: On the AigleRN dataset, the TOS+WE approach achieved an F1-score of 0.82, far surpassing the 0.63 achieved by the standard Minimal Path Selection (MPS) method.
  • Steel Performance: On the challenging steel bridge dataset, the TOS+ET (Edge Tracking) method reached an F1-score of 0.83, whereas the fully automatic MPS method struggled with a 0.52 F1-score due to a high number of false detections from rust and paint.

5. Conclusion and Future Directions

By treating orientation as a physical dimension, the algorithm can handle "partially visible" cracks and bridge gaps obscured by dirt. While the tool is a major step forward, it does not yet perfectly reproduce manual pixel-wise labeling. Future research will focus on investigating whether models trained on this semi-automatic data perform as well as those trained on purely manual data and expanding the tool to automatically extract engineering metrics like crack curvature and precise width profiles.

Summary updated

BibTeX
@inproceedings{kompanets2023segmentation,
  author = {Andrii Kompanets and Remco Duits and Davide Leonetti and Nicky van den Berg and H.H. Snijder},
  title = {{Segmentation Tool for Images of Cracks}},
  booktitle = {Lecture Notes in Civil Engineering},
  year = {2023},
  doi = {10.1007/978-3-031-35399-4\_8},
}

Loading related content...

Figure