# NOT RUN {
LASfile <- system.file("extdata", "MixedConifer.laz", package="lidR")
las = readLAS(LASfile)
# Full manual tree detection
ttops = tree_detection(las, manual())
# Automatic detection with manual correction
ttops = tree_detection(las, lmf(5))
ttops = tree_detection(las, manual(ttops))
# }
Run the code above in your browser using DataLab