Description Usage Arguments Value Author(s)
View source: R/make_CrownPolygons_function.R
The function creates crown projection area polygons from a clustered point cloud of a forest stand. The input point cloud needs to have a column containing tree ID / cluster ID of each point. There are different options for the shape of the polygons.
1 2 3 4 5 6 7 8 | make_CrownPolygons(
pc.dt,
type = "convexhull",
N.min = 20,
Ext.min = 2,
Ext.max = 50,
proj4string = CRS(as.character(NA))
)
|
pc.dt |
Point cloud in data.table format containing columns X, Y, Z and ID |
type |
Shape of the desired polygons ("convexhull", "ellipse" or "circle") |
N.min |
Minimum number of points in a cluster to be considered as a tree crown |
Ext.min |
Minimum horizontal extent (in meters, in X- and Y-direction) of a cluster to be considered as a tree crown |
Ext.max |
Maximum horizontal extent (in meters, in X- and Y-direction) of a cluster to be considered as a tree crown |
proj4string |
Projection string of class CRS-class |
SpatialPolygonsDataFrame with each feature representing the crown projection area of one tree and columns containing various geometric attributes
Nikolai Knapp, nikolai.knapp@ufz.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.