首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于计算机视觉的花椒外观品质检测及其MATLAB实现
引用本文:杨 飞,祝诗平,邱青苗.基于计算机视觉的花椒外观品质检测及其MATLAB实现[J].农业工程学报,2008,24(1):198-202.
作者姓名:杨 飞  祝诗平  邱青苗
作者单位:1. 西南大学工程技术学院,重庆,400716
2. 西南大学工程技术学院,重庆,400716;重庆大学光电技术及系统教育部重点实验室,重庆,400030
基金项目:重庆市自然科学基金 , 重庆市高等学校骨干教师资助计划 , 西南大学校科研和校改项目
摘    要:为适应花椒快速、准确、自动分级的要求,提出了基于计算机视觉的花椒外观品质检测方法,以避免传统的人眼感观检测存在的可重复性差、效率低、随意性大等缺陷.针对Canny算子边缘检测后,花椒样本图像中仍有部分个体的边界不连续、直接对边缘检测结果填充时效果较差,提出了更能有效识别花椒籽粒的二次填充算法.通过分别比较椒籽、闭眼、果穗梗和果皮的凹性率、椭圆度、面积值,发现四种成分的同一形态特征有一定差异,可作分离参数.试验和数据分析表明,图像分辨率为600dpi时,取凹性率0.95、面积值7000像素可先分离出椒籽,再取椭圆度0.9能分离出果穗梗,最后取凹性率0.8964、椭圆度0.5072能有效区分余下的闭眼和果皮.利用MATLAB R2006a软件平台开发了花椒外观品质计算机视觉检测系统软件,实现了对颗粒均匀度、椒籽率、闭眼率和果穗梗率指标值的检测.试验结果表明:该方法合理有效、程序设计可靠、识别效果良好,对椒籽、果穗梗正确识别率达100%,闭眼及果皮正确识别率分别达89%、96.8%,为进一步完善花椒外观品质的计算机视觉检测提供了理论基础和技术支持.

关 键 词:花椒  计算机视觉  边缘检测  外观品质检测  MATLAB
文章编号:1002-6819(2008)-1-0198-05
收稿时间:2006-08-15
修稿时间:2006-11-28

Prickly ash appearance quality detection based on computer vision and its implementation in MATLAB
Yang Fei,Zhu Shiping and Qiu Qingmiao.Prickly ash appearance quality detection based on computer vision and its implementation in MATLAB[J].Transactions of the Chinese Society of Agricultural Engineering,2008,24(1):198-202.
Authors:Yang Fei  Zhu Shiping and Qiu Qingmiao
Institution:College of Engineering and Technology, Southwest University, Chongqing 400716, China;College of Engineering and Technology, Southwest University, Chongqing 400716, China;Key Laboratory for Optoelectronic Technology and System of Ministry of Education, Chongqing University, Chongqing 400030, China;College of Engineering and Technology, Southwest University, Chongqing 400716, China
Abstract:A new approach to prickly ash appearance quality detection was presented based on the computer vision technology tomeet the requirements of speediness, automation, high accuracy, and avoid using traditional manual method which encounters with some problems such as bad repeatability, low efficiency and high random. Images with the method of edge detection by Canny detector have some granules whose edge information was not extracted continuously, so a new algorithm named as second filling was presented to recognize the granule more accurately. Research indicates that each kind of shape feature such as solidity, eccentricity and area has different values and can be used as the separating parameters by comparing each feature respectively for the four ingredients, which are the seed, the fruit coat closing, the peduncle and the seedcase. Experiment and data analysis illustrate that, with the image resolution being 600dpi, the seed can be separated firstly if only solidity and area are 0.95 and 7000 pixels respectively, then the peduncle can be separated with the eccentricity being 0.9, the fruit coat closing and seedcase can be separated finally if the solidity and eccentricity are 0.8964 and 0.5072 respectively. A prickly ash appearance quality detection software was developed correspondingly in the platform of MATLAB R2006a, and indexes such as degree of uniformity, rate of seed, rate of fruit coat closing and rate of peduncle were detected by the system. The results show that the identifying accuracy is 100% for both the seed and the peduncle, 89% and 96.8% for the fruit coat closing and the seedcase respectively. This approach is efficient and credible, so it can help to improve prickly ash quality detection with computer vision theoretically and technologically.
Keywords:prickly ash  computer vision  edge detection  appearance quality detection  MATLAB
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《农业工程学报》浏览原始摘要信息
点击此处可从《农业工程学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号