Skip to content
Open access

Geometric evaluation in crack segmentation: an analysis of the complementary relationship between region-based (IoU) and boundary-based (BF1) metrics

Oct 2026 · Journal of Mining and Earth Sciences · 0 citations

Abstract

Crack segmentation from images plays a crucial role in infrastructure inspection and maintenance, where the reliability of predicted masks directly affects the assessment of structural deterioration. Although the Intersection over Union (IoU) metric is widely adopted for segmentation evaluation, it primarily measures region overlap and may not adequately capture geometric boundary accuracy for thin, elongated structures such as cracks. This study investigates the complementary relationship between the region-based IoU metric and the boundary-based Boundary F1-score (BF1), with the aim of clarifying their respective strengths and limitations in crack segmentation assessment. Experiments were conducted using a U-Net model with a ResNet-34 encoder on two datasets with distinct labeling characteristics, including a multi-source ground-image dataset and a consistently annotated UAV dataset. In addition, a controlled boundary-deviation experiment was designed to directly evaluate the response of both metrics to predefined geometric distortions. The results indicate that IoU tends to increase withcrack width and mainly reflects area overlap, whereas BF1 is more sensitive to boundary localization errors and annotation quality. For wide cracks, IoU achieved similar values across both datasets (0.706), while BF1 clearly discriminated data quality, increasing from 0.273 on the multi-source dataset to 0.875 on the UAV dataset. The controlled experiments further demonstrated that BF1 decreases onceboundary deviations exceed the tolerance threshold θ, whereas IoU degrades more gradually with increasing geometric distortion. These findings demonstrate that IoU and BF1 characterize different geometric aspects of segmentation quality and therefore should not be used interchangeably. Based on this evidence, the study recommends a standardized evaluation framework that reports both region-based and boundary-based metrics to provide a more reliable assessment of thin linear structure segmentation.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.