English

中国农机化学报

中国农机化学报 ›› 2024, Vol. 45 ›› Issue (12): 175-180.DOI: 10.13733/j.jcam.issn.20955553.2024.12.026

• 农业信息化工程 • 上一篇    下一篇

基于机器视觉的白籽南瓜种子几何特征识别方法

张若愚1,葛宜元1,陈栋3, 4,陈天恩3, 4,姜凯1, 2, 3   

  1. (1. 佳木斯大学机械工程学院,黑龙江佳木斯,154007; 2. 北京市农林科学院智能装备技术研究中心,北京市,100097; 3. 农芯(南京)智慧农业研究院有限公司,南京市,211800;4. 北京市农林科学院信息技术研究中心,北京市,100097)

  • 出版日期:2024-12-15 发布日期:2024-12-02
  • 基金资助:
    国家自然科学基金面上项目(32171898);国家西甜瓜产业技术体系专项资金项目(CARS—25—07);中国烟草总公司贵州省公司科技项目(中烟黔科〔2024〕1号2024XM19);北京市农林科学院2024年度科研创新平台建设(PT2024—44)

Machine vision-based geometry characteristics recognition method for white pumpkin seed

Zhang Ruoyu1, Ge Yiyuan1, Chen Dong3, 4, Chen Tianen3, 4, Jiang Kai1, 2, 3   

  1. (1. College of Mechanical Engineering, Jiamusi University, Jiamusi, 154007, China; 2. Intelligent Equipment Technology Research Center, Beijing Academy of Agriculture and Forestry Sciences, Beijing, 100097, China; 3. Nongxin(Nanjing) Smart Agriculture Research Institute, Nanjing, 211800, China; 4. Information Technology Research Center, Beijing Academy of Agriculture and Forestry Sciences, Beijing, 100097, China)
  • Online:2024-12-15 Published:2024-12-02

摘要:

针对瓜类砧木定向播种装备缺乏,人工播种效率低、育苗质量差等问题,提出基于机器视觉的白籽南瓜种子几何特征的识别方法。选取京欣砧2号南瓜种子为研究对象,利用工业相机采集种子的原始图像,通过灰度化、均值滤波、动态阈值处理得到种子的灰度值、种子轮廓等形态特征,根据轮廓区域的方向和纵横比拟合最佳椭圆,并获得种子几何中心坐标和长短轴数据,以沿种子长轴方向的轮廓端点与几何中心点的最大距离来判断芽点方向,再以几何中心点为基准运用三角函数计算种子芽点所在位置,并开展试验验证。试验结果表明,利用该方法可以有效地判断出芽点位置和角度信息,芽点识别准确率为98.85%,芽点角度平均偏差为1.53°,25粒种子识别平均耗时为0.092 s。

关键词: 机器视觉, 白籽南瓜种子, 定向播种, 轮廓提取, 芽点识别

Abstract:

In response to the lack of equipment for targeted sowing of rootstocks for melons, as well as issues such as low efficiency in manual sowing and poor seedling quality, a method based on machine vision for identifying the geometry characteristics of white-seeded pumpkin seeds is proposed. Firstly, Jingxin No.2 rootstocks pumpkin seeds are selected as the research object, and industrial cameras are used to capture the original images of the seeds. The grayscale value, profile and morphological features of the seeds are obtained through grayscale transformation, mean filtering, and dynamic threshold processing. The best ellipse is fitted based on the direction and aspect ratio of the contour area, and the geometric center coordinates and long and short axis data of the seeds are obtained. The direction of the bud spots is determined by the maximum distance between the contour endpoints along the long axis and the geometric center point. Then, using trigonometric functions with the geometric center point as the reference, calculate the location of the bud spots, followed by experimental verification. The results of the experiment show that this method can effectively identify the position and angle information of the germination point, with an identification accuracy of 98.85%, an average angular deviation of 1.53°, and an average recognition time of 0.092 seconds for 25 seeds.

Key words: machine vision, white-seeded pumpkin seeds, directional seeding, contour extraction, bud point identification

中图分类号: