节点文献

基于计算机视觉的苹果颜色分级系统的研究

Research on Grading of Apple’s Color Based on Computer Vision

【作者】 闫之烨

【导师】 姬长英;

【作者基本信息】 南京农业大学 , 农业机械化工程, 2003, 硕士

【摘要】 苹果是深受人们喜爱的一种水果。我国是世界苹果第一大生产国,我国苹果的出口量和创汇额这几年有了显著的提高,但仍远远低于苹果先进生产国的水平。原因有很多,一个主要的原因就是忽视了采后处理。水果的采后商品化处理包括下面几个部分:挑选、清洗、打蜡、分级和包装,其中分级是最重要的一个环节。目前我国主要采用人工分级,但人工分级不仅费时、效率低下,而且分级质量与检验员自身的技术水平有很大的关系,难以保证出口苹果的品质。分级的效率低已经成为制约加工效率的一个瓶颈因素。所以迫切需要开发出自动分级系统。颜色和着色度是水果重要的外观品质之一,也是分级的一个重要标准。本文就从颜色方面入手,来研究苹果的分级系统。 整个处理系统包括:预处理、特征提取、分级这三个方面。 预处理是图像处理中一个重要的环节,只有采用的预处理方法合适,才能使后面的特征提取顺利进行。论文根据图像的具体问题和处理效果最终确定下面几种预处理方法:灰度的线性拉伸、平滑化去噪、最小误差法分割图像和轮廓提取,最终结果显示这些方法适合作为苹果分级系统的预处理过程。 特征提取是处理系统的核心部分,特征提取得好,后面的分级才会顺利。论文基于苹果是一个近似的球体这一事实(并在论文中验证了这一点),利用一种空间变换的方法将苹果的真实面积求取出来,这种方法更加合理地反映了苹果上面红颜色的面积百分比。前人主要使用的是统计投影面上像素点数的方法,这种方法简单但并不是很准确;对两种方法比较可以看出,当红颜色集中在被拍摄苹果的中间部分,这两种方法求出来的面积比相差不大,但是若红颜色比较靠近边缘,那么它们之间的差异就比较大。根据对苹果的色度直方图进行分析,并参考色度的概念最终选定了色度阈值将苹果上面的鲜红、浓红颜色分割出来。 分级方法是系统的最后一个环节,论文选用了模糊识别法中的隶属原则法根据提取的特征来对苹果进行最后的分级,这种方法近似于人脑分级的模式,简单且易于操作;根据实际的情况选定了隶属函数,求出隶属度并确定苹果的最终等级。经过实验检验这种方法可行,苹果的分级准确率可达89.2%。

【Abstract】 Apple is a sort of fruit that is liked by all the people. Our country has the highest total quantity of apple yield in the world, and the profits and the exportation quantity have being notable improved in recent years, but is still far from the advanced countries. There are many reasons towards this result; the most dominant one is that the post-process is despised. The post-process includes: selection, washing, waxing, grading and packaging, and the most important one is grading. In our country the grading is still mainly depends on manual grading, and it has many defects such as: low efficiency, slow speed. The grading result is mostly depends on the level of workers, so the apple quality is unable to be ensured. Manual grading has been the bottleneck factor that restricts the efficiency of the processes; so an automatic grading system is required imminently. The color and the red area are important appearance quantities of apple, and they are also one of the important standards of grading. In this paper this grading system is studied through color.The whole process system includes: preprocess, character pick-up, grading. Preprocess is a very important step in image manipulation. Only the proper preprocess method can ensure the success of character pick-up. After considering the actual status and the process effect, the following methods are determined at last: grey-degree linear transformation, smoothness, minimum-error image segmenting and the profile extraction. The final results show that these methods are proper for the preprocess.Character pick-up is the main part of the process system. Only if it is carried out properly, the grading, could be done successfully. By using a method of three-dimensional counterchanges, the true area of an apple’s surface can be calculated, based on the fact that an apple is an approximate sphere (this fact is approved in the paper). This method is more reasonable in getting the proportion of the red-area on an apple, than that by taking count of the number of pixels on the projection. After comparing the two methods we can see that the areas calculated with the two methods are not quite different while the red-area is concentrated in the center of the image, but if the red-area is close to the border of the apple in image, the result will be quite different. According to the analysis towards the hue-distribution curves of the apples, hue-threshold is chosen to divide the cardinal red and the thicken red.The grading method is the last step in the system, and in this paper a rule of direct membership function is selected to deal with the final grading. This rule is similar to the thinking pattern of the human brain. Membership function is determined according to theactual aspect, and the final grade is operated after the value of membership function is calculated. Experimental results show that this method has a good effect with a veracity of 89.2%.

  • 【分类号】TP391.41
  • 【被引频次】22
  • 【下载频次】589
节点文献中: 

本文链接的文献网络图示:

本文的引文网络