TreeFormer: a Semi-Supervised Transformer-based Framework for Tree Counting from a Single High Resolution Image
Not on the map. Why?
Abstract (arXiv)
Automatic tree density estimation and counting using single aerial and satellite images is a challenging task in photogrammetry and remote sensing, yet has an important role in forest management. In this paper, we propose the first semisupervised transformer-based framework for tree counting which reduces the expensive tree annotations for remote sensing images. Our method, termed as TreeFormer, first develops a pyramid tree representation module based on transformer blocks to extract multi-scale features during the encoding stage. Contextual attention-based feature fusion and tree density regressor modules are further designed to utilize the robust features from the encoder to estimate tree density maps in the decoder. Moreover, we propose a pyramid learning strategy that includes local tree density consistency and local tree count ranking losses to utilize unlabeled images into the training process. Finally, the tree counter token is introduced to regulate the network by computing the global tree counts for both labeled and unlabeled images. Our model was evaluated on two benchmark tree counting datasets, Jiangsu, and Yosemite, as well as a new dataset, KCL-London, created by ourselves. Our TreeFormer outperforms the state of the art semi-supervised methods under the same setting and exceeds the fully-supervised methods using the same number of labeled images. The codes and datasets are available at https://github.com/HAAClassic/TreeFormer.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 33 of its 84 references that are in the map. First posted on arXiv 12 Jul 2023.
Builds on
33 of 84 references.
References · 33
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2017Squeeze-and-Excitation Networkscited by 4,763
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2021Swin-Unet: Unet-like Pure Transformer for Medical Image Segmentationcited by 1,218
- 2020Semi-Supervised Semantic Segmentation with Cross-Consistency Trainingcited by 375
- 2018CSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenescited by 267
- 2019Interpolation Consistency Training for Semi-Supervised Learningcited by 248
- 2014Efficient Object Localization Using Convolutional Networkscited by 226
- 2020NWPU-Crowd: A Large-Scale Benchmark for Crowd Counting and Localizationcited by 151
- 2020Distribution Matching for Crowd Countingcited by 143
- 2015End-to-end people detection in crowded scenescited by 140
- 2019Locate, Size and Count: Accurately Resolving People in Dense Crowds via Detectioncited by 73
21 more
- 2021TransCrowd: weakly-supervised crowd counting with transformerscited by 61
- 2018Leveraging Unlabeled Data for Crowd Counting by Learning to Rankcited by 57
- 2016CrowdNet: A Deep Convolutional Network for Dense Crowd Countingcited by 52
- 2019Exploiting Unlabeled Data in CNNs by Self-supervised Learning to Rankcited by 52
- 2019Recent Advances in Deep Learning for Object Detectioncited by 50
- 2021Spatial Uncertainty-Aware Semi-Supervised Crowd Countingcited by 38
- 2020Semi-Supervised Crowd Counting via Self-Training on Surrogate Taskscited by 35
- 2016Counting Everyday Objects in Everyday Scenescited by 34
- 2019Counting with Focus for Freecited by 33
- 2019PCC Net: Perspective Crowd Counting via Spatial Convolutional Networkcited by 33
- 2020Towards Using Count-level Weak Supervision for Crowd Countingcited by 33
- 2019HA-CCN: Hierarchical Attention-based Crowd Counting Networkcited by 32
- 2020Learning to Count in the Crowd from Limited Labeled Datacited by 27
- 2020Active Crowd Counting with Limited Supervisioncited by 20
- 2022Redesigning Multi-Scale Neural Network for Crowd Countingcited by 17
- 2022FusionCount: Efficient Crowd Counting via Multiscale Feature Fusioncited by 13
- 2020Cross-regional oil palm tree counting and detection via multi-level attention domain adaptation networkcited by 6
- 2022Deep Rank-Consistent Pyramid Model for Enhanced Crowd Countingcited by 5
- 2020Deep-Learning-based Automated Palm Tree Counting and Geolocation in Large Farms from Aerial Geotagged Imagescited by 4
- 2021Hybrid attention network based on progressive embedding scale-context for crowd countingcited by 3
- 2022Multi-scale Feature Aggregation for Crowd Countingcited by 1
Built on by
Citing papers per year: 2023: 2; 2024: 2; 2025: 1; 2026: 1.
6 papers.
- 2023OpenForest: A data catalogue for machine learning in forest monitoringcited by 15
- 2024OAM-TCD: A globally diverse dataset of high-resolution tree cover mapscited by 14
- 2023A Comprehensive Review on Tree Detection Methods Using Point Cloud and Aerial Imagery from Unmanned Aerial Vehiclescited by 1
- 2024AdaTreeFormer: Few Shot Domain Adaptation for Tree Counting from a Single High-Resolution Imagecited by 1
- 2025WHU-STree: A Multi-modal Benchmark Dataset for Street Tree Inventorycited by 1
- 2026Counting Trees from Satellite Imagery with Noisy Supervisioncited by 0
- 2026Counting Trees from Satellite Imagery with Noisy Supervision23 Jun 2026
- 2025WHU-STree: A Multi-modal Benchmark Dataset for Street Tree Inventory16 Sep 2025
- 2024OAM-TCD: A globally diverse dataset of high-resolution tree cover maps16 Jul 2024
- 2024AdaTreeFormer: Few Shot Domain Adaptation for Tree Counting from a Single High-Resolution Image5 Feb 2024
- 2023OpenForest: A data catalogue for machine learning in forest monitoring1 Nov 2023
- 2023A Comprehensive Review on Tree Detection Methods Using Point Cloud and Aerial Imagery from Unmanned Aerial Vehicles28 Sep 2023