• 首页
  • 期刊简介
  • 编委会
  • 投稿指南
  • 收录情况
  • 杂志订阅
  • 联系我们
引用本文:郝洪坤,胡海洋,彭 博,赵民生.基于Adaptive-MINMAX 与GU-YOLO 的焊缝缺陷检测方法[J].软件工程,2025,28(4):57-61.【点击复制】
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  
←前一篇|后一篇→ 过刊浏览
分享到: 微信 更多
基于Adaptive-MINMAX 与GU-YOLO 的焊缝缺陷检测方法
郝洪坤,胡海洋,彭 博,赵民生
(杭州电子科技大学,浙江 杭州 310018)
haohongkun@hdu.edu.cn; huhaiyang@hdu.edu.cn; pengbo1@hdu.edu.cn; zhaominsheng@hdu.edu.cn
摘 要: 为了简化查阅焊缝DCM(DICOM)图像时调整窗位窗宽的步骤,提出了Adaptive-MINMAX(AdaptiveMin-Max)算法。该算法处理的焊缝图像有较高的可读性,并基于该方法建立了一个焊缝缺陷数据集。随后,对YOLOv8s(You Only Look Once Version8-small)进行改进,提出了GU-YOLO(Global Upper Yolo)模型。通过更换主干网络的卷积模块为UpperConv,在其输出中增加了二次卷积结果,增强了网络提取小目标特征的能力;设计了GAMDetect(Global Attention Mechanism Detect)检测头部,在Detect模块中添加GAM注意力机制,以突出目标并抑制背景信息。实验结果显示,GU-YOLO在自建的缺陷数据集上获得的AP、AR、F1_score、mAP50指标分别提升了1.3百分点、13.9百分点、7.9百分点、15.3百分点,与其他相关模型相比,表现出较强的竞争力。
关键词: 机器视觉;DICOM;YOLOv8s;Adaptive-MINMAX;焊缝缺陷检测
中图分类号: TP391.41    文献标识码: A
A Weld Seam Defect Detection Method Based on Adaptive-MINMAX and GU-YOLO
HAO Hongkun, HU Haiyang, PENG Bo, ZHAO Minsheng
(School of Computer Science and Technology, Hangzhou Dianzi University, Hangzhou 310018, China)
haohongkun@hdu.edu.cn; huhaiyang@hdu.edu.cn; pengbo1@hdu.edu.cn; zhaominsheng@hdu.edu.cn
Abstract: To simplify the steps of adjusting the window level and width when reviewing weld seam DCM(Digital Imaging and Communications in Medicine) images, the Adaptive-MINMAX (Adaptive Min-Max) algorithm is proposed. This algorithm enhances the readability of processed weld images, and a weld defect dataset is established based on this method. Subsequently, improvements are made to YOLOv8s (You Only Look Once Version 8-small), and the GU-YOLO (Global Upper YOLO) model is proposed. By replacing the convolutional modules in the backbone network with UpperConv and adding secondary convolution outputs to its results, the network's ability to extract features from small targets is enhanced. Additionally, the GAMDetect (Global Attention Mechanism Detect) detection head is designed by integrating the GAM attention mechanism into the Detect module to highlight targets and suppress background information. Experimental results show that GU-YOLO achieves improvements of 1.3 percentage points,13.9 percentage points, 7.9 percentage points, and 15.3 percentage points in AP, AR, F1_score, and mAP50 metrics respectively on the custom defect dataset, demonstrating strong competitiveness compared to other related models.
Keywords: machine vision; DICOM; YOLOv8s; Adaptive-MINMAX; weld defect detection


版权所有:软件工程杂志社
地址:辽宁省沈阳市浑南区新秀街2号 邮政编码:110179
电话:0411-84767887 传真:0411-84835089 Email:semagazine@neusoft.edu.cn
备案号:辽ICP备17007376号-1
技术支持:北京勤云科技发展有限公司

用微信扫一扫

用微信扫一扫