View source: R/metrics_Terryn_2020.R
branch_angle_ratio_qsm | R Documentation |
Calculates the branch angle ratio from a TreeQSM.
branch_angle_ratio_qsm(branch)
branch |
Branch field of a TreeQSM that is returned by
|
The branch angle ratio is defined as "Ratio of the medians of the branching angles of the 1st order branches and 2nd order branches" (Terryn et al., 2020).
The branch angle ratio. NaN when there are no branches.
Terryn, L., Calders, K., Disney, M., Origo, N., Malhi, Y., Newnham, G., ... & Verbeeck, H. (2020). Tree species classification using structural features derived from terrestrial laser scanning. ISPRS Journal of Photogrammetry and Remote Sensing, 168, 170-181.
## Not run:
# Read tree qsm and calculate the branch angle ratio
qsm <- read_tree_qsm(QSM_path = "path/to/qsm.mat")
br <- branch_angle_ratio_qsm(branch = qsm$branch)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.