stemPoints: Stem points classification

stemPointsR Documentation

Stem points classification

Description

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

Usage

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

### 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)

tiagodc/TreeLS documentation built on June 29, 2023, 7:40 p.m.