tree_position_qsm: TreeQSM position

View source: R/basic_metrics_qsm.R

tree_position_qsmR Documentation

TreeQSM position

Description

Returns the (X,Y)-position of a treeQSM based on the start position of the first cylinder that is higher than 1.3 m above ground.

Usage

tree_position_qsm(cylinder)

Arguments

cylinder

Cylinder field of a TreeQSM that is returned by read_tree_qsm.

Value

Numeric with the XY coordinates (location) of the tree stem.

Examples

## Not run: 
# Read tree qsm and calculate tree position
qsm <- read_tree_qsm(QSM_path = "path/to/qsm.mat")
pos <- tree_position_qsm(cylinder = qsm$cylinder)

## End(Not run)

lmterryn/ITSMe documentation built on Feb. 4, 2025, 2:21 a.m.