# NOT RUN {
##- required packages
require(uavRst)
data(chm_seg)
##- call ForestTools treepos function
tposFT <- treepos_FT(chm = chm_seg[[1]],
minTreeAlt = 10,
maxCrownArea = 150)
##- visualize it
# mapview::mapview(tposFT)
raster::plot(tposFT)
# }
Run the code above in your browser using DataLab