A handheld device for measuring the diameter at breast height of individual trees using laser ranging and deep-learning based image recognition

Chuangye Song, Bin Yang, Lin Zhang, Dongxiu WuPlant 2021

Abstract

The newly developed handheld device realized efficient, accurate, instant, and non-contact measurements of DBH, and the CNNs were proven to be successful in the detection of the tree trunk in our research. We believe that the newly developed device can fulfill the precision requirement in forest surveys, and that the application of this device can improve the efficiency of DBH measurements in forest surveys.

Introduction

In forestry, the "Diameter at Breast Height" (DBH)—measured at 1.3 meters above the ground—is the gold standard for estimating biomass, carbon storage, and timber volume. For decades, the primary tool has been the diameter tape: a simple but grueling method requiring two people to physically wrap a tape around every single tree in a plot. While high-tech alternatives like terrestrial LiDAR exist, they are prohibitively expensive ($50,000+), heavy, and require complex post-processing. This research introduces a "point-and-shoot" solution that is integrated, automated, and affordable, potentially replacing labor-intensive manual taping.

System Design and Hardware

The researchers developed a custom hardware-software stack built around a Raspberry Pi 3B+ controller. The device integrates a Pi Camera V2 for image capture and a VL53L1X laser rangefinder for distance measurement.

Structure of the handheld device and its application in the field.

The hardware includes a GPS module for location tagging and an LCD for a real-time Graphical User Interface (GUI). The device operates on the principles of geometrical optics: by determining the horizontal distance to the tree ($D$) via the laser and utilizing the calibrated focal length of the camera ($f_x$), the diameter ($R$) is calculated based on the number of pixels ($N$) between the detected trunk edges.

Deep Learning and Image Processing

To automate edge detection, the team implemented a lightweight Convolutional Neural Network (CNN) based on the U-Net architecture. A critical addition was the Spatial Attention Module (SAM), which directs the network to focus on the center of the image where the target tree is located, effectively filtering out complex forest backgrounds.

The model was trained and validated using a curated dataset of 200 high-resolution images across five tree species (Cerasus serrulata, Amygdalus persica, Pinus tabuliformis, Ailanthus altissima, and Fraxinus chinensis). Camera calibration using Zhang’s method was employed to correct lens distortions, ensuring millimeter-level precision.

Field Performance and Results

In controlled tests using standard cylinders, the device achieved a mean absolute relative error (aveRE) of just 1.76%. Field benchmarks conducted on 121 trees in a Beijing forest park showed a BIAS of only -1.78 mm compared to traditional manual tape measurements.

Key insights from the study include:

  • Optimal Framing: Accuracy peaks when the tree trunk occupies 50–60% of the image width. The GUI includes virtual guidelines to assist users in achieving this framing.
  • Efficiency: Weighing only 600g and offering 12 hours of battery life, the device records DBH, coordinates, and images instantly to a text file, eliminating manual data entry.
  • Cost: The prototype cost approximately $2,000, with mass production estimates as low as $500.

Conclusion

While the device demonstrates high precision, challenges remain regarding lighting sensitivity in intense sunlight and detection accuracy for trees with highly variegated or shaggy bark. Future work will focus on expanding the "Treebank" database to include more species and integrating gyroscopes to correct for device tilt during handheld operation. Despite these limitations, the device offers a significant leap forward in making forest inventory more efficient and accessible.

Summary updated

BibTeX
@inproceedings{song2021handheld,
  author = {Chuangye Song and Bin Yang and Lin Zhang and Dongxiu Wu},
  title = {{A handheld device for measuring the diameter at breast height of individual trees using laser ranging and deep-learning based image recognition}},
  booktitle = {Plant},
  year = {2021},
  doi = {10.1186/s13007-021-00748-z},
}
Figure