Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Version 2.4.1 Reconstruction of quantitative structure models for trees from point cloud data


QSM image


TreeQSM is a modelling method that reconstructs quantitative structure models (QSMs) for trees from point clouds. A QSM consists of a hierarchical collection of cylinders estimating topological, geometrical and volumetric details of the woody structure of the tree. The input point cloud, which is usually produced by a terrestrial laser scanner, must contain only one tree, which is intended to be modelled, but the point cloud may contain also some points from the ground and understory. Moreover, the point cloud should not contain significant amount of noise or points from leaves as these are interpreted as points from woody parts of the tree and can therefore lead to erroneous results. Much more details of the method and QSMs can be found from the manual that is part of the code distribution.

The TreeQSM is written in Matlab. The main function is treeqsm.m, which takes in a point cloud and a structure array specifying the needed parameters. Refer to the manual or the help documentation of a particular function for further details.


Web: Some published papers about the method and applications:
Raumonen et al. 2013, Remote Sensing
Calders et al. 2015, Methods in Ecology and Evolution
Raumonen et al. 2015, ISPRS Annals
Åkerblom et al. 2015, Remote Sensing
Åkerblom et al. 2017, Remote Sensing of Environment
de Tanago Menaca et al. 2017, Methods in Ecology and Evolution
Åkerblom et al. 2018, Interface Focus
Disney et al. 2018, Interface Focus

Quick guide

Here is a quick guide for testing the code and starting its use. However, it is highly recommended that after the testing the user reads the manual for more information how to best use the code.

  1. Start MATLAB and set the main path to the root folder, where treeqsm.m is located.\
  2. Use Set Path --> Add with Subfolders --> Open --> Save --> Close to add the subfolders, where all the codes of the software are, to the paths of MATLAB.\
  3. Import a point cloud of a tree into the workspace. Let us name it P.\
  4. Define suitable inputs:
        >> inputs = define_input(P,1,1,1);\
  5. Reconstruct QSMs:
        >> QSM = treeqsm(P,inputs);


Quantitative Structure Models of Single Trees from Laser Scanner Data







No packages published