农业工程学报
農業工程學報
농업공정학보
2015年
7期
47-52
,共6页
刁智华%赵明珍%宋寅卯%吴贝贝%毋媛媛%钱晓亮%魏玉泉
刁智華%趙明珍%宋寅卯%吳貝貝%毌媛媛%錢曉亮%魏玉泉
조지화%조명진%송인묘%오패패%무원원%전효량%위옥천
图像分割%作物%算法%机器视觉%精准施药%行识别
圖像分割%作物%算法%機器視覺%精準施藥%行識彆
도상분할%작물%산법%궤기시각%정준시약%행식별
image segmentation%crops%algorithms%machine vision%precision pesticide%row recognition
识别作物行中心线并实现喷药喷头的自动对准是精准施药系统实现的关键技术。为克服作物行识别算法的单一性和适应性不强的缺点,该文以生长早中期的玉米图像为研究对象,利用改进的过绿特征法和改进的中值滤波算法分割出作物行,减少处理时间和去除噪声;然后在行提取时只保留包含作物行信息的中间作物行,通过随机Hough变换检测出作物行中心线,并根据世界坐标与图像坐标的转换和相对距离得到偏差信息;最后实现了系统的硬件搭建并给出了实际运行效果。不同图像的试验和处理结果表明,该算法在背景分割、作物行提取和偏差信息获取方面具有一定的优势,可适用于不同作物及不同视野图像的作物行算法识别,对精准施药的研究具有一定的参考价值。
識彆作物行中心線併實現噴藥噴頭的自動對準是精準施藥繫統實現的關鍵技術。為剋服作物行識彆算法的單一性和適應性不彊的缺點,該文以生長早中期的玉米圖像為研究對象,利用改進的過綠特徵法和改進的中值濾波算法分割齣作物行,減少處理時間和去除譟聲;然後在行提取時隻保留包含作物行信息的中間作物行,通過隨機Hough變換檢測齣作物行中心線,併根據世界坐標與圖像坐標的轉換和相對距離得到偏差信息;最後實現瞭繫統的硬件搭建併給齣瞭實際運行效果。不同圖像的試驗和處理結果錶明,該算法在揹景分割、作物行提取和偏差信息穫取方麵具有一定的優勢,可適用于不同作物及不同視野圖像的作物行算法識彆,對精準施藥的研究具有一定的參攷價值。
식별작물행중심선병실현분약분두적자동대준시정준시약계통실현적관건기술。위극복작물행식별산법적단일성화괄응성불강적결점,해문이생장조중기적옥미도상위연구대상,이용개진적과록특정법화개진적중치려파산법분할출작물행,감소처리시간화거제조성;연후재행제취시지보류포함작물행신식적중간작물행,통과수궤Hough변환검측출작물행중심선,병근거세계좌표여도상좌표적전환화상대거리득도편차신식;최후실현료계통적경건탑건병급출료실제운행효과。불동도상적시험화처리결과표명,해산법재배경분할、작물행제취화편차신식획취방면구유일정적우세,가괄용우불동작물급불동시야도상적작물행산법식별,대정준시약적연구구유일정적삼고개치。
The identifying of a center line in a crop and the realization of an automatic alignment of a spraying nozzle is the key technology in a precision pesticide. Machine vision has great advantage in path automatic identification, and has been widely used in the study of modern precision agriculture. To overcome the low adaptability in a navigation line extraction algorithm, we used middle growing corn as the goal of the research and got an algorithm with a higher adaptability. In this paper, the image background segmentation was the first part. In this part, the comparison of a traditional gray transformation and an improved one was realized, and showed the effect of the traditional method and an improved method, the results showed that the improved algorithm had certain advantages in the processing of such images, so we used the improved gray-scale transformation as the first step of segmentation. Then the improved middle filter algorithm was used to filter the noise in an image which has been changed in the method of obtaining the middle value to reduce the processing time. Then the image was binarized by an OTSU algorithm instead of the threshold method, which processed automatically with little interference and made the crop row black, and the background white, so to achieve the image background segmentation. Crop line extraction was the second part. The purpose was to use the line to indicate the crop rows, so we used the following method to extract a line in a binary image as far as possible to represent the crop rows and the central position of the image. We used a morphological algorithm to remove the noise, and the 3×3 template of erosion and dilation to operate on the two value image, and determined the number of erosion and dilation by experiment, and then the thinning algorithm and scanning filtration was adopted to keep the middle of the crop rows only, in order to represent navigation information and reduce the computation in line recognition. The third part was deviation calculation. We fit out the navigation line, and got the navigation information by a randomized Hough transform that determined a point in the parameter space by any two points in an image space and transformed the dispersed mapping of one to many to merge the mapping of many to one, which reduced the amount of computation effectively and improved the velocity of calculation. According to the transformation between the world coordinate system and the image coordinate system and the deviation distance between bottom center of crop rows, the pixel center of the image and the spray nozzle position relative to the information of camera, we could get the actual deviation in this image. Finally, we realized the hardware structures and composition of this system. And the experimental results suggested that this algorithm had better generality, and it had a certain advantage in background segmentation, crop line, and navigate information extraction. We have proved that the algorithm can effectively avoid the effects of weeds by the experiment of different images and process, and it can adapt to the line extraction of different crops.