摘要
形状是分级的最重要参数之一,本文采用标记法对红枣形状进行了识别。通过图像预处理获取红枣二值图像,通过边界追踪获取目标边界笛卡尔坐标,并将其转化为极坐标,对目标图像进行缩放旋转使均值圆成为基线,切割的4部分边界曲线能完整表达。对边界曲线进行多项式拟合,获取极值点坐标,将其映射回被拟合曲线上,获取对应极值点坐标。若两极小极半径差值大于阈值,则红枣畸形;若两极大极半径附近区域极半径过渡平缓,判红枣为规整,否则为较规整。取53粒红枣进行检测,其中16粒畸形,17粒较规整,20粒规整。检测结果表明:畸形枣识别准确率达100%,较规整枣的识别准确率94%,规整枣识别准确率95%,可基本满足红枣分级系统精度的要求。
Shape is a basic parameters of classification, this paper has a identification on shape of Chinese date based on the mark method.Have a image preprocessing to get binary image of Chinese date;Have a boundary tracking to get car-tesian coordinates of target boundary; Transform them into polar coordinates; Scale and rotate the target image to make mean round become a base line and cut the boundary curve to four parts by it.Have a polynomial fitting on the boundary curves in order to get extreme value point coordinates;Mapping them to the fitted curve to obtain corresponding points.If the difference value of two local minimum polar radius is bigger than the threshold value , the Chinese date is deformity;If the points nearby two local minimum polar radius transit gently, the Chinese date is considered as regular shape, else relatively regular shape.Do experiments with 53 Chinese dates including 16 abnormal shape dates and 17 relatively regu-lar shape dates and 20 normal dates.The result show that the recognition rate of deformity jujube is 100% and that of relatively normal jujube is 94 and that of normal jujube is 95 , which basically meet the accuracy requirement of the red jujube grading system.
出处
《农机化研究》
北大核心
2015年第7期61-65,共5页
Journal of Agricultural Mechanization Research
基金
国家级大学生创新训练计划项目(2013107570015)
关键词
红枣
标记
极半径
形状检测
chinese date
labelling method
polar radius
shape detection