基于计算机视觉技术的水果形状分级方法-中国科技论文在线.PDF

基于计算机视觉技术的水果形状分级方法-中国科技论文在线.PDF

基于计算机视觉技术的水果形状分级方法-中国科技论文在线

2 0 0 5年6月 农 业 机 械 学 报 第36卷第6期 基于计算机视觉技术的水果形状分级方法* 林开颜 吴军辉 徐立鸿 【摘要】 以彩色图像为处理对象,提出一种基于傅里叶变换的水果形状分级方法,采用梯度法检测彩色水果 图像的边缘,再用边界跟踪算法获取水果的轮廓半径序列,然后将其进行离散傅里叶变换,最后利用傅里叶系数定 义分类器,根据给定的分类阈值对水果形状进行分类,对不同水果形状的试验证明了这种方法的有效性。 关键词:水果 分级 边缘检测 边界跟踪 傅里叶变换 中图分类号:TP391;TS972.123 .7 文献标识码:A Separation Approach for Shape Grading of Fruits Using Computer Vision Lin Kaiyan WuJunhui Xu Lihong University) (Tongji Abstract A Fourier—based shape separation approach was developed for grading fruits using color image.Gradient operators were used for detecting color edges,and a boundary—tracing algorithm was applied to get a sequence of radiuses of the boundary,which were transformed to frequency domain with Fourier transform.A shape separator based on Fourier coefficients was defined to classify fruits by given thresholds.Experiments showed that the shape separator was effective and efficient for different shape separation.Incorporating with other inspection process such as size,color,blemishes,etc,the proposed approach has a great potential to assist people with automated fruit grading. Key words Fruits,Grading,Edge detection,Boundary trace,Fourier transform 引言 1 基于梯度法的彩色图像边缘检测 我国水果由于产后分级不科学,使得外销水果 基于梯度运算的彩色图像边缘检测步骤如图1 的品质难以保证,在国际市场上缺乏竞争力。其主要 所示,从图中可知,判断任何一个像元在某一彩色分 原因是分级技术落后,基本上由人工完成。其缺点主 量k( 一1,2,3,对应尺、G、B 3个分量)上是否属于 要有:劳动量大,生产率低,分级标准难以控制,分级 边缘点,主要涉及两个步骤,首先用梯度法rl 精度不高。通常水果的外在品质检测内容包括大小、 (Prewitt算子、Sobel算子等)计算出所有像素点在

文档评论(0)

1亿VIP精品文档

相关文档