计算机科学 ›› 2020, Vol. 47 ›› Issue (6A): 247-249.doi: 10.11896/JsJkx.191000049

• 计算机图形学 & 多媒体 • 上一篇    下一篇

基于直方图差异的工业产品表面缺陷检测方法

杨志伟1, 戴铭2, 周智恒2   

  1. 1 中国信息通信研究院(广州泰尔智信科技有限公司) 广州 510060;
    2 华南理工大学电子与信息学院 广州 510640
  • 发布日期:2020-07-07
  • 通讯作者: 杨志伟(yangzhiwei@caict.ac.cn)

Surface Defect Detection Method of Industrial Products Based on Histogram Difference

YANG Zhi-wei1, DAI Ming2 and ZHOU Zhi-heng2   

  1. 1 China Academy of Information and Communications Technology (Guangzhou Telecommunication Zhixin Technology Co.,Ltd.),Guangzhou
    510060,China2 School of Electronics and Information Engineering,South China University of Technology,Guangzhou 510640,China
  • Published:2020-07-07
  • About author:YANG Zhi-wei, born in 1968, bachelor, senior engineer.His main research interests include industrial internet, 5G applications and planning, consulting, design of smart cities, also with the establishment of industrialization and information integration system.

摘要: 随着计算机视觉的高速发展,在产品检测方面,人工劳动力逐渐被机器视觉取代,特别是在工作人员不宜长期逗留的生产环境中,工业产品的表面缺陷自动检测是现代化工业的必然趋势。文中将缺陷检测看作一种特定的图像分割问题,将产品表面看作背景、以表面缺陷为前景来进行提取。在所提方法中,分割的主要依据是前景和背景的灰度分布直方图差异程度以及背景分布和先验背景分布的直方图相似程度;结合非参数统计活动轮廓模型和先验分布,以产品表面的灰度分布为背景的先验信息,构造对应的能量函数,然后最小化能量函数得到相应的水平集函数迭代方程,以更高效地进行缺陷检测。相关实验表明,所提出的缺陷检测方法在视觉上有较大提升,在检测正确率、虚警率和漏检率等数值指标上也有较大提升。

关键词: 活动轮廓模型, 缺陷检测, 水平集, 图像分割, 先验分布

Abstract: With the rapid development of computer vision,human labor is gradually replaced by machine vision in product detection,especially in the production environment that workers should not stay long.Automatic detection of surface defects of industrial products is an inevitable trend of modern industry.In this paper,defect detection is regarded as a special image segmentation problem,and it is extracted by taking product surface as the background and surface defects as the foreground.In this paper,the segmentation is based on the difference between the gray distribution histogram of the foreground and the background,and the similarity between the background and prior background distribution histogram.Combining nonparametric statistical activity contour model and prior distribution,the gray distribution of the product surface is considered as the background prior information to construct the corresponding energy function,then the corresponding iteration equation of level set function is obtained by minimizing the energy function,so the defect detection can be more efficient.Experiments show that the proposed defect detection method is improved significantly in vision and numerical indexes such as detection accuracy,false alarm and missing detection.

Key words: Active contour model, Defects detection, Image segmentation, Level set, Prior distribution

中图分类号: 

  • TP391
[1] NGAN H,PANG G,YUNG N.Automated Fabric Defect Detection-A Review.Image & Vision Computing,2011,29(7):442-458.
[2] BU H,HUANG X,WANG J,et al.Detection of Fabric Defects by Auto-Regressive Spectral Analysis and Support Vector Data Description.Textile Research Journal,2010,80(7):579-589.
[3] LATIF A,ERTUZUN A,ERCIL A.An Efficient Method for Texture Defect Detection:Sub-Band Domain Co-Occurrence Matrices.Image and Vision Computing,2000,18(6/7):543-553.
[4] NGAN H,PANG H,YUNG S,et al.Wavelet Based Methods on Patterned Fabric Defect Detection.Pattern Recognition,2005,38(4):559-576.
[5] KIM J,FISHER J W,YEZZI A,et al.A Nonparametric Statistical Method for Image Segmentation Using Information Theory and Curve Evolution.IEEE Transactions on Image Processing,2005,14(10):1486-1502.
[6] MICHAILOVICH O,RATHI Y,TANNENBAUM A.Image Segmentation Using Active Contours Driven by The Bhattacharyya Gradient Flow.IEEE Transactions on Image Processing,2007,16(11):2787-2801.
[7] WU H,APPIA V,YEZZI A.Numerical Conditioning Problems and Solutions for Nonparametric i.i.d.Statistical Active Contours.IEEE Transactions on Pattern Analysis and Machine Intelligence,2013,35(6):1298-1311.
[8] ZHOU Z,DAI M,WANG T,et al.Prior Distribution-Based Statistical Active Contour Model.Multimedia Tools and Application:1-24.https://10.1007/S11042-019-08101-2.
[9] OSHER S,SETHIAN J.Fronts Propagating with Curvature Dependent Speed:Algorithms Based on Hamilton-Jacobi Formulations.Journal of Computational Physics,1998,79 (1):12-49.
[10] PARZEN E.On Estimation of a Probability Density Function and Mode.The Annals of Mathematical Statistics,1962,33(3):1065-1076.
[11] HUANG Y,QIU C,GUO Y,et al.Surface Defect Saliency ofMagnetic Tile.The Visual Computer,2018:1-12.
[12] KUMAR A,PANG G.Defect Detection in Textured Materials Using Gabor Filters//Industry Applications Conference.IEEE,2000:1041-1047.
[13] CHENG M,MITRA N.Global Contrast Based Salient Region Detection.IEEE Transactions on Pattern Analysis and Machine Intelligence,2011,37(3):409-416.
[14] GONG M,LI H,ZHANG X,et al.Nonparametric StatisticalActive Contour Based on Inclusion Degree of Fuzzy Sets.IEEE Transactions on Fuzzy Systems,2016,24(5):1176-1192.
[15] CHAN T,ZHU W.Level Set Based Shape Prior Segmentation//Computer Vision and Pattern Recognition.IEEE,2005,2:1164-1170.
[16] ZHAO H K,CHAN T,MERRIMAN B,OSHER.S,A Variational Level Set Approach to Multiphase Motion.Journal of Computational Physics,1996,127:179-195.
[1] 李发光, 伊力哈木·亚尔买买提.
基于改进CenterNet的航拍绝缘子缺陷实时检测模型
Real-time Detection Model of Insulator Defect Based on Improved CenterNet
计算机科学, 2022, 49(5): 84-91. https://doi.org/10.11896/jsjkx.210400142
[2] 祝一帆, 王海涛, 李可, 吴贺俊.
一种高精度路面裂缝检测网络结构:Crack U-Net
Crack U-Net:Towards High Quality Pavement Crack Detection
计算机科学, 2022, 49(1): 204-211. https://doi.org/10.11896/jsjkx.210100128
[3] 叶中玉, 吴梦麟.
融合时序监督和注意力机制的脉络膜新生血管分割
Choroidal Neovascularization Segmentation Combining Temporal Supervision and Attention Mechanism
计算机科学, 2021, 48(8): 118-124. https://doi.org/10.11896/jsjkx.200600150
[4] 金海燕, 彭晶, 周挺, 肖照林.
基于Graph Cuts多特征选择的双目图像分割方法
Binocular Image Segmentation Based on Graph Cuts Multi-feature Selection
计算机科学, 2021, 48(8): 150-156. https://doi.org/10.11896/jsjkx.200800221
[5] 许华杰, 张晨强, 苏国韶.
基于深层卷积残差网络的航拍图建筑物精确分割方法
Accurate Segmentation Method of Aerial Photography Buildings Based on Deep Convolutional Residual Network
计算机科学, 2021, 48(8): 169-174. https://doi.org/10.11896/jsjkx.200500096
[6] 杨秀璋, 武帅, 夏换, 于小民.
基于自适应图像增强技术的水族文字提取与识别研究
Research on Shui Characters Extraction and Recognition Based on Adaptive Image Enhancement Technology
计算机科学, 2021, 48(6A): 74-79. https://doi.org/10.11896/jsjkx.200900070
[7] 曹林, 于威威.
基于图像分割的自适应窗口双目立体匹配算法研究
Adaptive Window Binocular Stereo Matching Algorithm Based on Image Segmentation
计算机科学, 2021, 48(11A): 314-318. https://doi.org/10.11896/jsjkx.201200264
[8] 顾兴健, 朱剑峰, 任守纲, 熊迎军, 徐焕良.
多尺度U网络实现番茄叶部病斑分割与识别
Multi-scale U Network Realizes Segmentation and Recognition of Tomato Leaf Disease
计算机科学, 2021, 48(11A): 360-366. https://doi.org/10.11896/jsjkx.201000166
[9] 彭磊, 张辉.
基于U-net的道路缺陷检测
U-net for Pavement Crack Detection
计算机科学, 2021, 48(11A): 616-619. https://doi.org/10.11896/jsjkx.201200059
[10] 刘鑫, 黄沁元, 李强, 冉茂霞, 周颖, 杨天.
基于卷积神经网络和声振图像的磁瓦内部缺陷检测
Fault Detection for Arc Magnet Based on Convolutional Neural Network and Acoustic VibrationImage
计算机科学, 2021, 48(11A): 648-654. https://doi.org/10.11896/jsjkx.210100161
[11] 谢源, 苗玉彬, 许凤麟, 张铭.
基于半监督深度卷积生成对抗网络的注塑瓶表面缺陷检测模型
Injection-molded Bottle Defect Detection Using Semi-supervised Deep Convolutional Generative Adversarial Network
计算机科学, 2020, 47(7): 92-96. https://doi.org/10.11896/jsjkx.190700093
[12] 曹义亲, 段也钰, 武丹.
基于WFSOA的2D-Otsu钢轨缺陷图像分割方法
2D-Otsu Rail Defect Image Segmentation Method Based on WFSOA
计算机科学, 2020, 47(5): 154-160. https://doi.org/10.11896/jsjkx.190200295
[13] 饶梦,苗夺谦,罗晟.
一种粗糙不确定的图像分割方法
Rough Uncertain Image Segmentation Method
计算机科学, 2020, 47(2): 72-75. https://doi.org/10.11896/jsjkx.190500177
[14] 罗月,童卞,景帅,张蒙,饶永明,闫峰.
基于卷积去噪自编码器的芯片表面弱缺陷检测方法
Detection Method of Chip Surface Weak Defect Based on Convolution Denoising Auto-encoders
计算机科学, 2020, 47(2): 118-125. https://doi.org/10.11896/jsjkx.190100141
[15] 雷涛,连倩,加小红,刘鹏.
基于快速SLIC的图像超像素算法
Fast Simple Linear Iterative Clustering for Image Superpixel Algorithm
计算机科学, 2020, 47(2): 143-149. https://doi.org/10.11896/jsjkx.190400121
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!