论文中文题名: | 基于稀疏点阵与多适配器的钛钉钉匣缺陷检测方法研究 |
姓名: | |
学号: | 21307223005 |
保密级别: | 公开 |
论文语种: | chi |
学科代码: | 085400 |
学科名称: | 工学 - 电子信息 |
学生类型: | 硕士 |
学位级别: | 工程硕士 |
学位年度: | 2024 |
培养单位: | 西安科技大学 |
院系: | |
专业: | |
研究方向: | 工业缺陷检测 |
第一导师姓名: | |
第一导师单位: | |
第二导师姓名: | |
论文提交日期: | 2024-06-17 |
论文答辩日期: | 2024-05-29 |
论文外文题名: | Research on Defect Detection Method for Titanium Nail Clamps Based on Sparse Point Arrays and Multiple Feature Adapters |
论文中文关键词: | |
论文外文关键词: | Defect Detection ; Titanium Nail Cassettes ; Sparse Lattice ; Multi-adapter |
论文中文摘要: |
钛钉钉匣是现代医学外科手术吻合器的关键组成部分,其缺陷检测的精确度与效率对于确保患者生命健康以及减少医疗事故至关重要。本文深入分析钛钉钉匣表面缺陷检测中的技术难题,对比测试AnomalyGPT等先进异常检测算法的检测结果,发现此类大模型的方法在微小缺陷检测方面存在局限性,需要多次提示(Prompt)才能捕获微弱异常信号。本文提出了一种创新的缺陷检测算法,通过优化PatchCore模型自动生成有效的提示信息,输入给EdegSAM进行精确定位和分割微小的表面缺陷。 (1) 针对AnomalyGPT等基于大模型的异常算法需要多次尝试才可生成高质量的提示来分割缺陷的问题,本文提出了一种基于PatchCore的异常稀疏点阵生成算法。该算法能够动态生成针对不同缺陷的异常稀疏点阵作为EdegSAM的点“提示”,为缺陷的形状和边界分割提供强有力的支持。该算法受PatchCore启发,首先将输入图像分割成多个小矩形区域,然后通过专门的卷积神经网络提取特征,并通过聚合机制形成全局特征表示;接着,使用稀疏点阵生成算法处理这些特征,提取和形成异常稀疏点阵。 (2) 提出结合缺陷稀疏点阵和多种缺陷适配器微调EdgeSAM相结合的钛钉钉匣缺陷检测方法,通过缺陷稀疏点阵和缺陷适配器来提示EdgeSAM模型,该方法能精确分割出缺陷边界及其类别,既解决了AnomalyGPT等大模型推理实时性能差,无法在工业领域直接应用的限制,又改进了PatchCore对微小缺陷分割和分类的不足。在钛钉钉匣数据集上的实验结果显示,所提方法的MIoU达到了63.9%,相比U-Net、FCN和Deeplabv3三种网络模型分别提升了12.8%、6.9%、11.1%,充分证明了我们方法的优越性。 研究结果表明,本文提出的基于稀疏点阵与多适配器的钛钉钉匣缺陷检测方法能够精确定位和分割微小的表面缺陷,在工业表面缺陷检测领域中展现了显著的应用潜力。 |
论文外文摘要: |
Titanium staples are a critical component of modern medical surgical staplers, and the precision and efficiency of their defect detection are crucial for ensuring patient health and reducing medical accidents. This study provides an in-depth analysis of the technical challenges in the surface defect detection of titanium staples, comparing the detection results of advanced anomaly detection algorithms such as AnomalyGPT. It was found that large model methods like AnomalyGPT have limitations in detecting minor defects and require multiple prompts to capture weak anomaly signals. An innovative defect detection algorithm is proposed, which optimizes the PatchCore model to automatically generate effective prompts for EdgeSAM to accurately locate and segment minor surface defects. (1) To address the issue that anomaly algorithms based on large models like AnomalyGPT require multiple attempts to generate high-quality prompts for defect segmentation, an anomaly sparse point array generation algorithm based on PatchCore is proposed. The algorithm can dynamically generate anomaly sparse point arrays tailored to different defects as 'prompts' for EdgeSAM, providing strong support for the segmentation of defect shapes and boundaries. Inspired by PatchCore, the input image is divided into multiple small rectangular areas, and then features are extracted through a dedicated convolutional neural network, and a global feature representation is formed through an aggregation mechanism; subsequently, the anomaly sparse point array is extracted and formed through a sparse point array generation algorithm processes these features. (2) A titanium staple defect detection method that combines the defect sparse point array with multiple defect adapters fine-tuned with EdgeSAM is proposed. This method uses the defect sparse point array and defect adapters to prompt the EdgeSAM model, enabling precise segmentation of defect boundaries and their categories. The limitations of large models like AnomalyGPT in terms of real-time performance for inference are addressed, which prevents their direct application in the industrial field, and also improves the shortcomings of PatchCore in segmenting and classifying minor defects. Experimental results on a titanium staple dataset show that the proposed method achieved an MIoU of 63.9%, which is an improvement of 12.8%, 6.9%, and 11.1% over the U-Net, FCN, and Deeplabv3 network models, respectively, fully demonstrating the superiority of our approach. The research results indicate that the defect detection method for titanium staples based on sparse point arrays and multiple adapters proposed in this study can accurately locate and segment minor surface defects, and has shown significant application potential in the field of industrial surface defect detection. |
参考文献: |
[13]张云洲, 吴峻. Prewitt霍尔磁梯度张量系统结构设计[J]. 仪器仪表学报, 2021, 42(09): 115-123. [14]Sobel I E. Camera models and machine perception[M]. stanford university, 1970. [15]黄梦涛, 连一鑫. 基于改进Canny算子的锂电池极片表面缺陷检测[J]. 仪器仪表学报, 2021, 42(10):199-209. [17]袁立, 刘威. 基于Gabor特征和遮挡字典的带遮挡人耳识别[J]. 仪器仪表学报, 2015, 36(09): 2037-2043. [18]汪贺延, 刘国栋, 庙存彬. 基于PSNR-NC函数优化和非抽样双树复小波变换的自适应多重水印算法[J]. 光学学报, 2022, 42(05) :52-65. [23]黄祎婧. 基于决策树的多视图动态KNN分类[D]. 华东交通大学, 2023. [24]刘传泽, 王霄, 陈龙现等. 基于随机森林算法的纤维板表面缺陷识别[J]. 林业科学, 2018, 54(11): 121-126. [28]何宇超, 段中兴, 高静. 基于多尺度空洞卷积结构的路面裂缝分割方法[J]. 公路交通科技, 2024, 41(01): 1-9. [29]瞿中, 陈雯 .基于空洞卷积和多特征融合的混凝土路面裂缝检测[J]. 计算机科学, 2022, 49(03): 192-196. [34]杨若兰, 刘超, 周佳润, 等. 结合注意力机制的带钢表面缺陷检测模型[J]. 钢铁研究学报, 2024, 36(05): 669-679. [36]胡越杰, 蒋高明. SwinBN: 一种基于Swin Transformer的针织物疵点检测模型[J]. 丝绸, 2023, 60(01): 59-69. [41]张可, 乐全明, 黄文礼, 等. 联合剪枝和知识蒸馏的PCSA-YOLOs防振锤缺陷检测算法[J]. 电工电能新技术, 2022, 41(11): 59-69. [42]刘太亨, 何昭水. 基于自编码和知识蒸馏的表面缺陷检测方法[J]. 计算机应用, 2021, 41(11): 3200-3205. |
中图分类号: | TP391.41 |
开放日期: | 2024-06-17 |