# NOT RUN {
require(uavRst)
## required packages
require(uavRst)
data(chm_seg)
## find trees
tPoslidR <- treepos_lidR(chm = chm_seg[[1]],
movingWin = 3,
minTreeAlt = 15)
## visualisation
# mapview::mapview(tPoslidR)
raster::plot(tPoslidR)
# }
Run the code above in your browser using DataLab