View source: R/experimental_metrics.R
experimental_metrics | R Documentation |
take advantage of xy and 3d information
experimental_metrics( x = NA, y = NA, z = NA, i = NA, rn = NA, cl = NA, r = NA, g = NA, b = NA, resxy = 20, resxyz = 20, ressurf = 5, htcover = 6, zthresh = c(3, 6, 12, 20), adjustz = c("none", "positive", "min0", "zq01"), outlier = c(min = NA, max = NA) )
x |
lidR object X vector : las1$X |
y |
lidR object Y vector : las1$Y |
z |
lidR object Z vector : las1$Z |
i |
lidR object intensity vector : las1$Intensity |
rn |
lidR object return vector : las1$ReturnNumber |
cl |
lidR object return vector : las1$Classification |
r |
lidR object red vector : las1$R |
g |
lidR object green vector : las1$G |
b |
lidR object blue vector : las1$B |
resxy |
resolution to use when computing xy statistic - grid resolution |
resxyz |
resolution to use when computing xyz statistic - voxel resolution |
ressurf |
resolution to use when computing raster areas - grid resolution |
htcover |
height to use when computing cover and threshold for eliminating ground returns |
zthresh |
height thresholds to use for height ratios round(100*length(z[ z > zthresh[i]]) / length(z[ z > htcover]),2) |
adjustz |
(optional) method used to shift z values up/down. When there is no DTM or the DTM is poor (e.g. when used with DAP) this can help |
outlier |
a two value vector with minimum and maximum values used to restrict the range of z values considered |
<Delete and Replace>
This program is free software but it is provided WITHOUT WARRANTY and with ABSOLUTELY NO GUARANTEE of fitness or functionality for any purpose; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Revision History
1.0 | 4/4/2019 |
list of statistics, currently only computed on x,y,z
Jacob Strunk <Jstrunk@fs.fed.us>
lidR::readLAS
lidR::lasmetrics
lidR::grid_metrics
if(!"las1" %in% ls()) las1 = readLAS("D:\\Box\\sync\\R\\analyses\\wa_dsm_env_fia\\data\\plot_clips_ht\\plot_44.laz") test2 = lasmetrics(las1,experimental_metrics(X,Y,Z)) test2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.