Acta Agriculturae Zhejiangensis ›› 2023, Vol. 35 ›› Issue (11): 2720-2730.DOI: 10.3969/j.issn.1004-1524.20221753

• Biosystems Engineering • Previous Articles     Next Articles

Disease spot segmentation and disease degree classification of grape black rot based on improved UNet++ model

RU Jiaqi1,2,3(), WU Bin1, WENG Xiang4, XU Dayu1, LI Yan'e1,2,3,*()   

  1. 1. School of Mathematics and Computer Science, Zhejiang A&F University, Hangzhou 311300, China
    2. Key Laboratory of Forestry Intelligent Monitoring and Information Technology of Zhejiang Province, Hangzhou 311300, China
    3. Key Laboratory of Forestry Sensing Technology and Intelligent Equipment, National Forestry and Grassland Administration, Hangzhou 311300, China
    4. College of Optical, Mechanical and Electrical Engineering, Zhejiang A&F University, Hangzhou 311300, China
  • Received:2022-12-06 Online:2023-11-25 Published:2023-12-04

Abstract:

Based on the grape black rot images from PlantVillage dataset, an improved model for disease spot segmentation based on UNet++was proposed to solve the fuzzy edge segmentation and segmentation difficulties encountered at the early disese stage. For image feature extraction, on one hand, the adaptive soft thresholding method was introduced in the proposed model to improve the edge segmentation accuracy of grape disease image by filtering the influence of noise, on the other hand, the skip connection structure of UNet++was constructed by combining long and short connections to reduce the computational complexity of the model. Multi-scale features were fused in the lateral output layer of the model to enhance the semantic information of the disease spot and further improve the segmentation accuracy. In addition, the loss function of the model was weighted by adding Dice loss function to the cross-entropy loss function, to solve the imbalance between the pixel area of the disease spot and the leaf area. Five-fold cross validation was used for the model training and test. The results showed that the pixel accuracy of the proposed model was 98.433%, the mean intersection over union was 92.056%, the intersection over union for the disease spot was 81.230%, and the Dice coefficient was 0.941, which were all superior to the traditional UNet++model. Based on the area ratio of disease spot to leaf, the disease degree was classified, and the mean accuracy of disease degree classification was 97.41%. The proposed model could accurately segment the edge of diseased spots and minor diseased spots, realize the classification of disease degree with good robustness.

Key words: grape black rot, image segmentation, adaptive soft thresholding

CLC Number: