Description Usage Arguments LAS@data Special Fields Adapted Hough Transform Tree Selection References Examples
This function is meant to be used inside treeMap
. It applies an adapted version of the Hough Transform for circle search. Mode details are given in the sections below.
1 2 3 4 5 6 7 8 9 | map.hough(
min_h = 1,
max_h = 3,
h_step = 0.5,
pixel_size = 0.025,
max_d = 0.5,
min_density = 0.1,
min_votes = 3
)
|
min_h, max_h |
|
h_step |
|
pixel_size |
|
max_d |
|
min_density |
|
min_votes |
|
LAS@data
Special FieldsEach point in the LAS
object output represents a pixel center that is
possibly also a stem cross-section center.
The variables describing each point in the output are:
Intensity
: number of votes received by that point
PointSourceID
: unique stem segment ID (among all trees)
Keypoint_flag
: if TRUE
, the point is the most likely circle center
of its stem segment (PointSourceID
)
Radii
: approximate radius estimated by that point - always a multiple of the pixel_size
TreeID
: unique tree ID of the point
TreePosition
: if TRUE
, the point represents the tree's position coordinate
The Hough Transform circle search algorithm used in TreeLS applies a constrained circle search on discretized point cloud layers. Tree-wise, the circle search is recursive, in which the search for circle parameters of a stem section is constrained to the feature space of the stem section underneath it. Initial estimates of the stem's feature space are performed on a baselise stem segment - i.e. a low height interval where a tree's bole is expected to be clearly visible in the point cloud. The algorithm is described in detail by Conto et al. (2017).
This adapted version of the algorithm is very robust against outliers, but not against forked or leaning stems.
An initial tree filter is used to select probable trees in the input point
cloud. Parallel stacked layers, each one as thick as hstep
, undergo the
circle search within the hmin
/hmax
limits. On every layer, pixels
above the min_votes
criterion are clustered, forming
probability zones. Probability zones vertically aligned
on at least 3/4 of the stacked layers are assigned as tree occurrence regions
and exported in the output map.
Conto, T. et al., 2017. Performance of stem denoising and stem modelling algorithms on single tree point clouds from terrestrial laser scanning. Computers and Electronics in Agriculture, v. 143, p. 165-176.
1 2 3 4 5 6 7 8 9 10 11 | file = system.file("extdata", "pine_plot.laz", package="TreeLS")
tls = readTLS(file) %>%
tlsNormalize %>%
tlsSample
x = plot(tls)
map = treeMap(tls, map.hough(h_step = 1, max_h = 4))
add_treeMap(x, map, color='red')
xymap = treeMap.positions(map)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.