摘要
梨的果梗是否存在是分级的重要特征之一。通过计算机视觉系统摄取黄花梨图象,应用图象处理技术完成图象与背景的分割。针对使用细化及收缩膨胀算法识别果梗速度较慢,提出了一种快速算法。该法利用梨果梗直径小,选择不同大小的模板,判别图象中是否存在果梗,同时得到果梗头、底部与梨相交点的坐标,依据切线斜率信息,对果梗的完好性进行判断。试验结果表明,该算法可以100%判断果梗是否存在,判断果梗是否完好的正确率达到93%,判别速度提高4~6倍。而且该算法具有一定的鲁棒性,对旋转、移位不敏感。
The condition of stem is an important character to classify the pear. The pictures of Huanghua pears were analyzed with a computer vision system. The median filtering method was used to smooth the picture, and the local threshold algorithm was applied to segment the pear from the background. As the thinning and erosiondilation algorithm in judging presence of the stem is too slow, a new fast algorithm was put forward. Compared with other part of the pear, the stem is obviously thin and long, with the help of various sized templates,to judge the presence of stem was easily, meanwhile the stem head and the intersection point of stem bottom and pear body were labeled. Furthermore, after the coordinates of the stem head and bottom and the ratio of slope were calculated, the broken stem could be distinguished from the good stem. As the statistical result of 53 pictures of pears, the method accuracy to judge the stem presence is 100 %, and whether the stem is good reaches 93 %, and the classification rate was increased about 4~6 times. The algorithm is robustness and can be made invariant to translation and rotation.
出处
《农业工程学报》
EI
CAS
CSCD
北大核心
1998年第2期221-225,共5页
Transactions of the Chinese Society of Agricultural Engineering
关键词
梨
果梗
计算机视觉
黄花梨
pear, stem, picture, computer vision