电子科技 ›› 2022, Vol. 35 ›› Issue (7): 32-39.doi: 10.16180/j.cnki.issn1007-7820.2022.07.006

• • 上一篇    下一篇

基于标尺图像识别的作物株高测量

孙翔1,4,裴晓芳1,2,3,周望4,朱平4   

  1. 1. 南京信息工程大学 电子与信息工程学院,江苏 南京 210044
    2. 南京信息工程大学滨江学院 电子与信息工程学院,江苏 无锡 214105
    3. 南京信息工程大学 江苏省大气环境与装备技术协同创新中心, 江苏 南京 210044
    4. 航天新气象科技有限公司,江苏 无锡 214127
  • 收稿日期:2021-01-17 出版日期:2022-07-15 发布日期:2022-08-16
  • 作者简介:孙翔(1995-),男,硕士研究生。研究方向:图像处理、FPGA设计。|裴晓芳(1978-),女,副教授。研究方向:信号处理与应用。
  • 基金资助:
    国家自然科学基金(61601229);南京信息工程大学滨江学院项目(2019BJYNG006)

Crop Height Measurement Based on Ruler Image Recognition

SUN Xiang1,4,PEI Xiaofang1,2,3,ZHOU Wang4,ZHU Ping4   

  1. 1. School of Electronic & Information Engineering,Nanjing University of Information Science & Technology, Nanjing 210044,China
    2. School of Electronic & Information Engineering,Binjiang College, Nanjing University of Information Science & Technology,Wuxi 214105,China
    3. Collaborative Innovation Center of Atmospheric Environment and Equipment Technology of Jiangsu Province, Nanjing University of Information Science and Technology,Nanjing 210044,China
    4. Aerospace Newsky Technology Co.,Ltd,Wuxi 214127,China
  • Received:2021-01-17 Online:2022-07-15 Published:2022-08-16
  • Supported by:
    National Natural Science Foundation of China(61601229);Binjiang College, Nanjing University of Information Science & Technology Research Project(2019BJYNG006)

摘要:

作物株高的测量是农作物自动观测中的重要环节,能直接反映作物的生长情况。针对人工测量作物株高成本较高且个人的主观影响较大的问题,文中提出了一种通过图像处理来测量株高的方法。将标尺置于作物主茎秆后方并拍摄标尺的照片,在MATLAB上将图像转换到HSV颜色空间分割标尺色块并进行滤波。采用连通域分析法计算标尺色块的像素高度,通过标尺像素高度和实际高度的比例关系计算株高。以灌木丛为实验对象拍摄照片并进行测量,然后对比实验测得的株高数据与人工测量数据,结果显示测量误差小于0.017 3 m,满足自动观测株高的标准。

关键词: 作物株高, 标尺, 图像处理, HSV, 颜色空间, 图像分割, 连通域, MATLAB

Abstract:

Crop height measurement is an important part of automatic crop observation, which can directly reflect the growth of crops. To solve the problem that the cost of artificial measurement of crop height is higher and the subjective influence of individual is greater, this study presents a method of measuring crop height by image processing. The ruler is placed behind the main stalk of the crop to take the photo of the ruler. The obtained images were converted to HSV color space on MATLAB to divide and filter the color blocks of the ruler. The pixel height of the color block is calculated by the connected domain analysis method. The plant height is calculated by the ratio relation between the ruler pixel height and the actual height. The shrubbery is taken as the experimental object to take photos and make measurement. Comparing the measured plant height data with manual measurement data, the results show that the measurement error is less than 0.0173 m, which meets the standard of automatic observation of plant height.

Key words: crop height, ruler, image processing, HSV, color space, image segmentation, connected domain, MATLAB

中图分类号: 

  • TP302