基于改进AdaBoost算法的秸秆识别与覆盖率检测技术
Straw Recognition and Coverage Rate Detection Technology Based on Improved AdaBoost Algorithm
-
摘要: 针对目前秸秆覆盖率自动识别准确率低的问题,提出了一种秸秆图像畸变校正与Otsu算法阈值分割相结合的图像处理算法,并采用该方法计算田间秸秆覆盖率。首先通过单目摄像头采集免耕播种机的作业环境信息,采用改进的AdaBoost算法对目前工作环境是否为免耕地进行自动判断;其次,对现场采集的秸秆覆盖图像进行预处理,通过彩色空间距离化、图像增强等方式提高图像中秸秆的可识别特征;然后,建立逆向映射模型并结合最邻近插值的方法解决图像畸变问题;最后,裁剪出用于秸秆识别的图像部分,通过Otsu算法进行阈值分割、计算秸秆覆盖率。通过实验对AdaBoost算法分类与秸秆覆盖率的检测效果进行验证,结果表明,运用AdaBoost算法能有效识别免耕播种机的工作环境,采用本文图像处理算法计算田间秸秆覆盖率,与实际测量误差在5%以内。Abstract: At present,the accuracy of automatic identification of straw coverage rate is low,an image processing algorithm was proposed,which based on the combination of straw image distortion correction and Otsu algorithm for threshold segmentation.It was used to calculate the straw coverage rate in the field.Firstly,the working environment information of the no-tillage planter was collected by monocular camera,and an improved AdaBoost algorithm was used to automatically judge whether the current working environment of no-tillage planter was no-tillage land.Under the premise of no-tillage land,an improved AdaBoost algorithm was proposed to determine the working environment of no-tillage planter.Secondly,the straw image collected in the field was preprocessed,and the recognizable features of straw in the image were improved by color space distance and image enhancement.The inverse mapping model was combined with nearest neighbor interpolation to solve the problem of image distortion.Finally,the image part for straw recognition was cut out.The Otsu algorithm was used for threshold segmentation to calculate the straw coverage rate.The accuracy of AdaBoost algorithm classification and straw coverage rate was verified by experiments.The experimental results showed that the working environment of notillage planter was effectively indentified by AdaBoost algorithm,and the error of straw coverage rate between the image processing algorithm calculated and the actual measurement value was less than 5%,which verified the effectiveness of the algorithm.