Calculates the branch angle ratio from a TreeQSM.
Arguments
- branch
Branch field of a TreeQSM that is returned by
read_tree_qsm
.
Details
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).
References
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.
Examples
if (FALSE) {
# 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)
}