基于数学形态学的工业损伤检测方法

 蔡文冬,王德麾,周莹莹,樊庆文

(四川大学 制造科学与工程学院,四川 成都 610065)
摘要:提出了一种基于数学形态学的失焦检测方法。对一组工业模具用针分别进行准确对焦以及失焦拍照,通过Kmeans聚类原理将图像转化为二值图像,采用数学形态学的方法对目标图像进行先膨胀后腐蚀的处理,改善图片质量,获取更为准确的边界信息。以目标图像特征提取的方法筛选出面积低于阈值面积的模具用针图像,从而确定已发生断裂的针。通过对比不同焦距照片的处理结果,提出失焦检测方法,明显提高检测效率。实验证明,此方法可以快速、准确、批量的检测出模具断针,确立适宜焦距,在工程上具有广泛的应用前景以及实用价值。
关键词:工业损伤;数学形态学;Kmeans聚类法;二值化;失焦检测
中图分类号:TJ765.4+1 文献标志码:A doi:10.3969/j.issn.1006-0316.2016.06.016
文章编号:1006-0316 (2016) 06-0067-05
The detection method of Industrial damage based on mathematical morphology
CAI Wendong,WANG Dehui,ZHOU Yingying,FAN Qingwen
( School of Manufacturing Science and Engineering, Sichuan University, Chengdu 610065, China )
Abstract:A kind of out-of-focus detection method based on mathematical morphology is proposed. Take accurate focus and out-of-focus pictures of a group of pins on mould and convert the picture to binary image by the k means clustering method. To improve the quality of the image and acquire the more precise edge, dilate and erode the image through the mathematical morphology method. By the method of screening the pin which image area is below the threshold, the damaged one can be picked. By comparing the results of different focal length,a kind of out-of-focus detection method is proposed and the efficiency can be raised. The experiment proves that this method can quickly and precisely detect  the damaged pin in batch and determine the optimum focal length. This method is of great practical value and has promising application prospect.
Key words:industrial damage;mathematical morphology;Kmeans clustering method;binarization;out-of-focus detection
———————————————
收稿日期:2016-01-29
基金项目:航天医学基础与应用国家重点实验室研究基金资助(SMFA12B03);载人航天领域预先项目资助(040101)
作者简介:蔡文冬(1991-),男,四川达州人,硕士研究生,主要研究方向为数字图像处理等;王德麾(1982-),男,河北任丘人,博士,讲师,主要研究方向为机器视觉及测量技术、图像处理等;周莹莹(1990-),女,湖北枣阳人,硕士研究生,主要研究方向为机器视觉及测量技术;樊庆文(1966-),男,山东济宁人,博士,研究员,硕士生导师,主要研究方向为机电一体化、人机工程、图像识别等。
 

 

设为首页  |  加入收藏    |   免责条款
《机械》杂志版权所有     Copyright©2008-2012 Jixiezazhi.com All Rights Reserved 

  电话:028-85925070    传真:028-85925073    E-mail:jixie@vip.163.com

地址:四川省成都锦江工业开发区墨香路48号   邮编:610063

蜀ICP备08103512号

Powered by PageAdmin CMS