[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"topic-SAM":3},{"name":4,"kind":5,"tokens":6,"total":7,"page":7,"page_size":8,"items":9},"SAM","tag",[4],1,100,[10],{"id":11,"title":12,"url":13,"summary":14,"summary_zh":15,"content":16,"source_name":17,"source_url":15,"published_at":18,"category":19,"cover_url":15,"hotness":20,"is_selected":21,"score":22,"score_detail":23,"sources":30,"tags":32,"primary_topic":15,"secondary_topics":36,"classification":37,"search_phrases":50,"slug":53,"view_count":54,"doi":15,"paper":15,"created_at":55},464,"Comparative Analysis of Automatic Mask Generation Methods for Agricultural Seed Instance Segmentation","https:\u002F\u002Fwww.nature.com\u002Farticles\u002Fs41598-026-66297-4","本文针对农业图像分析中像素级标注耗时费力的问题,比较了5种无需领域定制的自动掩码生成方法用于豌豆种子实例分割:Cellpose、EfficientSAM、SAM2、StarDist、FastSAM。研究使用164张图像数据集(100张手工标注含33462个实例,64张空白用于下游训练),固定测试集20张含6849个实例。结果显示,Cellpose在重叠豌豆尺寸颗粒上整体表现最佳(F1:0.957,Recall:0.973);EfficientSAM精度最高(mean IoU:0.970);SAM2召回高(0.965)但精度低(0.815);StarDist因形状约束在重叠颗粒上表现较差;FastSAM漏检密集簇中的颗粒。基于Cellpose自动标注的144张图像训练YOLO11m-seg模型与80张手工标注训练的模型性能接近(mAP50:0.848 vs 0.860),证明自动标注是密集农业影像中人工标注的实用替代品。",null,"*   Article\n*   [Open access](https:\u002F\u002Fwww.springernature.com\u002Fgp\u002Fopen-science\u002Fabout\u002Fthe-fundamentals-of-open-access-and-open-research)\n*   Published: 08 August 2026\n\n*   [Yavuz Unal](https:\u002F\u002Fwww.nature.com\u002Farticles\u002Fs41598-026-66297-4#auth-Yavuz-Unal-Aff1)[1](https:\u002F\u002Fwww.nature.com\u002Farticles\u002Fs41598-026-66297-4#Aff1)&\n*   [Yonis Gulzar](https:\u002F\u002Fwww.nature.com\u002Farticles\u002Fs41598-026-66297-4#auth-Yonis-Gulzar-Aff2)[ORCID: orcid.org\u002F0000-0002-6515-1569](https:\u002F\u002Forcid.org\u002F0000-0002-6515-1569)[2](https:\u002F\u002Fwww.nature.com\u002Farticles\u002Fs41598-026-66297-4#Aff2)\n\n[_Scientific Reports_](https:\u002F\u002Fwww.nature.com\u002Fsrep) (2026) [Cite this article](https:\u002F\u002Fwww.nature.com\u002Farticles\u002Fs41598-026-66297-4#citeas)\n\nWe are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.\n\n## Abstract\n\nIn agricultural image analysis, training deep learning models relies on large amounts of pixel-level labeled data. However, individually labeling densely stacked and overlapping objects, such as pea seeds, is both time-consuming and laborious. This study compares five automated mask-generation methods for instance segmentation of pea seeds (Pisum sativum) that do not require domain-specific customization: Cellpose, EfficientSAM, SAM2, StarDist, and FastSAM. A dataset of 164 images was used in the study. 100 of these images were manually annotated by a trained annotator using the LabelMe tool, containing a total of 33,462 instance labels. The remaining 64 images were left unlabeled and evaluated for automated labeling in downstream model training. All methods were evaluated on a fixed testset of 20 images containing 6,849 instances using precision, recall, F1 score, and mean IoU metrics. The results show that Cellpose, developed for biomedical cell segmentation, achieved the highest overall performance on overlapping pea-sized particles (F1: 0.957, Recall: 0.973). EfficientSAM produced the most precise pixel-level masks (mean IoU: 0.970), while SAM2 exhibited high recall (0.965) but low precision (0.815). StarDist struggled with overlapping particles due to shape constraints (mean IoU: 0.866), while FastSAM missed many particles in dense clusters, achieving high precision (0.976) but low recall (0.725). Furthermore, the YOLO11m-seg model, trained on 144 images automatically labeled with Cellpose tags, performed nearly as well as the model trained on only 80 manually labeled images (mAP50: 0.848 vs. 0.860). These findings suggest that automated labeling could be a practical alternative to manual labeling, even in challenging agricultural imagery containing overlapping objects.\n\n## Funding\n\nThis work was supported by the Deanship of Scientific Research, the Vice Presidency for Graduate Studies and Scientific Research, King Faisal University, Saudi Arabia, under the project number KFU263615.\n\n## Author information\n\n### Authors and Affiliations\n\n1.   Faculty of Engineering and Architecture, Sinop University, Sinop, Turkey\n\nYavuz Unal\n\n2.   Department of Management Information Systems, College of Business Administration, King Faisal University, Al-Ahsa, 31982, Saudi Arabia\n\nYonis Gulzar\n\nAuthors\n\n1.   Yavuz Unal\n2.   Yonis Gulzar\n\n### Corresponding authors\n\nCorrespondence to [Yavuz Unal](mailto:yunal@sinop.edu.tr) or [Yonis Gulzar](mailto:ygulzar@kfu.edu.sa).\n\n## Ethics declarations\n\n### Competing interests\n\nThe authors declare no competing interests.\n\n### Ethics statement\n\nThis study does not involve human participants or human subjects. The annotation process was performed by a trained annotator on image data of agricultural seeds. Therefore, informed consent was not required.\n\n## Additional information\n\n### Publisher’s note\n\nSpringer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.\n\n## Rights and permissions\n\n**Open Access** This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit [http:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby-nc-nd\u002F4.0\u002F](http:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby-nc-nd\u002F4.0\u002F).\n\n[Reprints and permissions](https:\u002F\u002Fs100.copyright.com\u002FAppDispatchServlet?title=Comparative%20analysis%20of%20automatic%20mask%20generation%20methods%20for%20agricultural%20seed%20instance%20segmentation&author=Yavuz%20Unal%20et%20al&contentID=10.1038%2Fs41598-026-66297-4&copyright=The%20Author%28s%29&publication=2045-2322&publicationDate=2026-08-08&publisherName=SpringerNature&orderBeanReset=true&oa=CC%20BY-NC-ND)\n\n## About this article\n\n[![Image 1: Check for updates. Verify currency and authenticity via CrossMark](blob:http:\u002F\u002Flocalhost\u002Fdf43c82f6cb6dcd2a87db38f317bf9f2)](https:\u002F\u002Fcrossmark.crossref.org\u002Fdialog\u002F?doi=10.1038\u002Fs41598-026-66297-4)\n\n### Cite this article\n\nUnal, Y., Gulzar, Y. Comparative analysis of automatic mask generation methods for agricultural seed instance segmentation. _Sci Rep_ (2026). https:\u002F\u002Fdoi.org\u002F10.1038\u002Fs41598-026-66297-4\n\n[Download citation](https:\u002F\u002Fcitation-needed.springer.com\u002Fv2\u002Freferences\u002F10.1038\u002Fs41598-026-66297-4?format=refman&flavour=citation)\n\n*   Received: 20 May 2026\n\n*   Accepted: 06 August 2026\n\n*   Published: 08 August 2026\n\n*   DOI: https:\u002F\u002Fdoi.org\u002F10.1038\u002Fs41598-026-66297-4\n\n### Keywords","Nature Scientific Reports 2026-08-08","2026-08-08T00:00:00Z","论文",10,false,68,{"impact":24,"substance":25,"depth":26,"authority":27,"freshness":28,"relevant":7,"comment":29},12,20,18,14,4,"论文比较了多种自动掩膜生成方法在农业种子实例分割中的性能，数据详实，结论具有实用价值，但时效性稍差。",[31],{"name":17,"url":13},[33,34,35,4],"实例分割","自动标注","农业图像",[],{"status":38,"locked":21,"version":39,"method":40,"evidence":41},"unclassified","2026-10-22.2","rules",{"candidates":42,"agricultural_evidence":48,"reason":49},[43],{"code":44,"score":7,"supported":21,"title":45,"abstract":46,"tags":47},"I2",[],[],[33],true,"缺少足够的主题证据",[51,52],"农业图像 实例分割 自动标注 SAM","农业图像 实例分割","农业图像实例分割自动标注SAM-464",3,"2026-08-12T23:57:24.231880Z"]