ZS-TreeSeg: A Zero-Shot Framework for Tree Crown Instance Segmentation
Pengyu Chen, Fangzheng Lyu, Sicheng Wang, Cuizhen Wang
TL;DR
ZS-TreeSeg addresses tree crown instance segmentation in dense canopies under zero-shot constraints by combining mature canopy semantic segmentation with a flow-guided, gradient-based instance separation that models crowns as star-convex objects. The method constrains the search space with a semantic prior $M_{\text{sem}}$ and uses a gradient flow $\mathbf{V}$ to separate touching crowns without per-instance training, via an inference procedure that updates pixel positions with $p_{\tau+1}=p_{\tau}+\mathbf{V}(p_{\tau})$ until convergence to sink points. Evaluations on NEON and BAMFORESTS show competitive quantitative performance (e.g., $mAP@50$ of 42.30% and 67.31%, respectively) against some supervised baselines, and qualitative analyses demonstrate robust zero-shot generalization across scales and canopy densities. The work discusses practical considerations like data standardization and introduces a physical prior—the average crown diameter $D$—to control segmentation granularity, offering a scalable, training-free tool for forest monitoring and label generation.
Abstract
Individual tree crown segmentation is an important task in remote sensing for forest biomass estimation and ecological monitoring. However, accurate delineation in dense, overlapping canopies remains a bottleneck. While supervised deep learning methods suffer from high annotation costs and limited generalization, emerging foundation models (e.g., Segment Anything Model) often lack domain knowledge, leading to under-segmentation in dense clusters. To bridge this gap, we propose ZS-TreeSeg, a Zero-Shot framework that adapts from two mature tasks: 1) Canopy Semantic segmentation; and 2) Cells instance segmentation. By modeling tree crowns as star-convex objects within a topological flow field using Cellpose-SAM, the ZS-TreeSeg framework forces the mathematical separation of touching tree crown instances based on vector convergence. Experiments on the NEON and BAMFOREST datasets and visual inspection demonstrate that our framework generalizes robustly across diverse sensor types and canopy densities, which can offer a training-free solution for tree crown instance segmentation and labels generation.
