🤖 AI Summary
In wheat pest and disease imagery, pest-infested regions occupy an extremely low pixel ratio, causing severe class imbalance in semantic segmentation and leading models to overfit dominant classes while neglecting rare pest regions. To address this, we propose a rare-class-oriented data augmentation method: it involves cropping rare-class samples, applying random geometric transformations, non-overlapping pasting, and integrating random projection filtering to achieve natural blending of lesion regions and enhance local feature consistency. Unlike conventional copy-paste approaches, our method eliminates artifacts and overlapping artifacts. Experimental results show that it significantly improves segmentation accuracy for pest regions—achieving up to a 12.6% gain in mean Intersection-over-Union (mIoU)—while maintaining or slightly improving performance on other classes. Extensive evaluation demonstrates the method’s effectiveness and generalizability in fine-grained agricultural disease segmentation tasks.
📝 Abstract
Accurate segmentation of foliar diseases and insect damage in wheat is crucial for effective crop management and disease control. However, the insect damage typically occupies only a tiny fraction of annotated pixels. This extreme pixel-level imbalance poses a significant challenge to the segmentation performance, which can result in overfitting to common classes and insufficient learning of rare classes, thereby impairing overall performance. In this paper, we propose a Random Projected Copy-and-Paste (RPCP) augmentation technique to address the pixel imbalance problem. Specifically, we extract rare insect-damage patches from annotated training images and apply random geometric transformations to simulate variations. The transformed patches are then pasted in appropriate regions while avoiding overlaps with lesions or existing damaged regions. In addition, we apply a random projection filter to the pasted regions, refining local features and ensuring a natural blend with the new background. Experiments show that our method substantially improves segmentation performance on the insect damage class, while maintaining or even slightly enhancing accuracy on other categories. Our results highlight the effectiveness of targeted augmentation in mitigating extreme pixel imbalance, offering a straightforward yet effective solution for agricultural segmentation problems.