English

中国农机化学报

中国农机化学报 ›› 2022, Vol. 43 ›› Issue (5): 47-53.DOI: 10.13733/j.jcam.issn.20955553.2022.05.008

• • 上一篇    下一篇

基于机器视觉的油菜菌核病分级检测研究

王珊1, 2,薛新宇1,郭祥雨1   

  1. 1. 农业农村部南京农业机械化研究所,南京市,210014; 2. 安徽农业大学,合肥市,230036
  • 出版日期:2022-05-15 发布日期:2022-05-17
  • 基金资助:
    国家重点研发计划项目(2017YFD0701000)

Classification and detection of rapeseed sclerotium disease based on machine vision

Wang Shan, Xue Xinyu, Guo Xiangyu.    

  • Online:2022-05-15 Published:2022-05-17

摘要: 为实现精准施药,提高油菜的产量和品质,对病害发生程度的快速、准确检测至关重要。提出一种基于机器视觉的油菜叶片、茎秆菌核病的分级检测方法,主要依据叶片病斑面积占比和茎秆病斑的纵向扩展长度进行分级,利用病斑与健康区域的颜色差异采用HSV颜色空间模型的方法对目标区域进行分割,首先把图片从RGB图像转换成HSV图像,再利用HSV分量遍历图像中的所有像素点提取感兴趣区域,油菜叶片主要通过绘制ROI和完整叶片的轮廓从而计算面积,茎秆图片因其环境背景复杂,在HSV颜色模型分割前需先通过高斯混合模型从复杂背景中获得整个茎秆区域作为目标区域,再对该区域的病斑进行分割,通过最小外接矩形的轮廓绘制方法可得病斑的纵向扩展长度,进而对其浸染程度进行分级。试验表明,该方法能够有效地对叶片和茎秆的病害程度进行分级,其识别准确率分别为94.25%和92.5%,具有较高的准确度和鲁棒性,可为精准施药提供理论依据。

关键词: 机器视觉, 颜色模型, 图像分割, 轮廓提取, 病情分级

Abstract:  To achieve precise application of pesticides and improve yield and quality of rapeseed, rapid and accurate detection of disease occurrence is very important. In this paper, a machine visionbased classification detection method for sclerotinia on rape leaves and stems was proposed, which was mainly based on the proportion of leaf diseased spots and the vertical expansion length of stem diseased spots, and which used the color difference between diseased spots and healthy areas. The HSV color space model was used to segment the target area. First, the image was converted from RGB image to HSV image, and then the HSV component was used to traverse all the pixels in the image to extract the area of interest. Rape leaves were mainly drawn by ROI and completed leaves. The contour was then used to calculate the area. Owing to the complex environmental background of the stalk image, the entire stalk area was obtained from the complex background through the Gaussian mixture model as the target area prior to HSV color model segmentation, after which the lesions in this area were segmented. The contour drawing method of the minimum circumscribed rectangle obtained the length of the longitudinal expansion of the lesion, and then graded the degree of infection. Experiments showed that this method can effectively classify the disease degree of leaves and stems, and its recognition accuracy was 94.25% and 92.5%, respectively, with high accuracy and robustness, which can provide a theoretical basis for precise pesticide application.

Key words: machine vision, color model, image segmentation, contour extraction, condition classification

中图分类号: