农业工程学报
農業工程學報
농업공정학보
2013年
1期
41-47
,共7页
李茗萱%张漫%孟庆宽%刘刚
李茗萱%張漫%孟慶寬%劉剛
리명훤%장만%맹경관%류강
农业机械%机器视觉%导航%导航线检测%农田环境
農業機械%機器視覺%導航%導航線檢測%農田環境
농업궤계%궤기시각%도항%도항선검측%농전배경
agricultural machinery%machine vision%navigation%navigation baseline detection%farmland environment
针对基于机器视觉的自动导航系统现有导航线提取算法易受外界环境干扰和处理速度较慢等问题,该文提出一种基于图像扫描滤波的导航线提取方法.首先获取不同农作物的彩色图像,使用2G-R-B 算法对彩色图片进行灰度化处理,得到作物行和土壤背景对比性良好的图片.使用 Otsu 方法对图像进行分割,得到二值化的图像后,再采用腐蚀-中值滤波-膨胀的滤波方法对图像进行去噪处理.然后使用该文提出的扫描滤波导航线提取算法,将图像分成左右两部分,使用等面积三角形对两部分分别进行扫描后,再对扫描的结果进行滤波,从而提取作物行,得到导航线.试验结果表明,采用该方法处理一幅640×320像素的图像只需要76 ms,可满足农机具实时导航的要求;与传统导航线提取算法相比,该算法计算速度快,适应能力强.
針對基于機器視覺的自動導航繫統現有導航線提取算法易受外界環境榦擾和處理速度較慢等問題,該文提齣一種基于圖像掃描濾波的導航線提取方法.首先穫取不同農作物的綵色圖像,使用2G-R-B 算法對綵色圖片進行灰度化處理,得到作物行和土壤揹景對比性良好的圖片.使用 Otsu 方法對圖像進行分割,得到二值化的圖像後,再採用腐蝕-中值濾波-膨脹的濾波方法對圖像進行去譟處理.然後使用該文提齣的掃描濾波導航線提取算法,將圖像分成左右兩部分,使用等麵積三角形對兩部分分彆進行掃描後,再對掃描的結果進行濾波,從而提取作物行,得到導航線.試驗結果錶明,採用該方法處理一幅640×320像素的圖像隻需要76 ms,可滿足農機具實時導航的要求;與傳統導航線提取算法相比,該算法計算速度快,適應能力彊.
침대기우궤기시각적자동도항계통현유도항선제취산법역수외계배경간우화처리속도교만등문제,해문제출일충기우도상소묘려파적도항선제취방법.수선획취불동농작물적채색도상,사용2G-R-B 산법대채색도편진행회도화처리,득도작물행화토양배경대비성량호적도편.사용 Otsu 방법대도상진행분할,득도이치화적도상후,재채용부식-중치려파-팽창적려파방법대도상진행거조처리.연후사용해문제출적소묘려파도항선제취산법,장도상분성좌우량부분,사용등면적삼각형대량부분분별진행소묘후,재대소묘적결과진행려파,종이제취작물행,득도도항선.시험결과표명,채용해방법처리일폭640×320상소적도상지수요76 ms,가만족농궤구실시도항적요구;여전통도항선제취산법상비,해산법계산속도쾌,괄응능력강.
To make up the shortages of the existing algorithms for the visual navigation such as the noise interference and the processing speed, a new algorithm for navigation line detection was designed in this article. In the first stage, the image preprocessing was carried out. Firstly, the 2G-R-B method was used to convert the color images into grey scale images in order to distinguish crop and soil better. In general, the green component G is far greater than red R and blue B component for the crops of which main pigment is chlorophyll. The 2G-R-B method was used to graying images in order to emphasize green component and restrain the rest two components. Secondly, the OTSU method was used to transfer the grey scale images into binary images. Because the brightness and color will be different if the image under different light condition, the OTSU method was taken to transform the gray images into binary images. In addition, the weeds, shadow is inevitable because of the complexity of the farmland environment. Therefore, there are a lot of noise points in the image after binarization. In order to get ideal effect, the noise in the image needs to be reduced. In this paper, the corrosion-median filter-expansion was selected to reduce the noise according to the characteristics of the weeds. In the next stage, the designed algorithm named Scan Filtering (SF) navigation line extracting algorithm was used to get the navigation line from the above processed binary image. In SF algorithm, the image was divided into the right sector and the left sector. These two sectors were scanned by a series of triangles with the same area; then, the number of white dots was counted in every triangle and stored in an array. The array was filtered by an IIR filter, and the navigation line was extracted according to the output of the IIR filter. Finally, the parameter of navigation was transformed to the horizontal deviation and the heading deviation by the relative position and orientation algorithm. Three experiments were designed to evaluate the performance of SF algorithm, including compare it with the traditional navigation line detection method such as Hough transformation. The first experiment was designed to test the performance of the image preprocessing methods which included 2G-R-B, OTSU and corrosion-median filter-expansion method. The second experiment was designed to detect the performance of SF algorithm, includes time consuming and accuracy analysis. The experimental results showed that only 76ms were needed to process a 640×320 sized picture, and this algorithm could meet the need of agricultural real-time visual navigation. Through comparing with Hough transform and random navigation line detection algorithm, the results showed that this new method could extract the navigation lines faster and more accurately. The last experiment was design to analyze the stability of SF algorithm. Under different circumstance such as plant lacked and high density weed, winter wheat and corn were selected to test the adaptability of SF algorithm. The experiment results showed that SF algorithm could adapt different environment very well.