manual

0th

Percentile

Individual Tree Detection Algorithm

This function is made to be used in tree_detection. It implements an algorithm for manual tree detection. Users can pinpoint the tree top positions manually and interactively using the mouse. This is only suitable for small-sized plots. First the point cloud is displayed, then the user is invited to select a rectangular region of interest in the scene using the right mouse button. Within the selected points the highest one will be flagged as 'tree top' in the scene. Once all the trees are labeled the user can exit the tool by selecting an empty region. Points can also be unflagged. The goal of this tool is mainly for minor correction of automatically-detected tree outputs.

Usage
manual(detected = NULL, radius = 0.5, color = "red", ...)
Arguments
detected

SpatialPointsDataFrame of already found tree tops that need manual corrections.

radius

numeric. Radius of the spheres displayed on the point cloud (aesthetic purpose only).

color

character. Color of the spheres displayed on the point cloud (aesthetic purpose only).

...

supplementary parameters to be passed to plot.

See Also

Other individual tree detection algorithms: lmf

Aliases
  • manual
Examples
# NOT RUN {
LASfile <- system.file("extdata", "MixedConifer.laz", package="lidR")
las = readLAS(LASfile)

# Full manual tree finding
ttops = tree_detection(las, manual())

# Automatic finding with manual correction
ttops = tree_detection(las, lmf(5))
ttops = tree_detection(las, manual(ttops))
# }
Documentation reproduced from package lidR, version 2.0.0, License: GPL-3

Community examples

Looks like there are no examples yet.