| 摘 要: 针对小麦叶片病害检测中目标尺度变化大、边缘模糊、纹理复杂以及传统方法在复杂田间环境下检测精度不高的问题,提出一种基于改进RT-DETR(Real-Time DEtection TRansformer)的小麦叶片病害目标检测算法。在 RT-DETR基础上提出4项关键改进:采用960×960尺寸大尺度图像进行初始训练以扩大模型感受野,增强对复杂场景中空间层次与纹理细节的表征能力,然后以大尺度训练模型作为预训练权重进行参数微调;在传统 P3~P5特征金字塔基础上引入P6层,通过更大感受野获得超大尺度语义信息,增强对大尺度病害目标整体结构的表征能力;使用 Haar Wavelet Downsampling频域下采样模块,采用离散小波变换替代传统下采样,将特征分解为低频结构分量和多方向高频细节分量,保留边缘与纹理信息;采用 ChannelTransformer_PLUS融合机制,通过跨尺度通道耦合实现全局建模,增强多尺度特征的一致性表达。实验结果表明,与原模型相比,改进后的模型 mAP@0.5提高了2.8个百分点,mAP@0.5∶0.95提高了2.7个百分点,精确率提高了4.4个百分点,在复杂田间环境下表现出更强的鲁棒性。所提算法通过分阶段训练、P6层扩展、频域下采样和跨尺度注意力融合的协同优化,有效解决了大尺度病害目标检测中的关键技术难题,为智慧农业中的作物病害精准识别提供了高效可靠的技术方案。 |
| 关键词: 小麦病害检测 RT-DETR 目标检测 跨尺度融合 智慧农业 |
|
中图分类号:
文献标识码:
|
|
| Improved RT-DETR-Based Object Detection Algorithm for Wheat Leaf Diseases |
|
WANG Li, WANG Jun
|
(College of Information Science and Technology, Gansu Agricultural University, Lanzhou 730070, China)
19039623807@163.com; julianwong82@163.com
|
| Abstract: Aiming at the problems of large scale variation, blurred edges, complex textures, and low detection accuracy of traditional methods in complex field environments in wheat leaf disease detection, an object detection algorithm for wheat leaf diseases based on improved RT-DETR is proposed. This paper introduces four key improvements upon RT-DETR: large-scale images of size 960 ×960 are used for initial training to expand the model's receptive field, enhancing its ability to represent spatial hierarchies and texture details in complex scenes; the large-scale trained model is then used as pre-training weights for parameter fine-tuning. A P6 layer is introduced on top of the conventional P3~P5 feature pyramid to capture very large-scale semantic information through a larger receptive field, strengthening the representation of the overall structure of large disease targets. A Haar Wavelet Downsampling frequency-domain downsampling module is adopted, employing discrete wavelet transform instead of traditional downsampling to decompose features into low-frequency structural components and multi-directional high-frequency detail components, thereby preserving edge and texture information. A ChannelTransformer_PLUS fusion mechanism is used to achieve global modeling through cross-scale channel coupling, enhancing the consistency of multi-scale feature representation. Experimental results show that, compared with the original model, the improved model achieves increases of 2.8 percentage points in mAP@0.5, 2.7 percentage points in mAP@0.5∶0.95, and 4.4 percentage points in precision, demonstrating stronger robustness in complex field environments. Through the synergistic optimization of staged training, P6 layer expansion, frequency-domain downsampling, and cross-scale attention fusion, the proposed algorithm effectively addresses key technical challenges in the detection of large-scale disease targets, providing an efficient and reliable technical solution for precise crop disease identification in smart agriculture. |
| Keywords: wheat disease detection RT-DETR object detection cross-scale fusion smart agriculture |