Quantification and rating of casting blowhole defects using an instance segmentation algorithm

Zhiqiang Duan , Yue Pan , Hua Hou , Yuhong Zhao

Journal of Materials Informatics ›› 2026, Vol. 6 ›› Issue (1) -14.

PDF
Journal of Materials Informatics ›› 2026, Vol. 6 ›› Issue (1) -14. DOI: 10.20517/jmi.2025.77
Research Article
Quantification and rating of casting blowhole defects using an instance segmentation algorithm
Author information +
History +
PDF

Abstract

Casting blowhole defects seriously affect product quality and performance. Accurate detection, segmentation, and measurement of these defects are essential for quality control. To solve problems such as the varying sizes of blowholes in castings, segmentation uncertainty caused by texture overlap, and the subjectivity of manual rating, this paper proposes a rating strategy for casting blowhole defects based on image instance segmentation results. In the preprocessing stage, contrast-limited adaptive histogram equalization (CLAHE) is applied to enhance defect features. You Look Only Once version 8 (YOLOv8), YOLOv11, YOLOv13, and semantic segmentation models are compared, and YOLOv13 is chosen as the main model for segmentation. Its mean Average Precision (mAP) at an IoU threshold of 0.5 (mAP50) reaches 0.964, showing the best performance. Based on the segmentation results, the pixel area and percentage of the segmented regions are calculated. The actual defect size is then converted using the practical sampling area, and rating is performed according to the GB/T 11346-2018 standard. Validation through manual measurement in Photoshop and physical sectioning confirms that the proposed strategy reduces the maximum error by 17.1% compared with traditional manual rating. The method significantly enhances the automation and accuracy of blowhole defect rating and provides reliable technical support for casting quality control.

Keywords

Blowhole defects / defect rating / instance segmentation algorithm / defect detection and segmentation

Cite this article

Download citation ▾
Zhiqiang Duan, Yue Pan, Hua Hou, Yuhong Zhao. Quantification and rating of casting blowhole defects using an instance segmentation algorithm. Journal of Materials Informatics, 2026, 6(1): -14 DOI:10.20517/jmi.2025.77

登录浏览全文

4963

注册一个新账户 忘记密码

References

[1]

Zhao Y,Tang S,Fang X.Applications of unified phase-field methods to designing microstructures and mechanical properties of alloys.MRS Bulletin2024;49:613-25

[2]

Li H,Song Z.Serrated grain boundary modulation inhibits nano cracks propagation in pure magnesium: a phase field crystal and quasi in-situ EBSD study.Acta Mater2025;301:121573

[3]

Bhatt PM,Rajendran P.Image-based surface defect detection using deep learning: a review.J Comput Inf Sci Eng2021;21:1-23

[4]

Abbas M.Structural health monitoring (SHM) and determination of surface defects in large metallic structures using ultrasonic guided waves.Sensors2018;18:3958 PMCID:PMC6263499

[5]

Xie Y,Tao Y,Yin W.Edge effect analysis and edge defect detection of titanium alloy based on eddy current testing.Appl Sci2020;10:8796

[6]

Yun JP,Jeon Y,Kim SW.Defect inspection system for steel wire rods produced by hot rolling process.Int J Adv Manuf Technol2013;70:1625-34

[7]

Zhang Y,Li Q.Defect detection for tire laser shearography image using curvelet transform based edge detector.Optics Laser Technology2013;47:64-71

[8]

Xue-wu Z,Yan-yun L,Rui-yu L.A vision inspection system for the surface defects of strongly reflected metal based on multi-class SVM.Expert Systems with Applications2011;38:5930-9

[9]

Ma G,Yuan H,He Y.A vision-based method for lap weld defects monitoring of galvanized steel sheets using convolutional neural network.J Manuf Process2021;64:130-9

[10]

Westphal E.A machine learning method for defect detection and visualization in selective laser sintering based on convolutional neural networks.Addit Manuf2021;41:101965

[11]

Zhao Y.Understanding and design of metallic alloys guided by phase-field simulations.npj Comput Mater2023;9:94

[12]

Pei X,Hou H.Optimizing casting process using a combination of small data machine learning and phase-field simulations.npj Comput Mater2025;11:27

[13]

Jung D,Kim N.A study on GAN-based car body part defect detection process and comparative analysis of YOLO v7 and YOLO v8 object detection performance.Electronics2024;13:2598

[14]

Zhang Y,Huang Q,Zhao M.DsP-YOLO: an anchor-free network with DsPAN for small object detection of multiscale defects.Expert Syst Appl2024;241:122669

[15]

Xiong C,Abdelkader EM.A novel YOLOv8-GAM-Wise-IoU model for automated detection of bridge surface cracks.Constr Build Mater2024;414:135025

[16]

Kou X,Cheng K.Development of a YOLO-V3-based model for detecting defects on steel strip surface.Measurement2021;182:109454

[17]

Liu M,Xie J,Zhang Y.LF-YOLO: a lighter and faster YOLO for weld defect detection of X-Ray image.IEEE Sensors J2023;23:7430-9

[18]

Liu J,Liu C.3D dark-field confocal microscopy for subsurface defects detection.Opt Lett2020;45:660-3

[19]

Ma C,Xue Y,Sun X.High-frequency dual-branch network for steel small defect detection.Arab J Sci Eng2024;50:7409-21

[20]

Zhang J,Zhu L.An improved mobileNet-SSD algorithm for automatic defect detection on vehicle body paint.Multimed Tools Appl2020;79:23367-85

[21]

Hao R,Cheng Y,Huang B.A steel surface defect inspection approach towards smart industrial monitoring.J Intell Manuf2020;32:1833-43

[22]

Liu W,Qi J.Resistance spot welding defect detection based on visual inspection: improved faster R-CNN model.Machines2025;13:33

[23]

Wang Y,Xin Z.Efficient detection model of steel strip surface defects based on YOLO-V7.IEEE Access2022;10:133936-44

[24]

Guo Z,Yang G,Li G.MSFT-YOLO: improved YOLOv5 based on transformer for detecting defects of steel surface.Sensors2022;22:3467 PMCID:PMC9100565

[25]

Sun X,Huang R,Giron Palomares B.Surface defects recognition of wheel hub based on improved faster R-CNN.Electronics2019;8:481

[26]

Philip RE,Nammalvar A,Roy K.A comparative study on crack detection in concrete walls using transfer learning techniques.J Compos Sci2023;7:169

[27]

Long, J.; Shelhamer, E.; Darrell, T. Fully convolutional networks for semantic segmentation. In 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 7-12, 2015, Boston, MA, USA; IEEE: 2015; pp 3431-3440.

[28]

Siddique N,Elkin CP.U-Net and its variants for medical image segmentation: a review of theory and applications.IEEE Access2021;9:82031-57

[29]

Azad R,Rauland A.Medical image segmentation review: the success of U-Net.IEEE Trans Pattern Anal Mach Intell2024;46:10076-95

[30]

Chen LC,Kokkinos I,Yuille AL.DeepLab: semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected CRFs.IEEE Trans Pattern Anal Mach Intell2018;40:834-48

[31]

Badrinarayanan V,Cipolla R.SegNet: a deep convolutional encoder-decoder architecture for image segmentation.IEEE Trans Pattern Anal Mach Intell2017;39:2481-95 PMCID:7605707

[32]

Ronneberger, O.; Fischer, P.; Brox, T. U-Net: convolutional networks for biomedical image segmentation. In Medical Image Computing and Computer-Assisted Intervention - MICCAI 2015; Navab, N., Hornegger, J., Wells, W., Frangi, A., Eds.; Lecture Notes in Computer Science, Vol. 9351; Springer: Cham, 2015.

[33]

Chen LC,Papandreou G,Adam H.Encoder-decoder with atrous separable convolution for semantic image segmentation.arXiv2018;

[34]

Akhyar A,Lee J.Deep artificial intelligence applications for natural disaster management systems: a methodological review.Ecol Indic2024;163:112067

[35]

Yu Y,Fu Q.Techniques and challenges of image segmentation: a review.Electronics2023;12:1199

[36]

Tian D,Wang B,Gu H.Review of object instance segmentation based on deep learning.J Electron Imag2021;31:041205

[37]

Chennupati, S.; Narayanan, V.; Sistu, G.; Yogamani, S.; Rawashdeh, S. A. Learning Panoptic Segmentation from Instance Contours. In 2021 IEEE International Conference on Robotics and Automation (ICRA), Xi’an, China, May 30-June 5, 2021; IEEE, 2021; pp 9586-9593.

[38]

Yin C,Yuan T,Wang Y.Bridging the gap between semantic segmentation and instance segmentation.IEEE Trans Multimedia2022;24:4183-96

[39]

Urtans, E.; Bumanis, K.; Vecins, V.; et al. Detection of knots in oak wood planks: instance versus semantic segmentation. In 2022 IEEE 5th International Conference on Big Data and Artificial Intelligence (BDAI), Fuzhou, China, July 8-10, 2022; IEEE, 2022; pp 163-168.

[40]

Pei X,Chen L.Robustness of machine learning to color, size change, normalization, and image enhancement on micrograph datasets with large sample differences.Mater Des2023;232:112086

[41]

Minaee S,Porikli F,Kehtarnavaz N.Image segmentation using deep learning: a survey.IEEE Trans Pattern Anal Mach Intell2022;44:3523-42 PMCID:8376002

[42]

Vijayakumar A.YOLO-based object detection models: a review and its applications.Multimed Tools Appl2024;83:83535-74

[43]

Hussain M.YOLOv1 to v8: unveiling each variant-a comprehensive review of YOLO.IEEE Access2024;12:42816-33

[44]

Rasheed AF.YOLOv11 optimization for efficient resource utilization.J Supercomput2025;81:1085

[45]

Wang Z,Liang S,Gao X.Workpiece surface defect detection based on YOLOv11 and edge computing.PLoS ONE2025;20:e0327546 PMCID:PMC12240343

[46]

Lei, M., Li, S., Wu, Y., et al. Yolov13: real-time object detection with hypergraph-enhanced adaptive visual perception. arXiv 2004, arXiv:2506.17733.

[47]

National public service platform for standards inforrnation. GB/T 11346-2018 Radiograpial testing for aluminum alloy castings - defect levels. (in Chinese). Available from: https://openstd.samr.gov.cn/bzgk/std/newGbInfo?hcno=7D7A57065BCFDEF9DB686A8477F14661. [Last accessed on 20 Mar 2026].

[48]

Wu C,Li M.Defect rating technology for aluminum casting X-ray flaw detection image based on feature extraction.Spec Cast Nonferrous Alloys2024;44:605-13. (in Chinese)

PDF

0

Accesses

0

Citation

Detail

Sections
Recommended

/