← Papers

Unverified paper record

PlantSAM: An object detection-driven segmentation pipeline for herbarium specimens.

Applications in plant sciences · 1 Nov 2025 · 10.1002/aps3.70034

Abstract

Premise Deep learning-based classification of herbarium images is hampered by background heterogeneity, which introduces noise and artifacts that can potentially mislead models and degrade their accuracy. Addressing these effects is essential to enhance overall performance. Methods We introduce PlantSAM, an automated segmentation pipeline that integrates YOLOv10 for plant region detection and the Segment Anything Model (SAM2) for segmentation. YOLOv10 generates bounding box prompts to guide SAM2, enhancing segmentation accuracy. Both models were fine-tuned on herbarium images and evaluated using intersection over union (IoU) and Sørensen-Dice coefficient metrics. Results PlantSAM achieved state-of-the-art segmentation performance, with an IoU of 0.94 and a Sørensen-Dice coefficient of 0.97. Incorporating segmented images into classification models led to consistent performance improvements across five tested botanical traits, with accuracy gains of up to 4.36% and F1 score improvements of 4.15%. Conclusions Our findings highlight the importance of background removal in herbarium image analysis, as it significantly enhances classification performance by enabling models to focus more effectively on the foreground plant structures.

Plant phenotyping relevance

植物画像から背景を除去して植物領域を抽出するセグメンテーション手法の開発・評価が中心であり、植物形質分類への有用性も検証している。

abstractWe introduce PlantSAM, an automated segmentation pipeline that integrates YOLOv10 for plant region detection and the Segment Anything Model (SAM2) for segmentation.
abstractBoth models were fine-tuned on herbarium images and evaluated using intersection over union (IoU) and Sørensen-Dice coefficient metrics.
abstractIncorporating segmented images into classification models led to consistent performance improvements across five tested botanical traits

Code and data availability

The paper's data availability statement provides public GitHub repositories with segmentation source code, examples, and trained models, plus figshare DOIs for the segmentation dataset, the YOLOv10 plant region detection dataset, and the SAM fine-tuning/out-of-distribution dataset — all paper-specific and directly used

Codepublic

The source code for segmentation, including examples and trained models, is available at: https://github.com/IA-E-Col/PlantSAM

Open resource ↗IA-E-Col/PlantSAM · lines:570-695
Codepublic

The source code of the segmentation application is available at: https://github.com/IA-E-Col/plantsam-app

Open resource ↗IA-E-Col/plantsam-app · lines:570-695
Datasetpublic

the segmentation dataset used to train the UNet model is available at https://doi.org/10.6084/m9.figshare.27685914

Open resource ↗10.6084/m9.figshare.27685914 · lines:570-695
Datasetpublic

the object detection dataset used to train YOLOv10 for plant region detection is available at https://doi.org/10.6084/m9.figshare.29528882

Open resource ↗10.6084/m9.figshare.29528882 · lines:570-695
Datasetpublic

the dataset used to fine‐tune SAM (a subset of the segmentation images from Sklab et al. [ 2024b ]) and the out‐of‐distribution dataset, used for evaluating segmentation robustness under challenging conditions, are available at https://doi.org/10.6084/m9.figshare.29538065

Open resource ↗10.6084/m9.figshare.29538065 · lines:570-695

This is an automatically classified, unverified record. Curator approval is required before any resource enters the Catalog.