SAMWOOD: An automated method to measure wood cells along growth orientation
Quantitative wood anatomy requires precise measurement of wood cells. This step is often laborious and limiting for further analysis. We introduce Samwood, a tool based on the zero-shot Segment-Anything Model to easily segment cells on microscopic images without the need for a training dataset. The reconstruction of cell files then allows for the analysis of wood along growth orientation and precise measurement of anatomical properties of the wood, such as lumen areas. We tested our pipeline on an example dataset of fossil woods featuring deformation, heterogeneous preservation, and frequent artefacts, to assess the robustness of our approach. The model achieves a precision of 0.78 and a recall of 0.80, often producing segmentation of better quality and more consistent than a human operator. This approach substantially reduces analysis time, minimizes operator bias, and provides a robust and extensible framework for large-scale anatomical studies The complete code pipeline is available at https://github.com/umr-amap/samwood. GRAPHICAL ABSTRACT O_FIG O_LINKSMALLFIG WIDTH=186 HEIGHT=200 SRC="FIGDIR/small/711054v1_ufig1.gif" ALT="Figure 1"> View larger version (58K): org.highwire.dtl.DTLVardef@7be69borg.highwire.dtl.DTLVardef@6104d5org.highwire.dtl.DTLVardef@1844e9borg.highwire.dtl.DTLVardef@144d214_HPS_FORMAT_FIGEXP M_FIG C_FIG