用户名: 密码: 验证码:
基于计算机视觉的马铃薯外部品质检测应用研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
计算机视觉技术具有实时、客观、无损等优点,能对马铃薯表面外部品质进行快速检测。本文从图像获取装置、图像预处理、大小形状检测、绿皮检测、表面缺陷检测五个方面对单个马铃薯的外部品质静态检测进行了研究。
     图像获取装置和图像预处理是图像处理的基础环节,直接影响图像质量,进而影响识别的效果和检测的准确性。本文设计的马铃薯外部品质检测装置由照明设备、CCD数码相机、图像采集卡、计算机硬件和光照箱组成;采用B通道灰度化、中值滤波和Otsu分割法分别对马铃薯原始图像进行灰度化、图像平滑和阈值分割处理。
     利用马铃薯形状类似圆或椭圆这一特性对马铃薯大小形状进行检测。在传统系统标定方法的基础上,通过与基本矩形长和宽的比较,提出采用椭圆长短轴比作为其大小特征进行检测,其大小测量的误差率为7%。提出用提取椭圆长短轴比的方法来描述其形状特征,将马铃薯形状分成圆形、椭圆形和长筒形三类,形状检测结果为99.1%。
     为了检测绿皮马铃薯,论文介绍了一种基于色调域的阈值识别马铃薯绿皮的检测方法,实现了从量化角度提取马铃薯的表皮颜色信息,克服了统计的逐步判别分析方法和支持向量机SVM识别方法在构建模型时,因局限于特定样本集的特征空间的缺点,提取色调作为模式识别的特征值,并确定了区分正常和绿皮马铃薯的有效色调值区间57-64,再结合二次阈值分割方法对马铃薯的绿皮进行检测,准确率达到97.5%,且结果稳定。
     论文提出一套基于计算机视觉的检测马铃薯表面缺陷的新方法。使用自适应Ⅰ截留法或固定Ⅰ截留法能一次性将马铃薯表面的疑似缺陷分离出来,再结合OTSU法和形态学运算对疑似缺陷部位进行分割并分别提取面积和颜色特征,选取面积阈值和黑色比率阈值对疑似缺陷进行识别。经验证,缺陷正确分类率、缺陷正确识别率和马铃薯表面缺陷正确检测率分别为92.1%、91.4%和100%。
Computer vision technology, which can detect some external characteristics of potato, has some advantages such as real-time, objectivity, and being nondestructive. The research based on computer vision includes five sections:the vision inspection device, image preprocessing, size and shape inspection, greened potato detection, external defects detection.
     Image acquisition and image preprocessing are fundamental steps in digital image processing which decide the quality of image and then can ensure the accuracy of recognition and inspection. The computer vision system developed to detect the defects of potato was composed of a CCD camera, lighting chamber, frame grabber and computer. B channel graying, median filtering method and Otsu segmentation are used in graying, image smoothing and threshold segmentation respectively.
     In consideration of the characteristics that the shape of potato is similar with circle and ellipse, on the base of traditional system calibration method with ping pong ball, by comparing the length and width of basic rectangle, the long and short axis of ellipse has been chose as characteristic values of size inspection with error rate of 7%. Similarly, the ratio of the long and short axis of ellipse has been chose as characteristic value of shape inspection to classify the shape of potato as round shape, oval shape and long cylinder shape with accuracy of 99.1%.
     This article recommended a method based on the hue region to detect green skin of potato, and extracted the color information from the quantitative perspective. The model based on the statistical Stepwise discriminated analysis and SVM has a certain bias which causes the results unsteadiness due to the limitations of characteristics space of a particular sample set. To overcome the foregoing shortcomings, the new method extracted hue as features, confirmed effective range of hue 57 to 64 which could distinguish between normal and greened potato. By combining the second threshold segmentation, the result showed that the accuracy of reorganization was 97.5% respectively with good stability.
     This paper reports a novel inspection approach to external defects of potato. Adaptive Intensity Interception (All) and Fixed Intensity Interception (FII) methods have been proposed to extract the suspect defects. Otsu segmentation combined with morphologic operation was used to remove the normal skin and background. Area threshold and black ratio threshold were used to identify defects in the suspect defects. Experiments have shown FII performed better than All in a specific circumstance. The correct classification rate of defects, the correct recognition rate of defects and the correct inspection rate of potatoes based on FII are 92.1%,91.4% and 100% respectively.
引文
[1]张瑞宇,刘顺淑.计算机视觉技术在果蔬采后处理中的应用[J].重庆工商大学学报,2004,21(5):497-506
    [2]张德权,艾启俊主编.蔬菜深加工新技术[M].北京:化学工业出版社.2003.1,378-378
    [3]武杰编著,脱水食品加工工艺与配方[M].北京:科学技术文献出版社.2002.2,73-74
    [4]刘燕德,应义斌,傅霞萍.近红外漫反射用于检测苹果糖度及有效酸度的研究[J].光谱学与光谱分析,2005,25(11):51-54.
    [5]王书茂,焦群英,籍俊杰.西瓜成熟度无损检验的冲击振动方法[J].农业工程学报,1999,15(3):241-145.
    [6]宋金亚,张立彬,计时鸣,等.利用介电特性的水果品质无损检测[J].无损检测,2003,25(8):420-422.
    [7]章程辉,刘纯青,刘木华,等.应用X射线CT图像技术检测红毛丹内部品质的试验研究[J].江西农业大学学报,2005,27(6):939-942.
    [8]梁伟杰,邓继忠,张泰岭.梨果面坏损区域的计算机视觉检测方法[J].农业机械学报,2005,36(7):101-103.
    [9]章程辉,王群.X 射线图像技术对红毛丹内部品质的检测[J].热带作物学报,2005,26(1):103-108.
    [10]张彦娥,李民赞,张喜杰,等.基于计算机视觉技术的温室黄瓜叶片营养信息检测[J].农业工程学报,2005,21(8):102-105.
    [11]王树文,张长利,房俊龙.基于计算机视觉的番茄损伤自动检测与分类研究[J].农业工程学报,2005,21(8):98-101.
    [12]Tao Y, Heinemann P H, Varghese Z, et al. Machine vision for color inspection of potatoes and apples [J]. Trans of the ASAE,1995,38(5)2:1555-1561
    [13]Tao Y, Morrow C T, Heinemann P H, et al. Fourier-based separation technique for shape grading of potatoes using machine vision. Tran. Of the ASAE.1995,38(3):949-957
    [14]P. H. Heinemann, N. P. Pathare, and C. T. Morrow. An automated inspection station for machine-vision grading of potatoes [J]. Machine Vision and Application,1996, 9:14-19
    [15]L. Zhou, V. Chalana, Y.Kim. PC-based machine vision for real-time computer-aided potato inspection [J]. International Journal of Imaging Systems and Technology,1998,9:423-433
    [16]Noordam, J. C, Otten, G. W. A Color Vision System for High speed sorting of potatoes [J]. AGENG Paper NO:00-AE-002,2000
    [17]Mendoza F, Dejmek P, Aguileara J M, Calibrated color measurements of agriclatural foods using analysis. Postharvest Biology and Technology,2006,41(3):285-295
    [18]凌云,王一鸣,孙明,等.基于机器视觉的大米外观品质检测装置[J].农业机械学报,2005,36(9):89-92.
    [19]周超,欧阳爱国,吴继华,等.基于Matlab语言的杂交水稻品种的颜色特征[J].生物数学学报,2006,21(4):627-630.
    [20]Hong-sun Yun, Won-ok Lee, Hoon Chung. A Computer Vision System for Rice Kernel Quality Evaluation R Pa per No:023130 An ASAEMeeting Presentation.
    [21]Kawamura S, Natsu ga M, Takekura K, et al. Development of automatic rice-quality inspect -ion system[J]. Computers and Electronics in Agriculture,2003,40(1-3):115-126.
    [22]李锦卫,廖桂平.基于数字图像处理的油菜种子形状特征参数提取及模糊聚类分析[J].计算机辅助工程,2006,15(3):75-78.
    [23]熊利荣,陈红,张俊.基于机器视觉的花生完善性检验[J].粮油加工,2007,3,71-74.
    [24]吴燕萍,鲍一丹,何勇.基于BP神经网络的黄豆含水率无损检测分析[J].农机化研究,2007,2,126-129.
    [25]P. Shatadal, J. Tan. Identifying Damaged Soybeans by Color Image Analysis [J]. Applied Engineering in Agriculture.2003,19(1):65-69
    [26]王巧华,熊利荣,.丁幼春.鸡蛋鲜度神经网络检测系统的研究[J].华中农业大学学报,2005,24(6):630-632.
    [27]侯瑞锋,黄岚,王忠义,等.用近红外漫反射光谱检测肉品新鲜度的初步研究[J].光 谱学与光谱分析,2006,26(12):2193-2196.
    [28]Nakano, k. j. Usui., Y. Motanaga and J. Mizutani. Development of non-destructive detector for abnormal eggs. Workshop on Control Applications in Post- Harvest and Processing Technology,2001.71-76.
    [29]汪建,杜世平,王开明.茶叶的计算机识别应用研究[J].安徽农业科学,2006,34(10):2139-2140.
    [30]陈全胜,赵杰文,张海东.利用计算机视觉识别茶叶的色泽类型[J].江苏大学学报,2005,26(6):461-464.
    [31]张绍堂,蒋作,郑智捷.机器视觉技术在烟草异物剔除系统中的应用[J].云南民族大学学报,2007,16(2):161-164.
    [32]金晶,廖桂平,李锦卫,童钊.农产品品质无损检测概述[J].农业网络信息.2008,2:90-93
    [33]童钊,廖桂平,李锦卫,金晶.机器视觉技术在农产品检测中的引用[J].农业网络信息.2008,11:18-21
    [34]王伟成.湘马铃薯1号[J].湖南农业良种荟萃,2007.9:8
    [35]钟祥标.马铃薯品种大西洋及栽培技术[J].中国农技推广,2007,23(8):18
    [36]阙玉林.早熟马铃薯新品种费乌瑞它[J].福建农业,2007,12:14
    [37]Tadhg Brosnan, Da-Wen Sun. Improving quality inspection of food products by computer vision:a review[J]. Journal of Food Engineering.2004,61:3-16
    [38]谷口庆治编,朱虹,廖学成,乐静译.数字图像处理-基础篇[M].北京:科学出版社,2002.2
    [39]董长虹主编.Matlab图像处理与应用[M].北京:国防工业出版社,2004.1
    [40]孙即祥编著.图像处理[M].北京:科学出版社,2004.9
    [41]龚声蓉,刘纯平,王强编著.数字图像处理与分析[M].清华大学出版社,2007.4:177-185
    [42]Da-Wen Sun. Inspecting pizza topping percentage and distribution by a computer vision method[J]. Journal of Food Engineering.2000,44:245-249
    [43]林开颜,吴军辉,徐立鸿.彩色图像分割方法综述[J].中国图像图形学报.2005,10(1):1-10
    [44]Ng H. F. Automatic thresholding for defect detection. Pattern Recognition Letters.2006,27,1644-1649.
    [45]李庆中.苹果自动分级中计算机视觉信息快速获取与处理技术的研究[D].北京:中国农 业大学.博士学位论文,2000
    [46]应义斌,成芳,马俊福.基于最小矩形法的柑桔横径实时检测方法研究[J].生物数学学报,2004,19(3):352-356.
    [47]林开颜,吴军辉,徐立鸿.基于计算机视觉技术的水果形状分级方法[J].农业机械学报,2005,36(6):71-74.
    [48]章程辉,刘木华,韩东海.红毛丹外形尺寸的图像处理技术研究[J].江西农业大学学报,2006,28(2):300-303.
    [49]Johanna Torppa, Jari P. T.Valkonen, Karri Muinonen. Three-dimentional Stochastic Shape Modelling for Potato Tubers[J]. Potato Research,2006,49:109-118.
    [50]邱茂林,马颂德,李毅.计算机视觉中摄像机定标综述[J].自动化学报,2000(1):43-55
    [51]徐歆恺.计算机视觉技术在作物形态测量中的应用[D].北京:首都师范大学,硕士学位论文,2005
    [52]应义斌,景寒松,马俊福,赵匀,蒋亦元.机器视觉技术在黄花梨尺寸和果面缺陷检测中的应用[J].农业工程学报,1999,15(1):197-200
    [53]吴振锋,左洪福,杨忠.磨损微粒显微形态学特征量化描述体系[J].交通运输工程学报,2001,1(1):115-119
    [54]唐毅,郑丽敏,任发政,朱虹,林喆.基于几何特征的图像感兴趣区域的自动定位研究[J].计算机工程,2007,33(1):200-203
    [55]黑龙江省农业科学院马铃薯研究所主编.中国马铃薯栽培学[M].北京:中国农业,1994:394-408
    [56]李强,杨晓京,魏岚,等.基于机器视觉的烟叶分离系统[J].现代制造工程,2006,5():101-103
    [57]刘华波,贺立源,马文杰,等.透射图像颜色特征在烟叶识别中的应用探索[J].农业工程学报,2007,22(9):169-171.
    [58]孙永海,赵锡维,鲜于建川.基于计算机视觉的冷却牛肉新鲜度评价方法[J].农业机械学报,2004,35(1):104-107
    [59]马杰,苏真伟,康宏伟,高春华.一种测定羊绒颜色纯度的计算机视觉系统[J].毛纺科技,2007,(2):48-51
    [60]庞江伟.基于计算机视觉的脐橙表面常见缺陷种类识别的研究[D].杭州:浙江大学,硕士 学位论文,2006
    [61]李锦卫.基于数字图像处理的油菜种子信息研究[D].长沙:湖南农业大学,硕士学位论文,2007.
    [62]Rafael C. Gonzalez, Richard E. Woods. Digital Image Processing[M]. New Jersey: Prentice Hall,2002
    [63]Rafael C. Gonzalez, Richard E. Woods, Steven L. Eddins.数字图像处理(MATLAB版)[M].北京:电子工业出版社,2006.4
    [64]Rafael C. Gonzalez, Richard E. Woods, Steven L. Eddins. Digital Image Processing Using MATLAB[M]. New Jersey:Prentice Hall,2004
    [65]Max K. Agoston. Computer Graphics and Geometric Modeling:Implementation and Algorithms[M]. Springer. ISBN 1852338180,2005
    [66]王克如.基于图像识别的作物病虫草害诊断研究[D].北京:中国农业科学院,博士学位论文,2005
    [67]魏宝刚,鲁东明,潘云鹤等.多颜色空间上的交互式图像分割[J].计算机学报,2001,24(7):770-775
    [68]D. Androutsos, K. N. Plataniotis, A. N. Venetsanopoulos. A Novel Vector-Based Approach to Color Image Retrieval Using a Vector Angular-Based Distance Measure[J]. Computer Vision and Image Understanding,1999,75(1/2):46-58
    [69]王涛,胡事民,孙家广.基于颜色-空间特征的图像检索[J].软件学报,2002,13(10):2031-2036
    [70]刘芳,王涛,周登文.基于颜色空间二维直方图的图象检索[J].计算机工程与应用,2002,38(12):85-88
    [71]孙君顶,崔江涛,毋小省等.基于颜色和形状特征的彩色图像检索方法[J].中国图象图形学报,2004,9(7):820-827
    [72]付岩,王耀威,王伟强等.SVM用于基于内容的自然图像分类和检索[J].计算机学报,2003,26(10):1261-1265
    [73]唐启义,冯明光.实用统计分析及其DPS数据处理系统[M].北京:科学出版社,2002.5
    [74]Nello Cristianini, John Shawe-Taylor. An Introduction to Support Vector Machines and Other Kernel-based Learning Methods(支持向量机导论)[M].北京:电子工业出版社,2004.3,1-139
    [75]田盛丰,黄厚宽.基于支持向量机的数据库学习算法[J].计算机研究与发展,2000,37(1):17-22
    [76]黄发良,钟智.用于分类的支持向量机[J].广西师范学院学报(自然科学版),200421(3):75-78
    [77]张学工.关于统计学习理论与支持向量机[J].自动化学报,2000,26(1):32-42
    [78]Trevor Hastie, Robert Tibshirani Jerome Friedman. The Elements of Statistical Learning Data Mining, Inference, and Prediction [M].北京:电子工业出版社,2003:149-152
    [79]蔡晋辉,周泽魁.机器视觉系统在桔瓣质量检测中的应用[J].农业工程学报,2004,20(6):129-132
    [80]王江枫,罗锡文,洪添胜,戈振扬.计算机视觉技术在芒果重量及果面坏损检测中的应用[J].农业工程学报,1998,12:186-189
    [81]朱伟华,曹其新.基于模糊彩色聚类方法的西红柿缺陷分割研究[J].农业工程学报,2003,19(3):133-136
    [82]刘禾,汪懋华.基于数字图像处理的苹果表面缺陷分类方法[J].农业工程学报,2004,20(6):138-140
    [83]ZB B23008-85,《中华人民共和国专业标准—马铃薯(土豆、洋芋)》[S]
    [84]章毓晋编著.图像工程(上册)—图象处理和分析[M].北京:清华大学出版社,1999,3:254-275

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700