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