{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,1,19]],"date-time":"2026-01-19T07:04:19Z","timestamp":1768806259996,"version":"3.49.0"},"reference-count":22,"publisher":"MDPI AG","issue":"12","license":[{"start":{"date-parts":[[2024,6,17]],"date-time":"2024-06-17T00:00:00Z","timestamp":1718582400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Sichuan Provincial Key Laboratory of Pattern Recognition and Intelligent Information Processing","award":["MSSB-2022-08"],"award-info":[{"award-number":["MSSB-2022-08"]}]},{"name":"Sichuan Provincial Key Laboratory of Pattern Recognition and Intelligent Information Processing","award":["202311079030"],"award-info":[{"award-number":["202311079030"]}]},{"name":"Chengdu University Student Innovation Training","award":["MSSB-2022-08"],"award-info":[{"award-number":["MSSB-2022-08"]}]},{"name":"Chengdu University Student Innovation Training","award":["202311079030"],"award-info":[{"award-number":["202311079030"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Aiming at the problems of the poor robustness and universality of traditional contour matching algorithms in engineering applications, a method for improving the surface defect detection of industrial products based on contour matching algorithms is detailed in this paper. Based on the image pyramid optimization method, a three-level matching method is designed, which can quickly obtain the candidate pose of the target contour at the top of the image pyramid, combining the integral graph and the integration graph acceleration strategy based on weak classification. It can quickly obtain the rough positioning and rough angle of the target contour, which greatly improves the performance of the algorithm. In addition, to solve the problem that a large number of duplicate candidate points will be generated when the target candidate points are expanded, a method to obtain the optimal candidate points in the neighborhood of the target candidate points is designed, which can guarantee the matching accuracy and greatly reduce the calculation amount. In order to verify the effectiveness of the algorithm, functional test experiments were designed for template building function and contour matching function, including uniform illumination condition, nonlinear condition and contour matching detection under different conditions. The results show that: (1) Under uniform illumination conditions, the detection accuracy can be maintained at about 93%. (2) Under nonlinear illumination conditions, the detection accuracy can be maintained at about 91.84%. (3) When there is an external interference source, there will be a false detection or no detection, and the overall defect detection rate remains above 94%. It is verified that the proposed method can meet the application requirements of common defect detection, and has good robustness and meets the expected functional requirements of the algorithm, providing a strong technical guarantee and data support for the design of embedded image sensors in the later stage.<\/jats:p>","DOI":"10.3390\/s24123932","type":"journal-article","created":{"date-parts":[[2024,6,18]],"date-time":"2024-06-18T03:42:06Z","timestamp":1718682126000},"page":"3932","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":6,"title":["An Improvement Method for Improving the Surface Defect Detection of Industrial Products Based on Contour Matching Algorithms"],"prefix":"10.3390","volume":"24","author":[{"given":"Haorong","family":"Wu","sequence":"first","affiliation":[{"name":"School of Electronic Information and Electrical Engineering, Chengdu University, Chengdu 610106, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-9285-5578","authenticated-orcid":false,"given":"Ziqi","family":"Luo","sequence":"additional","affiliation":[{"name":"School of Electronic Information and Electrical Engineering, Chengdu University, Chengdu 610106, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Fuchun","family":"Sun","sequence":"additional","affiliation":[{"name":"School of Mechanical Engineering, Chengdu University, Chengdu 610106, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Xiaoxiao","family":"Li","sequence":"additional","affiliation":[{"name":"Key Laboratory of Pattern Recognition and Intelligent Information Processing, Institutions of Higher Education of Sichuan Province, Chengdu University, Chengdu 610106, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Yongxin","family":"Zhao","sequence":"additional","affiliation":[{"name":"School of Electronic Information and Electrical Engineering, Chengdu University, Chengdu 610106, China"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2024,6,17]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"103911","DOI":"10.1016\/j.compind.2023.103911","article-title":"Deep CNN-based visual defect detection: Survey of current literature","volume":"148","author":"Jha","year":"2023","journal-title":"Comput. Ind."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"115011","DOI":"10.1063\/5.0165603","article-title":"Research on the identification method of key parts of ship target based on contour matching","volume":"13","author":"Qu","year":"2023","journal-title":"Aip. Adv."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"227","DOI":"10.18280\/ts.400121","article-title":"Target Area Extraction Algorithm of Infrared Thermal Image Combining Target Detection with Matching Correction","volume":"40","author":"Dan","year":"2023","journal-title":"Trait. Signal"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"103691","DOI":"10.1016\/j.infrared.2021.103691","article-title":"A robust deformed image matching method for multi-source image matching","volume":"115","author":"Xu","year":"2021","journal-title":"Infrared. Phys. Technol."},{"key":"ref_5","unstructured":"Lewis, J.P. (1995). Fast Normalized Cross-Correlation. Circuits Syst. Signal Process., 120\u2013123."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Ma, S.K., Li, X.H., Liu, K.W., Qiu, T.C., and Liu, Y.L. (2024). Research on Image Stitching Algorithm Based on Point-Line Consistency and Local Edge Feature Constraints. Entropy, 26.","DOI":"10.3390\/e26010061"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"25892","DOI":"10.1109\/ACCESS.2020.2969995","article-title":"Matching Method of Cultural Relic Fragments Constrained by Thickness and Contour Feature","volume":"8","author":"Yang","year":"2020","journal-title":"IEEE Access"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"179","DOI":"10.1109\/TIT.1962.1057692","article-title":"Visual Pattern Recognition by Moment Invariants","volume":"8","author":"Hu","year":"1962","journal-title":"IRE Trans. Inf. Theory"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"1643","DOI":"10.1007\/s10044-019-00813-3","article-title":"Contour recognition of roadheader cutting head based on shape matching","volume":"22","author":"Du","year":"2019","journal-title":"Pattern Anal. Appl. PAA"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"111","DOI":"10.1007\/s12541-021-00600-3","article-title":"Recent Advances of Artificial Intelligence in Manufacturing Industrial Sectors: A Review","volume":"23","author":"Kim","year":"2022","journal-title":"Int. J. Precis. Eng. Manuf."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"112467","DOI":"10.1016\/j.measurement.2023.112467","article-title":"MSC-DNet: An efficient detector with multi-scale context for defect detection on strip steel surface","volume":"209","author":"Liu","year":"2023","journal-title":"Measurement"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Guo, Z.X., Wang, C.S., Yang, G., Huang, Z.Y., and Li, G. (2022). MSFT-YOLO: Improved YOLOv5 Based on Transformer for Detecting Defects of Steel Surface. Sensors, 22.","DOI":"10.3390\/s22093467"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Feng, X., Gao, X., and Luo, L. (2021). X-SDD: A New Benchmark for Hot Rolled Steel Strip Surface Defects Detection. Symmetry, 13.","DOI":"10.3390\/sym13040706"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"22850","DOI":"10.1007\/s10489-023-04654-w","article-title":"Deep Learning Architecture for Computer Vision-based Structural Defect Detection","volume":"53","author":"Yang","year":"2023","journal-title":"Appl. Intell."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"115637","DOI":"10.1109\/ACCESS.2019.2935879","article-title":"Shape Matching Based on Multi-Scale Invariant Features","volume":"7","author":"Zhang","year":"2019","journal-title":"IEEE Access"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Arulananth, T.S., Chinnasamy, P., Babu, J.C., Kiran, A., Hemalatha, J., and Abbas, M. (2023). Edge detection using fast pixel based matching and contours mapping algorithms. PLoS ONE, 18.","DOI":"10.1371\/journal.pone.0289823"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"2833","DOI":"10.1007\/s00371-023-02989-6","article-title":"A registration algorithm for the infrared and visible images of apple based on active contour model","volume":"40","author":"Si","year":"2024","journal-title":"Vis. Comput."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"53019.1","DOI":"10.1117\/1.JEI.23.5.053019","article-title":"Similarity invariant partial shape matching using coarse-to-fine strategy","volume":"23","author":"Zhang","year":"2014","journal-title":"J. Electron. Imaging"},{"key":"ref_19","first-page":"1","article-title":"Speed-up template matching through integral image based weak classifiers","volume":"1","author":"Wu","year":"2014","journal-title":"J. Pattern Recognit. Res."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Steger, C. (2001, January 12\u201314). Similarity Measures for Occlusion, Clutter, and Illumination Invariant Object Recognition, Pattern recognition. Proceedings of the 23rd DAGM Symposium, Munich, Germany.","DOI":"10.1007\/3-540-45404-7_20"},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"64","DOI":"10.1631\/jzus.A1900341","article-title":"Catenary insulator defect detection based on contour features and gray similarity matching","volume":"21","author":"Tan","year":"2020","journal-title":"J. Zhejiang Univ.-SCIENCE A"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"053012","DOI":"10.1117\/1.JEI.26.5.053012","article-title":"Adaptive enhancement for nonuniform illumination images via nonlinear mapping","volume":"26","author":"Wang","year":"2017","journal-title":"J. Electron. Imaging"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/24\/12\/3932\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T15:00:14Z","timestamp":1760108414000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/24\/12\/3932"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,6,17]]},"references-count":22,"journal-issue":{"issue":"12","published-online":{"date-parts":[[2024,6]]}},"alternative-id":["s24123932"],"URL":"https:\/\/doi.org\/10.3390\/s24123932","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,6,17]]}}}