Next Article in Journal
Analysis of the EDSA Busway’s Cost Benefit: Impacts for Metro Manila’s Sustainable Urban Transportation Through Bus Rapid Transit (BRT)
Previous Article in Journal
Stochastic Cost Estimation in Transportation Infrastructure Projects Using Monte Carlo Simulation and Correlated Risk Variables
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Beyond Conventional Losses: Skeleton-Based Loss for Preserving Connectivity in Crack Segmentation

1
Department of Engineering Science, Graduate School of Engineering, Gifu University, 1-1 Yanagido, Gifu City 501-1193, Japan
2
Department of Informatics Engineering, Faculty of Engineering, Science and Technology, National University of Timor Leste, Avenida Hera Cristo Rei, Dili TL10001, Timor-Leste
*
Author to whom correspondence should be addressed.
Future Transp. 2025, 5(4), 177; https://doi.org/10.3390/futuretransp5040177
Submission received: 15 October 2025 / Revised: 8 November 2025 / Accepted: 17 November 2025 / Published: 24 November 2025

Abstract

Identifying road surface cracks by semantic segmentation is a difficult problem. This is because segmentation typically detects objects by area, whereas cracks are string-like. Conventional loss functions such as Binary Cross-Entropy (BCE), Dice, and IoU often fail to capture the fine, elongated features of cracks, as they rely on pixel-level, area-based overlap, leading to suboptimal performance. To address this, we investigate one of the skeleton-based losses, the Centerline Dice (clDice) loss, which emphasizes the preservation of tubular structures via soft skeletonization. We improve road crack segmentation by combining clDice with conventional loss functions, systematically evaluating its role by varying the weight parameter and skeletonization iterations. Experiments are conducted on the EdmCrack600 and CrackForest datasets using two segmentation models: a customized CNN-based U-Net++ and a transformer-based SegFormer. Performance is evaluated using the Dice coefficient, IoU, clDice, and Hausdorff Distance. Results show that combining clDice and IoU loss with customized U-Net++ achieves superior performance. Compared to a standard BCE baseline, it improves the Dice coefficient by 4.9 and 2.8 percentage points on EdmCrack600 and CrackForest and improves the clDice score by 3.9 and 1.7 percentage points. These results highlight improved segmentation of thin, linear cracks, supporting practical advancements in road monitoring and segmentation of linear structures.
Keywords: clDice loss; crack connectivity; crack segmentation; deep learning; hybrid loss function; SegFormer; U-Net++ clDice loss; crack connectivity; crack segmentation; deep learning; hybrid loss function; SegFormer; U-Net++

Share and Cite

MDPI and ACS Style

Pereira, V.; Yutaka, O.; Fukai, H. Beyond Conventional Losses: Skeleton-Based Loss for Preserving Connectivity in Crack Segmentation. Future Transp. 2025, 5, 177. https://doi.org/10.3390/futuretransp5040177

AMA Style

Pereira V, Yutaka O, Fukai H. Beyond Conventional Losses: Skeleton-Based Loss for Preserving Connectivity in Crack Segmentation. Future Transportation. 2025; 5(4):177. https://doi.org/10.3390/futuretransp5040177

Chicago/Turabian Style

Pereira, Vosco, Oseko Yutaka, and Hidekazu Fukai. 2025. "Beyond Conventional Losses: Skeleton-Based Loss for Preserving Connectivity in Crack Segmentation" Future Transportation 5, no. 4: 177. https://doi.org/10.3390/futuretransp5040177

APA Style

Pereira, V., Yutaka, O., & Fukai, H. (2025). Beyond Conventional Losses: Skeleton-Based Loss for Preserving Connectivity in Crack Segmentation. Future Transportation, 5(4), 177. https://doi.org/10.3390/futuretransp5040177

Article Metrics

Back to TopTop