PodFormer: An Adaptive Transformer-Based Framework for Instance Segmentation of Mature Soybean Pods in Field Environments
Mature soybean pods exhibit high homogeneity in color and texture relative to straw and dead leaves, and instances are often densely occluded, posing significant challenges for accurate field segmentation. To address these challenges, this paper constructs a high-quality field-based mature soybean dataset and proposes an adaptive Transformer-based network, PodFormer, to improve segmentation performance under homogeneous backgrounds, dense distributions, and severe occlusions. PodFormer integrates three core innovations: (1) the Adaptive Wavelet Detail Enhancement (AWDE) module, which strengthens high-frequency boundary cues to alleviate weak-boundary ambiguities; (2) the Density-Guided Query Initialization (DGQI) module, which injects scale and density priors to enhance instance detection in both sparse and densely clustered regions; and (3) the Mask Feedback Gated Refinement (MFGR) layer, which leverages mask confidence to adaptively refine query updates, enabling more accurate separation of adhered or occluded instances. Experimental results show that PodFormer achieves relative improvements of 6.7% and 5.4% in mAP50 and mAP50-95, substantially outperforming state-of-the-art methods. It further demonstrates strong generalization capabilities on real-world field datasets and cross-domain wheat-ear datasets, thereby providing a reliable perception foundation for structural trait recognition in intelligent soybean harvesting systems.
Authors
- Lei Cai
- Xuewu Shou
Institutions
- Henan Institute of Technology (CN)
- Henan Institute of Science and Technology (CN)
Publication Details
- Journal
- Electronics
- Published
- 2025-12-24
- DOI
- https://doi.org/10.3390/electronics15010080
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00