Prototype Learning-Based Few-Shot Segmentation for Low-Light Crack on Concrete Structures
Yulun Guo
TL;DR
The paper tackles crack segmentation under challenging low-light conditions with limited labeled data. It introduces a dual-branch prototype network guided by Retinex theory, augmented by a Cross-Similarity Prior Mask Generation module and a Multi-Scale Feature Enhancement module to enable robust few-shot segmentation. Key contributions include end-to-end training for low-light crack segmentation, explicit cross-image priors for crack localization, and attention-driven multi-scale feature fusion, validated on real and synthetic datasets with state-of-the-art results. The approach reduces annotation burden while achieving reliable performance in difficult lighting, and code is publicly available for reproducibility.
Abstract
Crack detection is critical for concrete infrastructure safety, but real-world cracks often appear in low-light environments like tunnels and bridge undersides, degrading computer vision segmentation accuracy. Pixel-level annotation of low-light crack images is extremely time-consuming, yet most deep learning methods require large, well-illuminated datasets. We propose a dual-branch prototype learning network integrating Retinex theory with few-shot learning for low-light crack segmentation. Retinex-based reflectance components guide illumination-invariant global representation learning, while metric learning reduces dependence on large annotated datasets. We introduce a cross-similarity prior mask generation module that computes high-dimensional similarities between query and support features to capture crack location and structure, and a multi-scale feature enhancement module that fuses multi-scale features with the prior mask to alleviate spatial inconsistency. Extensive experiments on multiple benchmarks demonstrate consistent state-of-the-art performance under low-light conditions. Code: https://github.com/YulunGuo/CrackFSS.
