您好,欢迎来到中国测试科技资讯平台!

首页> 《中国测试》期刊 >本期导读>基于机器视觉的竹材尺寸测量系统设计

基于机器视觉的竹材尺寸测量系统设计

2989    2016-08-19

免费

全文售价

作者:韩伟聪, 鲍光海

作者单位:福州大学电气工程与自动化学院, 福建 福州 350108


关键词:尺寸测量;机器视觉;选择式掩模平滑法;Sobel算子


摘要:

为适应竹材加工过程的竹材剖分自动化需求,该文提出将机器视觉技术应用到竹材图像实时处理与显示中,并设计一种新的算法来测量竹材的尺寸参数。首先,针对采集图像存在的噪声,采用选择式掩模平滑法进行去噪并保护边缘信息;然后利用Sobel算子提取竹子的内外轮廓,通过二值化分割图像的目标和背景,并按照新的算法获取竹材尺寸大小;最后通过VC++编写的软件界面显示采集和处理后的图像及测量数据,并存储在数据库里。试验结果表明:软件设计采取的数字图像处理算法能有效滤除噪声,保留感兴趣的目标,而新的测量算法能高效快速精确地计算竹材的尺寸参数,为竹材自动化剖分的实现提供有效途径。


Design of measurement system of bamboo size based on machine vision

HAN Weicong, BAO Guanghai

School of Electrical Engineering and Automation, Fuzhou University, Fuzhou 350108, China

Abstract: In order to cater to the demand for automated bamboo splitting technologies, this paper proposed to apply digital image processing technology to real-time processing and display of bamboo images. A new algorithm was designed to measure the size parameters of bamboo. Firstly, this paper focused on the noise of image collection, used selective masking smoothing method to weaken the noise and protect edge information; then used the Sobel operator to extract the internal and external contour of bamboo, separated the background, obtained the target of the image by binarization and attained the size of bamboo in accordance with the new algorithm; Finally, the software interface written in VC++ displayed the collected images, processed images, measured data, and stored in the database. Experiment showed that the design of the software by adopting the digital image processing algorithms could effectively filter the noise, retain the targets of interest, and new measurement algorithm was fast, efficient and accurate on calculating the size parameters of bamboo, which provided an effective way to realize automation of bamboo splitting.

Keywords: dimensional measurement;machine vision;selective masking smoothing method;Sobel operator

2016, 42(7): 74-78  收稿日期: 2015-9-30;收到修改稿日期: 2015-10-30

基金项目: 福建省教育厅JK项目(JK15005)

作者简介: 韩伟聪(1992-),男,福建漳州市人,硕士研究生,专业方向为机器视觉应用。

参考文献

[1] 翟亚宇,潘晋孝,刘宾,等. 基于运动目标检测的实时图像处理与显示[J]. 计算机测量与控制,2014(11):3794-3797.
[2] 柴华,任洪娥,张俊卿. 利用Sobel算子结合蚁群算法提取竹材的内外轮廓[J]. 哈尔滨理工大学学报,2014(1):54-58.
[3] 屈稳太. 基于弦中点Hough变换的椭圆检测方法[J]. 浙江大学学报(工学版),2005(8):1132-1135.
[4] 周封,杨超,王晨光,等. 基于随机Hough变换的复杂条件下圆检测与数目辨识[J]. 仪器仪表学报,2013(3):622-628.
[5] 谢凤英,赵丹培,姜志国. Visual C++数字图像处理[M]. 北京:电子工业出版社,2008:21-39.
[6] 祁晓玲,赵霞霞,靳伍银. 基于机器视觉的轴类零件几何尺寸测量[J]. 组合机床与自动化加工技术,2013(1):65-67.
[7] 李绍民,陈卫东. 图像处理方法在自动化加工中的应用[J].组合机床与自动化加工技术,2004(9):94-95.
[8] LIAO C W, YU J H, TARN Y S. On-line full scan inspection of particle size and shape using digital image processing[J]. Particuology,2010(3):286-292.
[9] 柴华. 基于图像识别的竹材横截面轮廓提取技术研究[D].哈尔滨:东北林业大学,2014.
[10] 张华,展晓凯. 基于VC++的数字图像处理系统的设计与实现[J]. 潍坊学院学报,2011(2):15-21.
[11] 龙倩倩. 剖竹加工工艺分析及其数控加工机床的设计[D].哈尔滨:东北林业大学,2014.
[12] 龚聪.基于机器视觉的高准确度尺寸检测方法与实现[D].广州:广东工业大学,2014.
[13] 程鹏,朱美琳,耿华. 一种基于梯度Hough变换和SVM的圆检测算法[J]. 计算机与现代化,2013(2):22-25.
[14] 蒋忠凌,廖俊必,黄玉波,等. 基于机器视觉的化成箔缺陷在线检测系统设计[J]. 电子测量技术,2015(7):27-32.