A unified RT-DETR-Mask2Former framework for segmentation-guided plant leaf disease detection and classification in real-world agricultural environments.
C H Mohan Sai Kumar, Golthu Anusha, V Dhilip Kumar, Oana Geman, Roxana Toderean, Mihaela Hnatiuc
Department of Electronics and Communication Engineering, Vel Tech Rangarajan Dr. Sagunthala R&D Institute of Science and Technology, Chennai, India. · Department of General Medicine, Saveetha Institute of Medical and Technical Sciences, Chennai, India.
Key points
From the paper's conclusion- This study presents a unified RT-DETR–Mask2Former framework for segmentation-guided plant leaf disease detection and classification.
Abstract
Plant leaf disease image analysis under real-world field conditions remains challenging due to cluttered backgrounds, illumination variation, overlapping leaves, scale changes, and irregular lesion patterns. This study presents a unified RT-DETR-Mask2Former framework for segmentation-guided plant leaf disease detection and classification. In the proposed pipeline, RT-DETR first localizes leaf regions from complex agricultural images, after which Mask2Former generates fine-grained lesion masks within the detected regions. The refined lesion masks are used to isolate disease-affected regions, enabling EfficientNet-B4 to extract disease-focused feature representations for classification. An EMA-normalized adaptive task-weighting procedure was applied with AdamW optimization to modulate the relative gradient scales of the separately supervised modules. Model development and internal evaluation were conducted using leakage-controlled, group-aware PlantVillage (PV) partitions, whereas 4,200 field-acquired images were reserved exclusively for independent external evaluation. On the complete 38-category PV internal test, accuracy and macro-F1 were 98.34% and 97.97%. On the nine-category source-matched subset, accuracy and macro-F1 were 97.43% and 96.77%, versus 84.93% and 80.80% in the field. PV-to-field performance declined from 95.63% to 89.28% for leaf-localization AP@0.5 and from 92.47%/86.00% to 77.90%/63.80% for lesion-positive Dice/IoU. Lesion guidance improved field macro-F1 from 73.97% to 80.80%. The complete pipeline required approximately 285 GFLOPs and 63 ms per image (16 FPS), demonstrating a practical accuracy-efficiency trade-off while retaining a measurable field-domain gap.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- AF-RT-DETR: Adaptive cross-scale feature interaction for real-time plant disease detection in complex field environmentsFrontiers in Plant Science · 2026
- DHB-DeepLabV3+: Boundary-Sensitive Context Aggregation Network for Agricultural Disease SegmentationAgronomy · 2026
- MaizeFormerX: a lightweight vision transformer with cross-scale attention for explainable maize leaf disease diagnosisScientific Reports · 2026
- Multi-Scale Feature Fusion Based RT-DETR for Tomato Leaf Disease Detection in Complex BackgroundsSensors · 2025
- Leaf-DETR: Progressive adaptive network with lower matching cost for dense leaves detectionPlant Phenomics · 2026
- Multiscale CNN-state space model with feature fusion for crop disease detection from UAV imageryFrontiers in Plant Science · 2025