tlsNormalize: Normalize a TLS point cloud

Description Usage Arguments Value Examples

View source: R/methods.R

Description

Fast normalization of TLS point clouds based on a Digital Terrain Model (DTM) of the ground points. If the input's ground points are not yet classified, the csf algorithm is applied internally.

Usage

1
tlsNormalize(las, min_res = 0.25, keep_ground = TRUE)

Arguments

las

LAS object.

min_res

numeric - minimum resolution of the DTM used for normalization, in point cloud units.

keep_ground

logical - if FALSE removes the ground points from the output.

Value

LAS object.

Examples

1
2
3
4
5
6
7
8
file = system.file("extdata", "pine_plot.laz", package="TreeLS")
tls = readTLS(file)
plot(tls)
rgl::axes3d(col='white')

tls = tlsNormalize(tls, 0.5, FALSE)
plot(tls)
rgl::axes3d(col='white')

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