Zero-shot Hierarchical Plant Segmentation via Foundation Segmentation Models and Text-to-image Attention
Junhao Xing, Ryohei Miyakawa, Yang Yang, Xinpeng Liu, Risa Shinoda, Hiroaki Santo, Yosuke Toda, Fumio Okura
TL;DR
ZeroPlantSeg delivers a zero-shot solution for hierarchical segmentation of rosette-shaped plants by integrating SAM-based leaf extraction with vision-language cross-attention to identify leaf bases, followed by greedy clustering to form plant instances without labeled data. The method demonstrates strong cross-domain performance across three agricultural datasets, often outperforming other zero-shot baselines and approaching supervised baselines under domain shifts. This work provides a practical, training-free path for plant phenotyping tasks requiring both leaf- and plant-level segmentation, with clear avenues for extending to non-rosette crops. Overall, it highlights the value of combining foundation segmentation with language-augmented reasoning for structured plant analysis in real-world agricultural imagery.
Abstract
Foundation segmentation models achieve reasonable leaf instance extraction from top-view crop images without training (i.e., zero-shot). However, segmenting entire plant individuals with each consisting of multiple overlapping leaves remains challenging. This problem is referred to as a hierarchical segmentation task, typically requiring annotated training datasets, which are often species-specific and require notable human labor. To address this, we introduce ZeroPlantSeg, a zero-shot segmentation for rosette-shaped plant individuals from top-view images. We integrate a foundation segmentation model, extracting leaf instances, and a vision-language model, reasoning about plants' structures to extract plant individuals without additional training. Evaluations on datasets with multiple plant species, growth stages, and shooting environments demonstrate that our method surpasses existing zero-shot methods and achieves better cross-domain performance than supervised methods. Implementations are available at https://github.com/JunhaoXing/ZeroPlantSeg.
