基于点云图的农业导航中障碍物检测方法

    Obstacle detection based on point clouds in application of agricultural navigation

    • 摘要: 为满足智能农业机器人路径规划中障碍物检测的需求,针对传统双目视觉中用于障碍物检测算法的局限性,提出基于点云图的障碍物距离与尺寸的检测方法。该方法以双目视觉中以立体匹配得到的点云图为对象,通过设置有效空间,对不同区域处点云密度的统计,找到点云密度随距离的衰减曲线。远距离障碍物由于相机分辨率的不足,点云密度会随距离下降,通过密度补偿算法进行补偿,经二次设置有效空间后锁定障碍物位置,将目标点云分别投影于俯视栅格图和正视图中,获得其距离和尺寸信息。试验表明:该方法能有效还原障碍物信息,最大测距范围为28 m,平均误差为2.43%;最大尺寸检测范围为10 m,长度和高度平均误差均小于3%。该文基于点云图的栅格化表示和密度补偿算法,通过设置有效空间将点云投影得到障碍物距离和尺寸,不同环境下的精度测试和距离检测验证了可靠性和鲁棒性。

       

      Abstract: Abstract: Various sensors are utilized to ensure safety in the vicinity of an intelligent robot while it is walking, with the development and wide application of intelligent navigation. Among them, stereo cameras are prevalent in recent years due to their capability of distance measurement. Due to the limitation of traditional detection methods in stereo vision, a method based on point clouds was presented to meet the demand of obstacle detection on a robot while planning its path. Point clouds of an environment's space with an obstacle involved was taken as the object, and a validity box was applied into the space to eliminate point clouds in irrelevant regions. From a top view, the area was divided into grids, and the number of points in each grid was denoted as the density of point clouds. Once the point cloud density in different ranges was calculated, a curve that fitted the distribution of density, decreasing due to the range was figured out. It indicated that obstacles far from the camera created fewer point clouds than the close ones, leading to a mismatch and the recognition of obstacles. In order to compensate for the sparse point clouds of obstacles in the long range view, the density was compensated for according to a curve of the density-range relationship. And obstacles were able to be recognized by setting a threshold, so the distance could be measured. The specific space that an obstacle occupied was confirmed by setting one more validity box. Therefore, its shape and size could be measured after projecting it onto a front view. Experiments were conducted on the campus of Nanjing Agricultural University, Nanjing, Jiangsu Province, and source codes were programmed and compiled by Matlab software. Experimental results showed that this method could restore the obstacle information of point clouds effectively, while in the distance measurement test, it showed a maximum detection range of 28 m and an average error of 2.43%. Several experiments in various environments and weather were conducted as well, which indicated its robust performance with illumination changing. While in the size measurement tests, it showed a maximum range of 10 meters and the average error in length and height were 2.59% and 2.01%, respectively. In summary, this article was based on a density map of a point cloud and density-compensation algorithm to measure both the distance and the size of obstacles in the vicinity of the camera. Unlike conventional image processing methods, it converted three dimensional point cloud data to two dimensional, using the density of point clouds and applying a grid map to significantly decrease the calculation amount. Additionally, it functioned well under different weather conditions, in both an indoor and outdoor environment, showing a robustness over traditional methods that separate obstacles from the background in image processing. Because there were still some deficiencies to be improved, the current method and programming platform are still too time-consuming to fulfill the demands of real-time detection, but this appears to be a fruitful approach for future study in this field.

       

    /

    返回文章
    返回