stemPoints: Stem points classification

Description Usage Arguments Value Examples

Description

Classify stem points of all trees in a normalized point cloud. Stem denoising methods are prefixed by stm.

Usage

1
stemPoints(las, method = stm.hough())

Arguments

las

LAS object.

method

stem denoising algorithm. Currently available: stm.hough, stm.eigen.knn and stm.eigen.voxel.

Value

LAS object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
### single tree
file = system.file("extdata", "spruce.laz", package="TreeLS")
tls = readTLS(file) %>%
  tlsNormalize %>%
  stemPoints(stm.hough(h_base = c(.5,2)))
plot(tls, color='Stem')

### entire forest plot
file = system.file("extdata", "pine_plot.laz", package="TreeLS")
tls = readTLS(file) %>%
  tlsNormalize %>%
  tlsSample

map = treeMap(tls, map.hough())
tls = treePoints(tls, map, trp.crop(circle=FALSE))
tls = stemPoints(tls, stm.hough(pixel_size = 0.03))
tlsPlot(tls)

TreeLS documentation built on Aug. 26, 2020, 5:14 p.m.