首页 | 本学科首页   官方微博 | 高级检索  
     

基于梯度下降和角点检测的玉米根茎定位导航线提取方法
引用本文:宫金良, 孙科, 张彦斐, 兰玉彬. 基于梯度下降和角点检测的玉米根茎定位导航线提取方法[J]. 农业工程学报, 2022, 38(13): 177-183. DOI: 10.11975/j.issn.1002-6819.2022.13.020
作者姓名:宫金良  孙科  张彦斐  兰玉彬
作者单位:1.山东理工大学机械工程学院,淄博255049;2.山东理工大学农业工程与食品科学学院,淄博255049
基金项目:山东省引进顶尖人才"一事一议"专项经费资助项目(鲁政办字[2018]27号);山东省重点研发计划(重大科技创新工程)项目(2020CXGC010804);山东省自然科学基金(ZR2021MC026);淄博市重点研发计划(校城融合类)生态无人农场研究院项目(2019ZBXC200)
摘    要:针对玉米根茎图像信息,提出一种在拔节期后玉米大田环境下快速、精准提取导航基准线的新方法。首先利用2G-B-R和最大类间方差法分割图像,并利用形态学处理提高图像质量,对去噪图像像素按列累加获取垂直投影。传统峰值点法在寻找特征点时需要设定阈值,耗时长且伪特征点多,因此提出一种基于梯度下降的特征点寻找方法,利用某点沿梯度下降的方向求解极小值从而求得特征点。根据角点检测原理,利用特征点像素各个方向梯度变化不同剔除伪特征点,解决了传统算法异常点过多、错误剔除玉米根茎定位点等问题,最终采用随机采样一致算法拟合导航线。试验结果表明,与传统算法相比该算法能够很好的适应复杂环境,实时性强,即使在缺苗、杂草等情况下仍具有很强的鲁棒性,平均处理准确率为92.2%,处理一帧分辨率为1 280像素×720像素的图像平均耗时为215.7 ms,该算法为智能农业化机械在玉米田间行走提供了可靠的、实时的导航路径。

关 键 词:农业机械  机器视觉  导航  梯度下降  角点检测  根茎定位
收稿时间:2021-11-22
修稿时间:2022-06-20

Extracting navigation line for rhizome location using gradient descent and corner detection
Gong Jinliang, Sun Ke, Zhang Yanfei, Lan Yubin. Extracting navigation line for rhizome location using gradient descent and corner detection[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2022, 38(13): 177-183. DOI: 10.11975/j.issn.1002-6819.2022.13.020
Authors:Gong Jinliang  Sun Ke  Zhang Yanfei  Lan Yubin
Affiliation:1.School of Mechanical Engineering, Shandong University of Technology, Zibo 255049, China;2.School of Agricultural Engineering and Food Science, Shandong University of Technology, Zibo 255049, China
Abstract:Here, a quick and accurate extraction was proposed for the navigation baselines of corn rhizomes using gradient descent and corner detection. The images of corn rhizomes were also captured at the jointing leaf stage in the field. First, the images were segmented by the 2G-B-R and the maximum between-class variance. The morphological processing was also implemented to improve the image quality. The vertical projection was then obtained to accumulate the denoised image pixels by column. Second, a feature point search method was also proposed using gradient descent. As such, the time-consuming and false feature points were avoided in the traditional peak point method. The initial point position was determined after smoothing the curve. Subsequently, the negative gradient direction of the position was used as the search direction. This direction was the fastest descending direction of the current position, where the minimum value position was found the fastest. The gradient of the mean square error loss function was also used as the descending step size. Iteratively, the location of the minimum value was achieved during this time. Therefore, the improved method enhanced the searching efficiency for the fewer errors of feature point search than the traditional. Third, the correct positioning point of the corn rhizome was retained to remove the most pseudo feature points using the corner detection. Specifically, each feature point was traversed to compare the gradient change of the pixel value in each direction of the feature point. The reason was that there were too many pseudo-feature points in the traditional searching, leading to incorrectly eliminating the positioning points of corn rhizomes. Finally, random sampling was used to fit the straight line, in order to reduce the interference of the false feature points from the rest. Since the center of the window was a corner point, the grayscale change of the point was the largest before and after moving. The larger weight coefficient demonstrated that the point contributed much more to the grayscale change, as the window moved. Once the grayscale changes of points farther from the center of the window were gradually approaching smooth, the weight coefficients of these points were set to be smaller, indicating that the point contributed much less to the grayscale changes. Consequently, several windows were moved in the surrounding direction, when the window function detected that there was no grayscale change around. Once the window was close to the edge feature line, the window was moved along the edge direction. The window reached the corner to realize the detection, as the surrounding grayscale changed greatly. Anyway, a random sampling was consistent to fit the navigation baseline. Different data sets were repeatedly selected to verify the model, thus iterating until a better model was estimated. The angle bisector of two navigation reference lines served as the cornfield navigation line. The test was performed on an industrial computer with the Intel Pentium(R) CPU G3250 @ 3.20GHZ, 4GB memory, and Windows 7 (64-bit) operating system under the integrated development environment of Python3.7 (Anaconda). Experimental results show that the improved model can be expected to better serve complex environments, indicating strong real-time performance, and the robust even in the absence of seedlings and weeds, compared with the traditional. The average processing accuracy rate was up to 92.2%. An average of 215.7 ms was used to process an image with a resolution of 1280 pixels×720 pixels. This finding can provide a reliable and real-time navigation path for the intelligent agricultural machinery in the corn field.
Keywords:agricultural machinery   machine vision   navigation   gradient descent   corner detection   rhizome location
点击此处可从《农业工程学报》浏览原始摘要信息
点击此处可从《农业工程学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号