View source: R/pointCloudAnalysis3D.R
voxelCount | R Documentation |
A rasterStack
object is created, representing the 3–D voxel cube.
The z axis is sliced into regular sections between the maximum and minimum value.
For every height slice a raster with points per cell counts is created. Additionally
the voxels can be standartized between 0 and 1.
voxelCount( points, extent, xyRes, zRes = xyRes, zMin, zMax, standartize = FALSE, verbose = FALSE )
points |
a x, y, z data.frame |
extent |
a raster extent object of the extent to create the rasters |
xyRes |
resolution in the ground plane of the created rasters |
zRes |
resolution in the z axis (by default |
zMin |
minimum z value |
zMax |
maximum height value |
standartize |
logical: standartize the values? |
verbose |
logical: print currently processed height band in raster stack? |
A rasterStack
object, representing the 3–D voxel cube.
voxelCount(niclas, raster::extent(dem), 100, 100, 1000, 1400, standartize = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.