浙江农业学报 ›› 2025, Vol. 37 ›› Issue (2): 466-479.DOI: 10.3969/j.issn.1004-1524.20240334

• 生物系统工程 • 上一篇    下一篇

基于弯曲大豆植株主茎骨架重构的生理株高测量方法

汤奥冉1,2(), 金秀1,2, 王坦1,2, 饶元1,2,*(), 李佳佳2,3, 张武1,2   

  1. 1.安徽农业大学 信息与人工智能学院,安徽 合肥 230036
    2.农业农村部农业传感器重点实验室,安徽 合肥 230036
    3.安徽农业大学 农学院,安徽 合肥 230036
  • 收稿日期:2024-04-10 出版日期:2025-02-25 发布日期:2025-03-20
  • 作者简介:饶元,E-mail:raoyuan@ahau.edu.cn
    汤奥冉(2004—),男,安徽阜阳人,本科生,主要从事计算机视觉技术和深度学习研究。E-mail:tangaoran13@163.com
  • 通讯作者: 饶元
  • 基金资助:
    国家自然科学基金(32371993);安徽省重点研究与开发计划项目(202204c06020026);安徽省重点研究与开发计划项目(2023n06020057);安徽省高校自然科学研究重大项目(2022AH040125);安徽省高校自然科学研究重大项目(2023AH040135)

Physiological plant height measurement method based on the reconstruction of the main stem skeleton for curved soybean plants

TANG Aoran1,2(), JIN Xiu1,2, WANG Tan1,2, RAO Yuan1,2,*(), LI Jiajia2,3, ZHANG Wu1,2   

  1. 1. College of Information and Artificial Intelligence, Anhui Agricultural University, Hefei 230036, China
    2. Key Laboratory of Agricultural Sensors, Ministry of Agriculture and Rural Affairs, Hefei 230036, China
    3. College of Agronomy, Anhui Agricultural University, Hefei 230036, China
  • Received:2024-04-10 Online:2025-02-25 Published:2025-03-20
  • Contact: RAO Yuan

摘要:

准确测量大豆的生理株高是大豆考种的重要任务之一。传统基于计算机视觉的株高测量通常采用植株端点的直线长度或对植株进行像素分割等方法,存在茎秆自然弯曲的生理株高测量误差大、数据标注成本高等问题。本研究提出了一种利用改进的YOLOv8n模型重构弯曲大豆主茎骨架实现生理株高的准确测量的方法。在原有YOLOv8n模型的基础上引入CA注意力机制(Coordinate Attention)、融合小目标检测层实现对主茎节点的检测获取其位置信息,再使用YOLOv8n-seg模型实现根部分割获取根茎交界点的位置信息从而排除根部长度影响,最后根据植株的生长方向结合主茎节点和根茎交界点的位置信息构建大豆植株主茎骨架,利用其能够准确反映生理株高的形态信息提高测量的精度。试验结果表明,改进的YOLOv8n模型的平均精度值为91.52%,较原始网络提升了2.09百分点,YOLOv8n-seg模型的平均精度值为95.54%,可实现大豆植株主茎骨架的高精度重构,重构大豆主茎骨架实现生理株高测量的平均绝对误差为1.67 cm,均方根误差为1.91 cm,平均绝对百分比误差为3.25%,与测量检测框长度推算弯曲大豆生理株高相比平均绝对百分比误差下降了8.46百分点,更适合于大豆生理株高测量。研究结果表明,该方法能获得准确的大豆生理株高测量结果,可为大豆智能考种提供方法与技术支撑。

关键词: 弯曲, 大豆, 主茎骨架, 目标检测, 株高测量

Abstract:

Soybean plant physiological height, as one of the significant phenotypic traits, holds paramount importance in soybean breeding for selection and improvement purposes. Accurate measurement of soybean plant physiological height stands as a crucial task in soybean cultivation due to its pivotal role in variety evaluation. Currently, manual measurement methods suffer from inefficiency and error-proneness, rendering them inadequate for large-scale soybean plant measurement tasks. With the advancement of computer vision technology, an increasing number of studies have been devoted to utilizing computer vision algorithms for automated measurement and analysis of soybean plant physiological height. For instance, in the field of object detection, approaches often rely on measuring the straight-line length of plant endpoints to determine plant height. However, the natural curvature of soybean plants may introduce significant measurement errors using this method. Furthermore, instance segmentation techniques are employed to segment plant pixels for height measurement. Nevertheless, annotating segmentation data for entire plants entails high costs and is challenging to achieve. This study proposes a novel approach utilizing an improved YOLOv8n model to reconstruct the curved main stem skeleton of soybean plants, enabling high-precision measurement of soybean plant physiological height. Based on the original YOLOv8n model, the Backbone section has been augmented with CA (Coordinate Attention), while a new small object detection layer has been added to the Neck and Head sections. This enhancement improves the ability to detect main stem nodes of soybean plants, enabling accurate localization of the main stem nodes. Subsequently, the YOLOv8n-seg model is employed for root segmentation, obtaining the positions of root-stem junction points, thereby eliminating the influence of root length on plant height measurement. Based on the growth direction of the plants and combining the position information of the main stem nodes and the root-stem junction points, the main stem skeleton of soybean plants is constructed. An edge contour detection algorithm is used to detect the straight ruler reference object in the image, obtaining the actual length corresponding to the pixels. Finally, by utilizing the main stem skeleton information that accurately fits the curved morphology of soybean stems, the plant height measurement is completed, thereby improving the accuracy of plant height. The experimental findings demonstrate that the improved YOLOv8n model yields a mean average precision of 91.52%, marking a notable improvement of 2.09 percentage points over the original network. Meanwhile, the YOLOv8n-seg model achieves an impressive mean average precision of 95.54%, enabling the precise reconstruction of soybean plant main stem skeletons. Using both methods to detect soybean plant images, the results indicate that reconstructing the soybean main stem skeleton achieves a mean absolute error of 1.67 cm, a root mean square error of 1.91 cm, and an mean absolute percentage error of 3.25% in plant height measurement. Compared with the length measurement of the detection box for the entire plant, there is a significant decrease of 8.46 percentage points in the mean absolute percentage error. This signifies a notable enhancement in measurement accuracy. The experimental results were analyzed and compared with common methods for measuring plant height, leading to the conclusion that this approach surpasses the commonly used methods in the field of computer vision for physiological plant height measurement. The research findings demonstrate that this method yields accurate measurements of soybean plant physiological height, providing methodological and technological support for intelligent soybean breeding.

Key words: curvature, soybean, main stem skeleton, object detection, plant height measurement

中图分类号: