Description Usage Arguments Examples
Plot the outputs of TreeLS methods on the same scene using rgl
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | tlsPlot(..., fast = FALSE, tree_id = NULL, segment = NULL)
add_segmentIDs(x, las, ...)
add_treeIDs(x, las, ...)
add_treeMap(x, las, ...)
add_treePoints(x, las, color_func = pastel.colors, ...)
add_stemPoints(x, las, ...)
add_stemSegments(x, stems_data_table, color = "white", fast = FALSE)
add_tlsInventory(x, inventory_data_table, color = "white", fast = FALSE)
|
... |
in |
fast |
|
tree_id |
|
segment |
|
x |
output from |
las |
|
color_func |
color palette function used in |
stems_data_table, inventory_data_table |
|
color |
color of 3D objects. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | file = system.file("extdata", "pine.laz", package="TreeLS")
tls = readTLS(file) %>%
tlsNormalize %>%
stemPoints(stm.hough())
dmt = shapeFit(shape = 'circle', algorithm='ransac', n=20)
inv = tlsInventory(tls, d_method = dmt)
### quick plot
tlsPlot(tls, inv)
### customizable plots
x = plot(tls)
add_stemPoints(x, tls, color='red', size=3)
add_tlsInventory(x, inv, color='yellow')
add_segmentIDs(x, tls, color='white', cex=2, pos=4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.