Next Article in Journal
A Miniaturized FSS Using the Parallel LC Resonant with Angular Stability
Previous Article in Journal
Inter-Girdle Coordination as a Predictive Measure of Low Back Pain
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

SAID: Segment All Industrial Defects with Scene Prompts

1
College of Mechatronics and Control Engineering, Shenzhen University, Nanhai Ave., Shenzhen 518060, China
2
School of Sino-Germany Intelligent Production, Shenzhen City Polytechnic, Shenzhen 518116, China
3
College of Urban Transportation and Logistics, Shenzhen Technology University, Shenzhen 518118, China
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(16), 4929; https://doi.org/10.3390/s25164929 (registering DOI)
Submission received: 23 June 2025 / Revised: 25 July 2025 / Accepted: 7 August 2025 / Published: 9 August 2025
(This article belongs to the Section Industrial Sensors)

Abstract

In the field of industrial inspection, image segmentation is a common method for surface inspection, capable of locating and segmenting the appearance defect areas of products. Most existing methods are trained specifically for particular products. The recent SAM (Segment Anything Model) serves as an image segmentation foundation model, capable of achieving zero-shot segmentation through diverse prompts. Nevertheless, SAM’s performance in special downstream tasks is not satisfactory. Additionally, SAM requires prior manual interactions to complete segmentation and post-processing of the segmentation results. This paper proposes SAID (Segment All Industrial Defects) to deal with these issues. The SAID model encodes single-annotated prompt–image pairs into scene embedding via Scene Encoder, achieving automatic segmentation and eliminating the reliance on manual intervention. Meanwhile, SAID’s Feature Alignment and Fusion Module effectively addresses the alignment issue between scene embedding and image embedding. Experimental results demonstrate that SAID outperforms SAM in segmentation capabilities across various industrial scenes. Under the one-shot target scene segmentation task, SAID also improves the mIoU metrics by 5.79 and 0.87 compared to the MSNet and SegGPT, respectively.
Keywords: industrial defect segmentation; cross-scene adaptation; prompt-based foundation model industrial defect segmentation; cross-scene adaptation; prompt-based foundation model

Share and Cite

MDPI and ACS Style

Huang, Y.; Zhu, J.; Zhong, X.; Deng, Y. SAID: Segment All Industrial Defects with Scene Prompts. Sensors 2025, 25, 4929. https://doi.org/10.3390/s25164929

AMA Style

Huang Y, Zhu J, Zhong X, Deng Y. SAID: Segment All Industrial Defects with Scene Prompts. Sensors. 2025; 25(16):4929. https://doi.org/10.3390/s25164929

Chicago/Turabian Style

Huang, Yican, Junwei Zhu, Xiaopin Zhong, and Yuanlong Deng. 2025. "SAID: Segment All Industrial Defects with Scene Prompts" Sensors 25, no. 16: 4929. https://doi.org/10.3390/s25164929

APA Style

Huang, Y., Zhu, J., Zhong, X., & Deng, Y. (2025). SAID: Segment All Industrial Defects with Scene Prompts. Sensors, 25(16), 4929. https://doi.org/10.3390/s25164929

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop