A Two-Stage Crack Image and Mask Generation Network for Data Augmentation Toward Efficient Crack Detection

Crack images and their annotation labels constitute a critical foundation for intelligent crack detection, yet manual annotation is time-consuming and labor-intensive with high costs. Existing generative methods face difficulties in simultaneously generating well-matched high-quality images and labels, resulting in insufficient reliability. Therefore, a two-stage crack data generation framework is proposed. The data are manually divided according to crack type, and category-specific mask-generation models are trained accordingly. The generated masks are then converted by E-Pix2Pix into realistic crack images with diverse backgrounds, alleviating class imbalance and data scarcity. First, to tackle discontinuous and noisy masks produced by the traditional Deep Convolutional Generative Adversarial Network (DCGAN), CA-DCGAN is constructed for category mask generation with the existing long-range modeling ConvAttn module. By suppressing image noise via enhanced structural similarity, it enables category-specific label production and addresses data imbalance at the source. Compared to DCGAN baseline, FID decreased by 42.38% and SSIM increased by 2.10%. Second, E-Pix2Pix is constructed for mask-to-image translation using the existing low-light-enhancing EBlock module to generate realistic images with stochastic backgrounds. This approach mitigates edge-feature obscuration in low-contrast environments, enhancing synthesis quality while effectively addressing data scarcity. Compared to Pix2Pix baseline, LPIPS decreased by 46.86% and FID decreased by 42.95%. To validate the authenticity and practical utility of the generated data, synthetic samples were merged with Crack500 to create three augmented datasets. Evaluations on six mainstream models show improved IoU, Dice, and F1, confirming category-based synthesis as a robust solution for data-scarce crack segmentation.

Authors

Institutions

Publication Details

Journal
Symmetry
Published
2026-11-01
DOI
https://doi.org/10.3390/sym18111832
Primary Topic
Infrastructure Maintenance and Monitoring
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Two-Stage Crack Image and Mask Generation Network for Data Augmentation Toward Efficient Crack Detection

Xiangyang Xu, Hao Yang, Jingqi He
Symmetry
Infrastructure Maintenance and Monitoring
article

A Two-Stage Crack Image and Mask Generation Network for Data Augmentation Toward Efficient Crack Detection

Xiangyang Xu, Hao Yang, Jingqi He
article en

Abstract

Crack images and their annotation labels constitute a critical foundation for intelligent crack detection, yet manual annotation is time-consuming and labor-intensive with high costs. Existing generative methods face difficulties in simultaneously generating well-matched high-quality images and labels, resulting in insufficient reliability. Therefore, a two-stage crack data generation framework is proposed. The data are manually divided according to crack type, and category-specific mask-generation models are trained accordingly. The generated masks are then converted by E-Pix2Pix into realistic crack images with diverse backgrounds, alleviating class imbalance and data scarcity. First, to tackle discontinuous and noisy masks produced by the traditional Deep Convolutional Generative Adversarial Network (DCGAN), CA-DCGAN is constructed for category mask generation with the existing long-range modeling ConvAttn module. By suppressing image noise via enhanced structural similarity, it enables category-specific label production and addresses data imbalance at the source. Compared to DCGAN baseline, FID decreased by 42.38% and SSIM increased by 2.10%. Second, E-Pix2Pix is constructed for mask-to-image translation using the existing low-light-enhancing EBlock module to generate realistic images with stochastic backgrounds. This approach mitigates edge-feature obscuration in low-contrast environments, enhancing synthesis quality while effectively addressing data scarcity. Compared to Pix2Pix baseline, LPIPS decreased by 46.86% and FID decreased by 42.95%. To validate the authenticity and practical utility of the generated data, synthetic samples were merged with Crack500 to create three augmented datasets. Evaluations on six mainstream models show improved IoU, Dice, and F1, confirming category-based synthesis as a robust solution for data-scarce crack segmentation.

SymmetryVol. 18(11)
Politecnico di Torino (IT), Soochow University (CN)
Openalex Percentile: Top 19%
Infrastructure Maintenance and Monitoring
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon