湖北农业科学 ›› 2018, Vol. 57 ›› Issue (18): 94-97.doi: 10.14088/j.cnki.issn0439-8114.2018.18.024

• 农业工程 • 上一篇    下一篇

基于颜色差异性的植物叶片病害图像分割方法

计甜甜, 李泽彬, 赵江东, 姚有峰, 黄济   

  1. 皖西学院,安徽 六安 237012
  • 收稿日期:2018-04-27 出版日期:2018-09-25 发布日期:2020-03-27
  • 作者简介:计甜甜(1989-),女,安徽肥东人,助教,硕士,主要从事图像处理与模式识别研究,(电话)18860472280(电子信箱) jitiantian121@163.com。
  • 基金资助:
    安徽省大学生创客实验室建设计划项目(2016ckjh217)

Segmentation Method for Plant Leaves Disease Based on Color Difference

JI Tian-tian, LI Ze-bing, ZHAO Jiang-dong, YAO You-feng, HUANG Ji   

  1. West Anhui University,Luan 237012,Anhui,China
  • Received:2018-04-27 Online:2018-09-25 Published:2020-03-27

摘要: 针对植物叶部病害图像的复杂性,结合植物叶部病害彩色图像的特点,提出了一种基于颜色差异性的植物叶部病害彩色图像分割方法。对采集的植物叶部病害图像,利用GrabCut算法对其进行背景分割,去除田间复杂环境背景;对其采用中值滤波和图像锐化处理,以尽可能保留图像的病害区域和边缘细节;再对处理后的图像,分别转换到基于生理特性的Lab颜色空间和YUV空间,结合Otsu方法,分别对图像的Lab灰度图及YUV空间的单通道灰度图进行二次分割;对二次分割的两幅图进行与操作,将其转换到RGB空间,即可得到最终的分割结果。利用该方法对常见的大豆、玉米、油菜、黄瓜等多种植物常见的多种叶部病害彩色图像进行了分割试验。结果表明,该方法取得了比较精确的分割图像,并且在抗噪性能、边缘细节保护和分割效率等方面也有很好的效果。

关键词: 植物, 叶部, 彩色图像分割, 颜色差异, 最大类间方差法

Abstract: In view of the complexity of plant leaves images, combining with the characteristics of plant color leaves images,a color image segmentation method based on color differences was presented. Firstly,the images of the diseased plant leaves were collected,use GrabCut algorithm to segment the complex field environment background. Then,use median filtering and image sharpening method to preserve the image of disease area and edge detail. Next,the processed images are converted to Lab color space and YUV color space which based on physiological characteristics. Combined with Otsu method,the images of Lab grayscale and single channel grayscale of YUV color space are subdivided respectively. Finally,the two subdivision of the two figures and operations,its conversion to RGB color space,you can get the final segmentation results. The method was used to segment the common color images of leaves diseases plants such as soybean,corn,rape and cucumber. The experimental results showed that this method can obtain more accurate segmentation,Edge detail protection and segmentation efficiency also have good results.

Key words: plant, leaves, color image segmentation, color difference, Otsu

中图分类号: