lmfauto | R Documentation |
This function is made to be used in find_trees. It implements a fast and parameter-free algorithm for individual tree detection for broad coverage. It is based on two local maximum filters (LMF). The first pass performs a very rough estimation of the number of trees with a fixed window size. Based on this rough estimate it automatically computes a variable windows size LMF with workable parameters. This algorithm is made to process wide areas rather than small plots. See references for more details.
lmfauto(plot = FALSE, hmin = 2)
plot |
logical set it to |
hmin |
numeric. Minimum height of a tree. Threshold below which a point cannot be a local maxima. Default is 2. |
Jean-Romain Roussel, Francesco Pirotti, Luiz Carlos Estraviz Rodriguez, Jean-François Bourdon, Antoine Lebœuf, Marc-Olivier Lemonde, Alexis Achim. Development of an auto-adaptive individual tree detection algorithm for airborne LiDAR data (in prep.)
Other individual tree detection algorithms:
LayerStacking()
,
multichm()
,
ptrees()
LASfile <- system.file("extdata", "MixedConifer.laz", package="lidR") las <- readLAS(LASfile) ttops <- find_trees(las, lmfauto()) x = plot(las) add_treetops3d(x, ttops)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.