食品科学 ›› 2018, Vol. 39 ›› Issue (15): 60-66.doi: 10.7506/spkx1002-6630-201815009

• 基础研究 • 上一篇    下一篇

基于数字图像及随机最小二乘的红提串果粒尺寸检测分级方法

肖 壮,王巧华*,王 彬,许 锋,杨 朋,李 理   

  1. 华中农业大学工学院,湖北 武汉 430070
  • 出版日期:2018-08-15 发布日期:2018-08-15
  • 基金资助:
    湖北省自然科学基金项目(2012FKB02910);湖北省研究与开发计划项目(2011BHB016)

A Method for Detecting and Grading ‘Red Globe’ Grape Bunches Based on Digital Images and Random Least Squares

XIAO Zhuang, WANG Qiaohua*, WANG Bin, XU Feng, YANG Peng, LI Li   

  1. College of Engineering, Huazhong Agricultural University, Wuhan 430070, China
  • Online:2018-08-15 Published:2018-08-15

摘要: 红提尺寸是衡量其品质的重要指标,为了实现整串红提的尺寸分级,本研究提出了一种基于机器视觉的尺 寸分级方法。通过双通道相机同时采集红提的红-绿-蓝(Red-Green-Blue,RGB)图像和近红外(near infrared,NIR) 图像,利用归一化超绿法去除RGB图像中干扰的绿色果梗信息,同时利用形态学重构的亮度局部极大值的方法对 NIR图像中的红提果粒进行识别和定位。采用梯度分割法有效地截取果粒轮廓并去除边缘轮廓中的干扰弧段,再利 用随机最小二乘椭圆检测的方法提取果粒尺寸,并对整串红提分级。采用该方法对42 串红提进行尺寸检测分级, 正确分级38 串,分级正确率为90.48%。实验结果表明:该方法分级正确率高,能够为葡萄市场分级提供技术支持。

关键词: 红提, 尺寸, 归一化超绿法, 形态学重构, 梯度分割, 随机最小二乘

Abstract: The size of ‘Red Globe’ grape bunches is one of the most important quality indicators. A method for size grading of ‘Red Globe’ grape bunches was proposed based on machine vision in this paper. The Red-Green-Blue (RGB) and near infrared (NIR) images of grapes were collected simultaneously with a two-channel camera. Subsequently, the information about green stalks was removed by the normalized super green method from the RGB images, and the local maxima of brightness based on morphological reconstruction was used to identify and locate the grapes in the NIR images. The contours of the fruits were effectively cut and the interference arcs in the edge contour were removed by the gradient segmentation method. Then, the size of the grapes was obtained by random least squares ellipse detection algorithm. A total of 42 bunches of grapes were graded by this method, and 38 of them were graded correctly with an accuracy rate of 90.48%. The accuracy rate is high enough to provide technical support for commercial grape grading.

Key words: ‘Red Globe’ grape, size, normalized super green method, morphological reconstruction, gradient segmentation, random least squares

中图分类号: