Improved U-Net-based Method for Copper Alloy Grain Boundary Detection AITranslate
Abstract AITranslate
The accuracy of grain size grading is highly dependent on the precise characterization of grain size and shape,and grain boundary segmentation,as a critical preprocessing step for defining grain boundaries,directly affects the final grading result.Aiming at the detection difficulties caused by low contrast and blurred edges of grain boundaries in copper alloy micrographs,as well as the problems of existing high-precision segmentation algorithms such as large parameter quantities,high computational complexity,and difficulty in meeting the needs of industrial real-time detection,this study intends to propose a grain boundary identification method with both high precision and lightweight characteristics.This method needs to solve the problem of poor adaptability of traditional algorithms in complex micrographs,break through the real-time bottleneck in industrial scenarios,and provide reliable technical support for real-time on-site detection of copper alloy grain size.It is especially suitable for application environments with limited resources such as edge computing devices.This paper proposes a lightweight U-Net improvement method(Improved U-Net)based on MobileNetV2.The specific improvements include:Backbone Network Optimization:MobileNetV2 is used to replace the encoder of the traditional U-Net.By virtue of its inverted residual structure and linear bottleneck design,it avoids feature loss caused by feature map cropping.At the same time,it significantly reduces the number of model parameters and computational load through depthwise separable convolution thereby achieving a lightweight design.Multi-Scale Feature Enhancement:An ASPP module integrated with depthwise separable convolution is introduced into the deep layer of the encoder.It extracts local details,multi-scale context,and global information in parallel through multiple groups of atrous convolutions with different rates and global pooling,thereby enhancing the ability to capture multi-scale morphological features of grain boundaries and making up for the possible lack of feature information caused by the lightweight design.In the experiment,1080 copper alloy metallographic images(with a resolution of 512×512)were used as the dataset,which were expanded to 4320 images through data augmentation such as rotation and mirror flipping,and were divided into training set,validation set,and test set in a ratio of 7∶2∶1.Indicators such as mIOU,precision,MPA,GFLOPS,and parameter quantity were used for comparative verification with HRNetV2,DeepLabV3+,and the traditional U-Net model.The experimental results show that the improved model performs significantly better than the comparative models:Segmentation Precision:The improved U-Net achieved mIOU of 87.66%,precision of 93.50%,and MPA of 92.79%,which were 10.42%,4.40%,and 5.96%higher than those of the traditional U-Net,respectively.It also significantly outperformed HRNetV2(mIOU 74.01%)and DeepLabV3+(mIOU 74.57%).Lightweight Characteristics:The GFLOPS and parameter quantity of the model were 47.42G and 5.46M,respectively,which were 75.1%and 59.2%lower than those of the traditional U-Net(190.34G,13.39M),greatly reducing computational complexity and resource requirements.Stepwise Verification:When only replacing the backbone with MobileNetV2,the mIOU increased by 9.41%and the parameter quantity decreased by 56.5%.After adding the ASPP module with depthwise separable convolution,the mIOU further increased by 1.01%and the computational load decreased by another 25.2%,verifying the effectiveness of each improved module.The Improved U-Net proposed in this study,through the collaborative optimization of the MobileNetV2 backbone network and the ASPP module with depthwise separable convolution,not only solves the problem of feature loss in the traditional U-Net but also enhances the ability of multi-scale semantic feature extraction,achieving a dual improvement in segmentation precision and lightweight performance.With a computational cost of 47.42G FLOPs and 5.46M parameters,the model achieves an mIOU of 87.66%,and the grain boundaries in the segmentation results are more continuous with fewer breakpoints,which can meet the needs of real-time on-site detection in industry.It thus provides a reliable technical solution,suitable for edge computing devices,that enables high-precision and efficient automatic grain size grading.
KeyWords AITranslate
Basic Information:
DOI:
Chinese Library Classification Number:TF811[冶金工程—有色金属冶金]
Citation Information:
The accuracy of grain size grading is highly dependent on the precise characterization of grain size and shape,and grain boundary segmentation,as a critical preprocessing step for defining grain boundaries,directly affects the final grading result.Aiming at the detection difficulties caused by low contrast and blurred edges of grain boundaries in copper alloy micrographs,as well as the problems of existing high-precision segmentation algorithms such as large parameter quantities,high computational complexity,and difficulty in meeting the needs of industrial real-time detection,this study intends to propose a grain boundary identification method with both high precision and lightweight characteristics.This method needs to solve the problem of poor adaptability of traditional algorithms in complex micrographs,break through the real-time bottleneck in industrial scenarios,and provide reliable technical support for real-time on-site detection of copper alloy grain size.It is especially suitable for application environments with limited resources such as edge computing devices.This paper proposes a lightweight U-Net improvement method(Improved U-Net)based on MobileNetV2.The specific improvements include:Backbone Network Optimization:MobileNetV2 is used to replace the encoder of the traditional U-Net.By virtue of its inverted residual structure and linear bottleneck design,it avoids feature loss caused by feature map cropping.At the same time,it significantly reduces the number of model parameters and computational load through depthwise separable convolution thereby achieving a lightweight design.Multi-Scale Feature Enhancement:An ASPP module integrated with depthwise separable convolution is introduced into the deep layer of the encoder.It extracts local details,multi-scale context,and global information in parallel through multiple groups of atrous convolutions with different rates and global pooling,thereby enhancing the ability to capture multi-scale morphological features of grain boundaries and making up for the possible lack of feature information caused by the lightweight design.In the experiment,1080 copper alloy metallographic images(with a resolution of 512×512)were used as the dataset,which were expanded to 4320 images through data augmentation such as rotation and mirror flipping,and were divided into training set,validation set,and test set in a ratio of 7∶2∶1.Indicators such as mIOU,precision,MPA,GFLOPS,and parameter quantity were used for comparative verification with HRNetV2,DeepLabV3+,and the traditional U-Net model.The experimental results show that the improved model performs significantly better than the comparative models:Segmentation Precision:The improved U-Net achieved mIOU of 87.66%,precision of 93.50%,and MPA of 92.79%,which were 10.42%,4.40%,and 5.96%higher than those of the traditional U-Net,respectively.It also significantly outperformed HRNetV2(mIOU 74.01%)and DeepLabV3+(mIOU 74.57%).Lightweight Characteristics:The GFLOPS and parameter quantity of the model were 47.42G and 5.46M,respectively,which were 75.1%and 59.2%lower than those of the traditional U-Net(190.34G,13.39M),greatly reducing computational complexity and resource requirements.Stepwise Verification:When only replacing the backbone with MobileNetV2,the mIOU increased by 9.41%and the parameter quantity decreased by 56.5%.After adding the ASPP module with depthwise separable convolution,the mIOU further increased by 1.01%and the computational load decreased by another 25.2%,verifying the effectiveness of each improved module.The Improved U-Net proposed in this study,through the collaborative optimization of the MobileNetV2 backbone network and the ASPP module with depthwise separable convolution,not only solves the problem of feature loss in the traditional U-Net but also enhances the ability of multi-scale semantic feature extraction,achieving a dual improvement in segmentation precision and lightweight performance.With a computational cost of 47.42G FLOPs and 5.46M parameters,the model achieves an mIOU of 87.66%,and the grain boundaries in the segmentation results are more continuous with fewer breakpoints,which can meet the needs of real-time on-site detection in industry.It thus provides a reliable technical solution,suitable for edge computing devices,that enables high-precision and efficient automatic grain size grading.
quote
| GB/T 7714-2015 | [1] JING Qingxiu, LIU Weihui, CHANG Qiqi, et al. Improved U-Net-based Method for Copper Alloy Grain Boundary Detection[J]. Nonferrous Metals, 2026(2): 198-206. |
| MLA | [1] JING Qingxiu, et al., "Improved U-Net-based Method for Copper Alloy Grain Boundary Detection." Nonferrous Metals, no. 2, 2026, pp. 198-206. |
| APA | [1] JING Qingxiu, LIU Weihui, CHANG Qiqi, XIE Weibin, ZHANG Zhicong, WU Ruiyang, & HUANG Xiaodong. (2026). Improved U-Net-based Method for Copper Alloy Grain Boundary Detection. Nonferrous Metals(2), 198-206. |
| IEEE | [1] JING Qingxiu, LIU Weihui, CHANG Qiqi, XIE Weibin, ZHANG Zhicong, WU Ruiyang, and HUANG Xiaodong, "Improved U-Net-based Method for Copper Alloy Grain Boundary Detection," Nonferrous Metals, no. 2, pp. 198-206, 2026. keywords: {copper alloy;grain size;deep learning;U-Net;lightweight} |
