TDRPFormer: Texture-Debiased Reliable Prototype Transformer for Pixel-Level Steel Surface Defect Segmentation
Open Access
Abstract
Steel surface defect segmentation is a critical task in industrial visual inspection, with direct implications for quality assessment, process control, and in-service safety. However, complex steel-surface images often contain strong background textures, local reflections, machining traces, and low-contrast defects, which cause existing methods to be distracted by normal textures and to produce false positives or missed detections in slender structures, blurred boundaries, and weak-response regions. To address these challenges, we propose a Texture-Debiased Reliable Prototype Transformer (TDRPFormer) for pixel-level steel surface defect segmentation. Within a query-driven mask prediction framework, TDRPFormer first derives pixel-level confidence and boundary cues from intermediate segmentation priors and then aggregates normal texture prototypes from high-confidence background regions. A Texture Debiasing Module (TDM) is introduced to suppress the interference of normal textures in defect representations. Next, a Reliable Prototype Routing (RPR) module compresses the debiased spatial features into a small set of high-reliability prototypes, thereby reducing ineffective interactions between queries and redundant background pixels. Finally, a Structural Continuity Modulation (SCM) module enhances high-resolution mask features, improving the recovery of slender defects, weak-response regions, and blurred boundaries. We conduct systematic experiments on the ESDIs-SOD and NEU-DET steel surface defect datasets. TDRPFormer achieves the best overall performance on both datasets. On ESDIs-SOD, the mean absolute error (MAE), weighted F-measure (), S-measure (), and mean E-measure () reach 0.0185, 0.8824, 0.9070, and 0.9626, respectively. On NEU-DET, the corresponding values are 0.0210, 0.8858, 0.9017, and 0.9662. Further ablation studies and response visualizations confirm the complementary roles of texture debiasing, reliable prototype routing, and structural continuity modulation. These results demonstrate that TDRPFormer improves discriminability, stability, and structural recovery under complex industrial backgrounds, providing an effective solution for pixel-level steel surface defect segmentation.
Keywords
Funding Information
- Jiangsu Province Youth Science and Technology Talents Lifting Project (JSTJ-2025-965)
- Taizhou Science and Technology Support Program (Social Development) Project (TSL202525)
This publication has 66 references indexed in Scilit:
- Uncertainty quantification for a deep learning models for image-based crack segmentationJournal of Civil Structural Health Monitoring, 2024
- Topology-aware mamba for crack segmentation in structuresAutomation in Construction, 2024
- Surface defect inspection of industrial products with object detection deep networks: a systematic reviewArtificial Intelligence Review, 2024
- Prototype as query for few shot semantic segmentationComplex & Intelligent Systems, 2024
- A survey of real-time surface defect inspection methods based on deep learningArtificial Intelligence Review, 2023
- MaMiNet: Memory-attended multi-inference network for surface-defect detectionComputers in Industry, 2022
- Mixed supervision for surface-defect detection: From weakly to fully supervised learningComputers in Industry, 2021
- Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation2018
- Unified Perceptual Parsing for Scene Understanding2018
- U-Net: Convolutional Networks for Biomedical Image Segmentation2015