基于机器视觉的水稻制种田导航线提取方法
Extraction of navigation lines for rice seed farming based on machine vision
-
摘要: 为快速准确的检测出水稻制种田父本行中心线,结合作物长势和农艺需求,提出一种适用于水稻授粉期作物行导航线快速提取的方法。根据作物父母本行在RGB颜色分量上的差异提出R-B法进行图像灰度化处理,利用灰度直方图选取分割阈值对灰度化图像二值化处理;遍历图像对感兴趣区域进行标记,采用最大连通区域法提取目标行,引入趋势线消除断行与作物形态的影响,对图像进行行扫描提取特征点并使用做小二乘法拟合导航基准线。试验结果表明,该算法与标准Hough变换和随机Hough变换相比,该方法能够快速准确地提取导航线,准确率高,为92%以上,处理一幅320像素×270像素图片耗时200 ms左右,并在不同环境下对算法进行可靠性检测,均具有良好的鲁棒性。本文为无人机辅助水稻制种田授粉作业提供一种可靠的导航方法。Abstract: In order to quickly and accurately detect the centerline of the parent line of the rice production field, combined with the crop growth and the agronomic needs of the operation, a method for rapid extraction of the navigation line of the crop row during the rice pollination period is proposed. Firstly, according to the difference of RGB color components of the parents of the crop row, the RB color difference method is proposed for gray image processing, and the gray histogram is used to select the segmentation threshold to binarize the gray image; then traverse the image to mark the region of interest, use the maximum connected area method to extract the target line, and finally scan the image to extract the feature points and use small square method to fit the navigation baseline. The test results show that this algorithm can quickly and accurately extract the navigation line compared with other algorithms. The accuracy rate is more than 92%, and extracting a single picture takes about 200 ms. The reliability of the algorithm is tested in different environments. It has good robustness. This paper provides a reliable navigation method for the UAV-assisted operation of rice-pollinated pollination groups.