cs.CVOct 29, 2025

Mapping and Classification of Trees Outside Forests using Deep Learning

Authors: Moritz Lucas, Hamid Ebrahimy, Viacheslav Barkov, Ralf Pecenka, Kai-Uwe Kühnberger, Björn Waske

Organizations: Osnabrück University, Institute for Computer Science, Remote Sensing Osnabrück, Germany · Leibniz Institute for Agricultural Engineering and Bioeconomy, System Process Engineering, Germany · Osnabrück University, Institute of Cognitive Science, Artificial Intelligence, Germany · Osnabrück University, Joint Lab Artificial Intelligence and Data Science, Germany

Abstract

Trees Outside Forests (TOF) play an important role in agricultural landscapes by supporting biodiversity, sequestering carbon, and regulating microclimates. Yet, most studies have treated TOF as a single class or relied on rigid rule-based thresholds, limiting ecological interpretation and adaptability across regions. To address this, we evaluate deep learning for TOF classification using a newly generated dataset and high-resolution aerial imagery from four agricultural landscapes in Germany. Specifically, we compare convolutional neural networks (CNNs), vision transformers, and hybrid CNN-transformer models across six semantic segmentation architectures (ABCNet, LSKNet, FT-UNetFormer, DC-Swin, BANet, and U-Net) to map four categories of woody vegetation: Forest, Patch, Linear, and Tree, derived from previous studies and governmental products. Overall, the models achieved good classification accuracy across the four landscapes, with the FT-UNetFormer performing best (mean Intersection-over-Union 0.74; mean F1 score 0.84), underscoring the importance of spatial context understanding in TOF mapping and classification. Our results show good results for Forest and Linear class and reveal challenges particularly in classifying complex structures with high edge density, notably the Patch and Tree class. Our generalization experiments highlight the need for regionally diverse training data to ensure reliable large-scale mapping. The dataset and code are openly available at https://github.com/Moerizzy/TOFMapper

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. SilvaScenes: Tree Detection and Species Classification from Under-Canopy Images in Natural Forests

    Oct 10, 2025David-Alexandre Duclos, William Guimont-Martin, Gabriel Jeanson +7ForestsSpecies Identification

  2. Label-Efficient 3D Forest Mapping: Self-Supervised and Transfer Learning for Instance Segmentation, Semantic Segmentation, and Species Classification

    Nov 9, 2025Aldino Rizaldy, Fabian Ewald Fassnacht, Ahmed Jamal Afifi +3ForestsPoint Clouds

  3. SegmentAnyTreeV2: Scaling Transformer-Based Tree Instance Segmentation Across Sensors, Platforms, and Forests

    Jun 6, 2026Maciej Wielgosz, Stefano Puliti, Rasmus AstrupForestsVoxel