摘要
作物株高的测量是农作物自动观测中的重要环节,能直接反映作物的生长情况。针对人工测量作物株高成本较高且个人的主观影响较大的问题,文中提出了一种通过图像处理来测量株高的方法。将标尺置于作物主茎秆后方并拍摄标尺的照片,在MATLAB上将图像转换到HSV颜色空间分割标尺色块并进行滤波。采用连通域分析法计算标尺色块的像素高度,通过标尺像素高度和实际高度的比例关系计算株高。以灌木丛为实验对象拍摄照片并进行测量,然后对比实验测得的株高数据与人工测量数据,结果显示测量误差小于0.0173 m,满足自动观测株高的标准。
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.
作者
孙翔
裴晓芳
周望
朱平
SUN Xiang;PEI Xiaofang;ZHOU Wang;ZHU Ping(School of Electronic & Information Engineering,Nanjing University of Information Science & Technology,Nanjing 210044,China;School of Electronic & Information Engineering,Binjiang College,Nanjing University of Information Science & Technology,Wuxi 214105,China;Collaborative Innovation Center of Atmospheric Environment and Equipment Technology of Jiangsu Province,Nanjing University of Information Science and Technology,Nanjing 210044,China;Aerospace Newsky Technology Co.,Ltd,Wuxi 214127,China)
出处
《电子科技》
2022年第7期32-39,共8页
Electronic Science and Technology
基金
国家自然科学基金(61601229)
南京信息工程大学滨江学院项目(2019BJYNG006)。