Next Article in Journal
Exploring the Potential of Salvia × accidentalis nothosubsp. albaladejitoi: A Natural Hybrid Sage with Improved Agronomic Performance and Bioactive Extractive Potential
Previous Article in Journal
Capsicum Counting Algorithm Using Infrared Imaging and YOLO11
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

EDM-UNet: An Edge-Enhanced and Attention-Guided Model for UAV-Based Weed Segmentation in Soybean Fields

1
College of Engineering, Heilongjiang Bayi Agricultural University, Daqing 163319, China
2
College of Information and Electrical Engineering, Heilongjiang Bayi Agricultural University, Daqing 163319, China
3
College of Information Engineering, Shandong Vocational and Technical University of Engineering, Jinan 250200, China
*
Author to whom correspondence should be addressed.
Agriculture 2025, 15(24), 2575; https://doi.org/10.3390/agriculture15242575
Submission received: 12 November 2025 / Revised: 8 December 2025 / Accepted: 10 December 2025 / Published: 12 December 2025
(This article belongs to the Section Artificial Intelligence and Digital Agriculture)

Abstract

Weeds will compete with soybeans for resources such as light, water and nutrients, inhibit the growth of soybeans, and reduce their yield and quality. Aiming at the problems of low efficiency, high environmental risk and insufficient weed identification accuracy in complex farmland scenarios of traditional weed management methods, this study proposes a weed segmentation method for soybean fields based on unmanned aerial vehicle remote sensing. This method enhances the channel feature selection capability by introducing a lightweight ECA module, improves the target boundary recognition by combining Canny edge detection, and designs directional consistency filtering and morphological post-processing to optimize the spatial structure of the segmentation results. The experimental results show that the EDM-UNet method achieves the best performance effect on the self-built dataset, and the MIoU, Recall and Precision on the test set reach 89.45%, 93.53% and 94.78% respectively. In terms of model inference speed, EDM-UNet also performs well, with an FPS of 40.36, which can meet the requirements of real-time detection models. Compared with the baseline network model, the MIoU, Recall and Precision of EDM-UNet increased by 6.71%, 5.67% and 3.03% respectively, and the FPS decreased by 11.25. In addition, performance evaluation experiments were conducted under different degrees of weed interference conditions. The models all showed good detection effects, verifying that the model proposed in this study can accurately segment weeds in soybean fields. This research provides an efficient solution for weed segmentation in complex farmland environments that takes into account both computational efficiency and segmentation accuracy, and has significant practical value for promoting the development of smart agricultural technology.
Keywords: soybean; weed segmentation; UAV; attention mechanism; U-Net soybean; weed segmentation; UAV; attention mechanism; U-Net

Share and Cite

MDPI and ACS Style

Gao, J.; Tan, F.; Li, X. EDM-UNet: An Edge-Enhanced and Attention-Guided Model for UAV-Based Weed Segmentation in Soybean Fields. Agriculture 2025, 15, 2575. https://doi.org/10.3390/agriculture15242575

AMA Style

Gao J, Tan F, Li X. EDM-UNet: An Edge-Enhanced and Attention-Guided Model for UAV-Based Weed Segmentation in Soybean Fields. Agriculture. 2025; 15(24):2575. https://doi.org/10.3390/agriculture15242575

Chicago/Turabian Style

Gao, Jiaxin, Feng Tan, and Xiaohui Li. 2025. "EDM-UNet: An Edge-Enhanced and Attention-Guided Model for UAV-Based Weed Segmentation in Soybean Fields" Agriculture 15, no. 24: 2575. https://doi.org/10.3390/agriculture15242575

APA Style

Gao, J., Tan, F., & Li, X. (2025). EDM-UNet: An Edge-Enhanced and Attention-Guided Model for UAV-Based Weed Segmentation in Soybean Fields. Agriculture, 15(24), 2575. https://doi.org/10.3390/agriculture15242575

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop