FieldSeg: A Scalable Agricultural Field Extraction Framework Based on the Segment Anything Model and 10-m Sentinel-2 Imagery
ORCID
Wijewardane: https://orcid.org/0000-0001-8962-9451; Xin Zhang: https://orcid.org/0000-0001-9654-3859
MSU Affiliation
College of Agriculture and Life Sciences; Department of Agricultural and Biological Engineering; James Worth Bagley College of Engineering
Creation Date
2026-06-30
Abstract
Accurate delineation of agricultural fields from satellite imagery is crucial for digital agriculture and conservation. The Segment Anything Model (SAM), a state-of-the-art image segmentation model, brings new possibilities for this task. However, its feasibility under different agricultural contexts remains unclear, and there are open questions regarding model parametrization, image preprocessing, and integration into an operational framework. This study proposes a new SAM-assisted crop field extraction framework (FieldSeg) using 2022 Sentinel-2 temporal composites and presents the lessons learned using this foundational model in eight agricultural regions across the world. Through rigorous experiments, this study optimized FieldSeg in three stages: input data preparation, model parametrization and patch management, and final fine parametrization. This study explored different bands and temporal metrics combinations and defined a set of optimal configurations for the framework based on performance and processing time. Non-agricultural objects segmented using SAM were removed using an annual crop mask derived from Google Dynamic World. While performance was low to moderate in regions with small fields (< 5ha in China, South Africa, and Spain), FieldSeg achieved a promising performance in the study areas with medium-large fields (≥5 ha in Argentina, Australia, Brazil, USA-California, and USA-Iowa), with the rates of correctly extracted fields ranging from 0.541 to 0.814. The extracted fields showed a good segmentation quality, with mean dice coefficients ranging from 0.735 to 0.847. The large-scale applicability of FieldSeg was also demonstrated in four countries (1 million square kilometers), showing promising results and the ability to generalize across different regions.
Publication Date
2-15-2025
Publication Title
Computers and Electronics in Agriculture
Publisher
Elsevier
Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.
Rights
© 2025 The Author(s)
Recommended Citation
Ferreira, L. B., Martins, V. S., Aires, U. R. V., Wijewardane, N., Zhang, X., & Samiappan, S. (2025). FieldSeg: A scalable agricultural field extraction framework based on the Segment Anything Model and 10-m Sentinel-2 imagery. Computers and Electronics in Agriculture, 232, 110086. https://doi.org/10.1016/j.compag.2025.110086