Description Usage Arguments Value Author(s) Examples
View source: R/crown_metrics.R
Computation of tree crown metrics.
Currrently implemented: height, cbh, cpa cr_length,
cr_length_to_heigh, cr_sinuosity, cr_compactnes, cr_density, cr_gini, cr_volume, cr_area cr_displacement
1 2 3 4 5 6 7 8 9 10 11 12 |
input_cloud |
A 3D point cloud file, e.g. "tree1.xyz". Assumes first three columns to be x y z without header. Futher columns are ignored. |
slice_thickness |
Thickness of vertical slices in meter. Default 0.3 |
cbh |
Crown base height in meter. Default 0.0 |
vox |
Should the input point cloud be reduced to voxel grid for faster computation. Default to TRUE. |
voxel_size |
Size (in meters) of the voxels when vox==TRUE. Default 0.03 |
use_concave_hull |
Should slices be modelled as concave hulls instead of convex hull. Default to FALSE. |
alpha_value |
Alpha value when use_convace_hull==TRUE. Default 1.0 |
plot_hulls |
Should the CPA and slice hull be plotted. Default to FALSE. |
pos_x |
X coordinate of tree position. Default NA |
pos_y |
Y coordinate of tree position. Default NA |
A data.frame with tree parameters
Matthias Kunz, last updated: 27.04.2019
1 2 | crown_metrics("tree1.xyz", 0.25)
crown_metrics("tree1.xyz", 0.3, CBHfromQSM("tree1_qsm.txt"), 0.025)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.