| chmseg_RL | R Documentation | 
'rLiDAR' segmentation of individual tree crowns based on a canopy height model and initial seeding points (trees). Generic segmentation algorithm
Carlos A. Silva et all.: R package rLiDAR
chmseg_RL(treepos = NULL, chm = NULL, maxCrownArea = 100, exclusion = 0.2)
| treepos | numeric.  | 
| chm | raster*. Canopy height model in  | 
| maxCrownArea | numeric. A single value of the minimum projected tree crown area allowed. Default is 100 sqm
height of  | 
| exclusion | numeric. A single value from 0 to 1 that represents the percent of pixel exclusion. | 
sp* object
## Not run: 
## required packages
 require(uavRst)
## read chm and tree position data
 data(chm_seg)
 data(trp_seg)
## segmentation
 crownsRL <- chmseg_RL(chm= chm_seg[[1]],
                       treepos= trp_seg[[1]],
                       maxCrownArea = 150,
                       exclusion = 0.2)
## visualisation
 raster::plot(crownsRL)
 
## End(Not run) 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.