# NOT RUN {
LASfile <- system.file("extdata", "MixedConifer.laz", package="lidR")
las = readLAS(LASfile, select = "xyz", filter = "-drop_z_below 0")
lastrees_li2(las, speed_up = 7)
convex_hulls = tree_hulls(las)
sp::plot(convex_hulls)
bbox_hulls = tree_hulls(las, "bbox")
sp::plot(bbox_hulls)
# }
# NOT RUN {
concave_hulls = tree_hulls(las, "concave")
sp::plot(concave_hulls)
# }
Run the code above in your browser using DataLab