基于逻辑回归算法的复杂背景棉田冠层图像自适应阈值分割
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家自然科学基金项目(31460317)


Adaptive threshold segmentation for cotton canopy image in complex background based on logistic regression algorithm
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    棉田冠层覆盖度是监测棉田棉花长势的重要指标,针对棉田复杂环境中冠层图像难以准确分割的问题,该文提出了一种基于逻辑回归算法的复杂背景棉田冠层图像自适应阈值分割方法。首先将棉田冠层图像像素分成叶片冠层和地表背景2类,在HSV颜色空间中分别提取两类像素的H通道值,在RGB颜色空间中分别提取绿色占比值(G/(G+R+B))作为颜色特征;再利用逻辑回归算法确定出各颜色特征的分割阈值,通过H通道分割阈值实现图像的初次分割;再对初次分割结果中的低亮像素使用逻辑回归算法计算出的超绿特征阈值进行低亮像素分割,同时采用绿色占比分割阈值对图像高亮像素及低亮像素分割结果整体实现二次分割,最后采用形态学滤波方法对分割结果进行优化。为评价该分割方法,利用从新疆棉花产区采集到的320幅棉田冠层图像进行试验。结果表明,该方法可在棉田复杂自然背景下,有效分割出棉田冠层区域,平均相对目标面积误差率仅为5.46%,总体平均匹配率达到93.07%;优于超绿特征OTSU分割方法(平均相对目标面积误差率11.78%,总体平均匹配率76.43%)、四分量分割方法(平均相对目标面积误差率24.11%,总体平均匹配率71.67%)、显著性分割方法(平均相对目标面积误差率36.92%,总体平均匹配率66.92%)。该方法的平均处理时间为4.63 s,相对于超绿特征OTSU法(3.84 s)和四分量分割法(2.56 s),耗时多一些,但与显著性分割法(6.25 s)对比,花费时间要少。研究结果可为棉田自然复杂环境下机器视觉技术监测棉花覆盖度提供一种有效途径。

    Abstract:

    Abstract: Cotton canopy coverage is an important index for monitoring cotton growing in field. It is easy but not accurate to calculate, because it is difficult to accurately segment the cotton canopy in the complex environment image of cotton field. This paper presents an adaptive threshold segmentation approach of cotton canopy image based on logistic algorithm in order to improve the segmentation precision and robustness for cotton canopy image. Firstly, the cotton canopy image is transformed into HSV (hue, saturation, value) color space. This color space is designed by human color description. In this color space, the color feature of the pixel can be expressed by 3 independent components i.e. H, S and V. In this paper, the logistic regression algorithm is used to compute threshold used in image segmentation. The logistic regression algorithm is often used in 2 kinds of classification problem, so our method need an artificially defined variable. This variable and a single color feature variable can form a dataset as the input of logical regression algorithm to calculate the segmentation threshold. In our paper, the proposed artificially defined variable is set to a specific value that is 1, the effect of which is to reduce the impact for computed segmentation threshold. The cotton canopy image's pixel is divided into 2 classes: target and background. The H channel feature of 2 classes can be extracted in HSV color space, and the green ratio (G/(R+G+B)) of 2 classes can be extracted in RGB (red, green, blue) color space. Those features' thresholds are computed by logistic regression algorithm. H channel thresholds are used to achieve the first segmentation. Secondly, the first segmentation result is divided to highlight pixels and low pixels. The highlight pixels mainly include light canopy and light soil, and the low pixels mainly include shadow canopy and shadow soil. However, it is difficult to segment cotton canopy in the low pixels. In order to solve this problem, extra-green (Exg) color feature is used as segmentation feature to get cotton canopy in the low pixels. Thirdly, the highlight pixels in the first segmentation result and the low pixels segmented by Exg threshold are segmented by green ratio threshold. This segmentation is called the second segmentation. At last, the segmentation result of cotton canopy is acquired by morphology repair operation, and it ensures the integrity of the canopy region and the independent noise removal. In order to verify the effect of the method proposed in this paper, 320 test images were captured from the cotton producing areas in Xinjiang, China from April to July 2016. The acquisition was often on sunny day, aiming at obtaining images under different lighting conditions, different positions in cotton field, and different cotton growth periods. These images were collected by the Canon EOS5D digital camera with 6 912×3 416 pixels, and zoomed into 1 728×1 152 pixels to improve segmentation effect. This algorithm programming development environment is Python 2.7, and OpenCV 2.4.9. The experimental results show that the average relative object area error (RAE) by our method is only 5.46%, the Exg feature OTSU method 11.78%, the four-component segmentation method 24.11%, and the saliency segmentation method 36.92%. The overall average matching rate by our method is 93.07%, the Exg feature OTSU method 76.43%, the four-component segmentation method 71.67%, and the saliency segmentation method 66.92%. The average processing time of this paper proposed method was 4.63 s, which was much more time-consuming than the super-green characteristic OTSU method (3.84 s) and the four-component segmentation method (2.56 s), but this time less than that of the segmentation method (6.25 s). Therefore the proposed method in our paper has better performance than other methods in cotton canopy segmentation task, and is effective to segment the cotton canopy in the complicated background and different cotton growth periods. The proposed method can provide certain basis for implementation of cotton growth condition automatic monitoring.

    参考文献
    相似文献
    引证文献
引用本文

刘立波,程晓龙,戴建国,赖军臣.基于逻辑回归算法的复杂背景棉田冠层图像自适应阈值分割[J].农业工程学报,2017,33(12):201-208. DOI:10.11975/j. issn.1002-6819.2017.12.026

Liu Libo, Cheng Xiaolong, Dai Jianguo, Lai Junchen. Adaptive threshold segmentation for cotton canopy image in complex background based on logistic regression algorithm[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE),2017,33(12):201-208. DOI:10.11975/j. issn.1002-6819.2017.12.026

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2016-11-23
  • 最后修改日期:2017-05-31
  • 录用日期:
  • 在线发布日期: 2017-07-01
  • 出版日期:
文章二维码
您是第位访问者
ICP:京ICP备06025802号-3
农业工程学报 ® 2024 版权所有
技术支持:北京勤云科技发展有限公司