Find potential tree positions using a canopy height model by using an iterative watershed algorithm. Basically returns a vector data sets with the tree crown geometries and a bunch of corresponding indices.
treepos_GWS(
chm = NULL,
minTreeAlt = 10,
minTreeAltParam = "chmQ20",
minCrownArea = 3,
maxCrownArea = 150,
join = 1,
thresh = 0.1,
split = TRUE,
cores = parallel::detectCores(),
giLinks = NULL
)
raster* canopy height model
numeric. minimum height of trees to be integrated in the analysis
character. code for the percentile that is used as tree height treshold. It is build using the key letters chmQ
and adding the percentile i.e. "10". Default is chmQ20
numeric. minimum area in square meter (if you use projected data) of the projected tree crowns
numeric. maximum area in square meter (if you use projected data) of the projected tree crowns
numeric. Join Segments based on Threshold Value, 0=no join, 1=treepos_GWS2saddle diff, 2=treepos_GWS2treepos diff. see also SAGA GIS Help
numeric. Specify a threshold value as minimum difference between neighboured segments in meter. see also SAGA GIS Help
split polygons default is TRUE
number of cores to be used
list. of GI tools cli paths
raster* object
return raster* object