| 注册
首页|期刊导航|农业工程学报|基于自适应BayesShrink和频-空特征融合的作物病害识别方法

基于自适应BayesShrink和频-空特征融合的作物病害识别方法

向玉云 陈思远 高爽 李书琴

农业工程学报2025,Vol.41Issue(6):204-215,12.
农业工程学报2025,Vol.41Issue(6):204-215,12.DOI:10.11975/j.issn.1002-6819.202410109

基于自适应BayesShrink和频-空特征融合的作物病害识别方法

Crop disease identification method based on adaptive BayesShrink and frequency-spatial feature fusion

向玉云 1陈思远 1高爽 2李书琴3

作者信息

  • 1. 西北农林科技大学信息工程学院,杨凌 712100
  • 2. 宜昌市大数据局,宜昌,443000
  • 3. 西北农林科技大学信息工程学院,杨凌 712100||农业农村部农业物联网重点实验室,杨凌 712100
  • 折叠

摘要

Abstract

Crop diseases have posed the serious threat to grain yield and quality.Timely and accurately identifying crop diseases can effectively prevent disease spread and grain loss.Two challenges still remain in the existing identification of crop disease:1)Much noise during image acquisition can easily reduce the accuracy of identification.Traditional denoising algorithms tend to lose most of the details while removing image noise.2)The accuracy and generalizability are also confined to the complex backgrounds of disease images that are captured in natural environments,as well as the subtle distinctions among disease areas and backgrounds.Therefore,they are less applicable to the image-denoising task with complex backgrounds.In this study,a disease identification was proposed using adaptive BayesShrink and frequency-spatial domain features fusion(AFSF-DCT).Two parts were also included for the crop disease identification in complex backgrounds:disease image denoising and identification.An adaptive BayesShrink denoising algorithm(Ad-BayesShrink)was designed using adaptive global and local thresholds.Ad-BayesShrink was used to minimize the noise interference while retaining more detailed information.Disease features were easily extracted during identification.Daubechies8 discrete wavelet transform(Db8 DWT)was utilized to capture the texture and color details of different disease regions from the frequency domain.Large-scale low-frequency sub-bands were denoised using global thresholding.While the high-frequency sub-bands were processed using local thresholding,in order to retain the image details and edge information.Denoised low-frequency and high-frequency components were reconstructed using inverse discrete wavelet transform.A crop disease identification model(FSF-DCT)was also designed using frequency-spatial feature fusion and dynamic cross-self-attention,in order to identify the crop leaf disease with the complex backgrounds.MobileNetV3 was taken as the FSF-DCT backbone,including the frequency-spatial features mapping and fusion.A frequency-spatial domain feature mapping(DWT-Bneck)branch and Inverse Residual Structure(Bneck)were proposed to capture the multi-scale features from both frequency-spatial domains.In the frequency-domain feature mapping,a frequency decomposition module(DWFD)with 2D DWT and Bottleneck modules were utilized to capture the disease image and texture features.A better performance was achieved to enhance the spatial-domain information expressing global features.According to the Bneck structure and CBAM(Bneck-CBAM),the spatial domain branch enhanced the FSF-DCT's capacity for the feature representation in both channel and spatial dimensions.Long-range dependencies were then captured in spatial directions.Thus,the comprehensive spatial feature mapping was realized for the more precise positions of disease features.Dynamic Shift Max activation function was embedded in the Bneck-CBAM to replace the ReLU6 activation function.The FSF-DCT's nonlinearity was further improved to learn the disease features.Finally,a Dynamic Cross Self-Attention Feature Fusion Network(MDCS-DF)was designed to fuse the multi-scale frequency-spatial domain features.A series of horizontal and vertical convolutions were used to align the frequency-spatial domain features into a uniform scale.Dynamic cross-self-attention was assigned in the varying weights of disease features using their attributes,thus efficiently fusing multi-scale frequency-spatial features.Disease regions were focused on reducing the complex background during identification.The denoising experiments showed that the Ad-BayesShrink outperformed VisuShrink and SUREShrink with a higher PNSR(32.26),SSIM(0.98),and a lower MSE(125.80).Image noise was effectively removed to preserve many details of texture and edges.A higher PNSR(31.39)was also achieved in the disease image from the low light in practical application.Experiments on the self-built dataset showed that FSF-DCT was achieved with an identification accuracy of 99.20%and a precision of 98.89%,outperforming most classical models.Therefore,the FSF-DCT can be expected to accurately identify crop leaf diseases under complex backgrounds in natural environments.Meanwhile,the FSF-DCT's interference time was only 6ms suitable for the deployment on the resource-constrained devices.Generalizability experiments further showed that the FSF-DCT was achieved in the highest accuracies on the PlantVillage(99.90%)and AI Challenger 2018(90.75%)datasets,compared with three mainstream models(MobileNetV3,Swin Transformer,and Vision Transformer).Its precision(99.88%and 90.77%),recall(99.85%and 90.79%),and F1-score(99.81%and 90.88%)were optimal over the similarly sized models.The FSF-DCT improved the accuracy by over 3.28 percentage points,compared with the original MobileNetV3.The accuracy was improved by at least 4 percentage points with fewer FLOPs and parameters,compared with the Swin Transformer and Vision Transformer.The open-source datasets also confirmed that the strong generalizability of FSF-DCT was achieved to identify the multiple crop diseases with complex feature distributions.The AFSF-DCT can be expected to reduce the image noise,and then accurately and rapidly identify the crop leaf disease in complex backgrounds.

关键词

作物/病害识别/复杂背景/小波变换/倒残差模块/动态交叉自注意机制/BayesShrink去噪

Key words

crop/disease identification/complex background/discrete wavelet transform/inverse residual module/dynamic cross-self attention mechanism/BayesShrink denoising

分类

信息技术与安全科学

引用本文复制引用

向玉云,陈思远,高爽,李书琴..基于自适应BayesShrink和频-空特征融合的作物病害识别方法[J].农业工程学报,2025,41(6):204-215,12.

基金项目

国家重点研发计划子课题(2022YFD1300201) (2022YFD1300201)

农业工程学报

OA北大核心

1002-6819

访问量5
|
下载量0
段落导航相关论文