文档库 最新最全的文档下载
当前位置:文档库 › 基于图像像素级分割与标记映射的工件表面微小缺陷检测算法

基于图像像素级分割与标记映射的工件表面微小缺陷检测算法

第1期2018年1月组合机床与自动化加工技术Modular Machine Tool &Automatic Manufacturing Technique No.1Jan.2018文章编号:1001-2265(2018)01-0073-04 DOI:10.13462/j.cnki.mmtamt.2018.01.018

收稿日期:2017-03-28;修回日期:2017-05-23 ?基金项目:国家自然科学基金项目(11372206);苏州市工业科技攻关项目(SGZ2014002);苏州市职业大学成果创新项目(SVU2016CGCX13)作者简介:李振兴(1983 ),男,江苏泰州人,苏州市职业大学实验师二工程师,研究方向为数控技术二CAD /CAM /CAE,(E -mail)zhenxing0203@163.com三基于图像像素级分割与标记映射的工件表面微小缺陷检测算法

?李振兴1,张义平1,丁震龙2

(1.苏州市职业大学机电工程学院,江苏苏州 215104;2.苏州沃尔泰精密机械有限公司,江苏苏州 215000)

摘要:为了解决当前工件表面微小缺陷在边缘模糊和特征不明显的情况下,导致其检测不准确的问题,文章提出了基于图像像素级分割与标记映射的工件表面微小缺陷检测算法三首先,利用工业显微镜采集工件图像,获取显微缺陷图;根据高效原则,以整数代替浮点运算,位移代替乘法运算,设计位移亮度滤波算子,进行平台数据转换,基于像素亮度阈值的标记映射,获取显微图像的像素亮度分布的二值图像三然后,耦合高斯平滑滤波与形状滤波,增强图像边缘轮廓特征,进行连通区域标记,准确识别与定位微小缺陷三最后,对缺陷目标进行特征计算和标注显示,完成微小缺陷的自动检测和定量计算三实验测试结果显示:与当前工件表面缺陷检测算法相比,文中检测技术拥有更高的识别精度三

关键词:缺陷检测;像素分割;标记映射;亮度滤波

中图分类号:TH165;TG659 文献标识码:A

Work-piece Surface Tiny Defects Detection Algorithm Based on Pixel Level Image Segmentation and Marker Mapping LI Zhen-xing 1,ZHANG Yi-ping 1,DING Zhen-long 2(1.College of Mechanical and Electrical Engineering,Suzhou Vocational University,Suzhou Jiangsu 215104,China;2.Suzhou AllTech Precision Machinery Co.,Ltd,Suzhou Jiangsu 215000,China)Abstract :In order to solve the current surface tiny flaws in the case of edge blur and characteristics is not obvious ,lead to inaccurate algorithm to detect the problem ,this paper respectively coupled image algorithm analysis and the two dimensions of coding ,is proposed based on pixel level image segmentation with ITK small workpiece surface defect detection algorithm.Displacement brightness filter operator first ,design ,and data transfer platform ,based on pixel brightness threshold marker mapping ,get the binary image on behalf of the pixel luminance distribution.Then ,coupling based on Gaussian smoothing filtering and shape filte-ring ,enhances image edge profile characteristics ,the marking of the binary connected region mapping ,a-chieve the goal of positioning tiny flaws.Finally ,characteristics of calculation and annotation ,according to complete the automatic detection and quantitative calculation for small defects.Test results show that com-pared with the current defects detection algorithm ,in this paper ,detection technology has higher accuracy.Key words :defect detection ;pixel segmentation ;marker mapping ;luminance filtering 0 引言

在对工件进行自动化加工过程之前,需要检测出

工件表面存在微小的缺陷,从而提高工件产品的质

量[1-2]三在当前制造业领域中,微小缺陷一般在纳米级,在工业显微成像系统下,虽然可以成像观察到,但

是存在缺陷目标边缘模糊二特征不明显的问题,加之杂

质干扰,最终影响机器视觉的检测结果三为此,国内外学者提出了相应的工件表面缺陷检测技术,而且已经取得了一定研究成果,如蒋财运[3]提出了基于GPU 的金属工件表面缺陷检测算法,先使用图像采集设备采集金属工件的表面图像,完成混合噪声滤除等预处理后,进行图像配准并使用差影法分割图像,然后标记缺陷和提取缺陷纹理特征,最后进行工件缺陷的分类和识别,完成不合格工件的自动检出工作三但是,此技术万方数据

相关文档