Welcome to Journal of Synthetic Crystals! Today is Jun. 8, 2025 Share:

Journal of Synthetic Crystals ›› 2025, Vol. 54 ›› Issue (4): 598-604.DOI: 10.16553/j.cnki.issn1000-985x.2024.0249

• Research Articles • Previous Articles     Next Articles

Weak Scratch Segmentation Algorithm for Rough Grinding Surface of BGO Crystal Based on Improved U-Net

TAO Wenfeng1,2, ZHANG Xiaolong1,2, ZHU Haibo1,2   

  1. 1. Hefei ZC Optoelectronic Technologies Co., Ltd., Hefei 230031, China;
    2. Key Laboratory of Non-Destructive Detection for Ultra-Smooth Surface in Anhui Province, Hefei 230031, China
  • Received:2024-10-21 Online:2025-04-15 Published:2025-04-28

Abstract: BGO crystals usually need to be cut, grind and other rough machining steps to make the grinding surface to improve the performance of components. The extraction and pre-inspection of scratch defects in the rough machining process are very important for the quality evaluation of subsequent crystal components. However, the traditional industrial machine vision algorithm is difficult to finely segment the weak scratches on the rough grinding surface of crystal, which greatly affects the detection efficiency of the subsequent crystal quality. To address the issue of accurately segmenting weak scratches on the crystal grinding surface, this paper adopts an improved U-Net deep learning algorithm. The algorithm embeds a lightweight CBAM attention mechanism into the U-Net architecture to enhance the network’s ability to extract shallow scratch features and recover details. Meanwhile, the Copy-paste data augmentation method is employed to improve the generalization of the algorithm model. In addition, in order to alleviate the negative impact of foreground background imbalance in the sample, the loss function adopts Dice Loss and Focal Loss composite multi-loss function. Experimental results show that the proposed algorithm effectively and accurately segments the weak scratches on the rough grinding surface of the crystal, achieving Miou value of 85.2% and accuracy value of 95.4%, which represents an improvement over traditional industrial machine vision algorithms. Furthermore, the algorithm alleviates the issues of false segmentation and under-segmentation of weak scratches to some extent, enabling the pre-detection of scratch defects in the rough machining process, and ultimately reducing unnecessary processes and quality assessment steps in the future, while overall improving the production efficiency of industrial crystal products.

Key words: weak scratch extraction, BGO crystal, target segmentation, U-Net, crystal grinding surface

CLC Number: