View source: R/basic_metrics_pc.R
tree_position_pc | R Documentation |
Returns the (X,Y,Z)-position of a tree point cloud based on the mean X, Y and Z value of the 100 lowest points of the tree point cloud.
tree_position_pc(pc)
pc |
The tree point cloud as a data.frame with columns X,Y,Z. Output of
|
Numeric with the X, Y, Z coordinates (location) of the tree stem.
## Not run:
# Read tree point cloud and calculate the tree position
pc_tree <- read_tree_pc(PC_path = "path/to/point_cloud.txt")
pos <- tree_position_pc(pc = pc_tree)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.