voxels | R Documentation |
Create cubes of a given distance in a point cloud though their voxelization. It use a modify version of the code used in Greaves et al. 2015.
voxels(cloud, edge_length, threads = 1L, obj.voxels = TRUE)
cloud |
A |
edge_length |
A positive |
threads |
An |
obj.voxels |
Logical. If |
Voxels are created from the negative to the positive *XYZ* coordinates.
If obj.voxels == TRUE
, it return an object of class "voxels"
which contain a list with the points used to create the voxels, the parameter edge_length
, and the voxels
created. If FALSE
, it returns a data.table
with the coordinates of the voxels created and the number of points in each voxel.
J. Antonio Guzmán Q.
Greaves, H. E., Vierling, L. A., Eitel, J. U., Boelman, N. T., Magney, T. S., Prager, C. M., & Griffin, K. L. (2015). Estimating aboveground biomass and leaf area of low-stature Arctic shrubs with terrestrial LiDAR. Remote Sensing of Environment, 164, 26-35.
voxels_counting
, plot_voxels
, summary_voxels
data("pc_tree") ###Create cube of a size of 0.5. voxels(pc_tree, edge_length = c(0.5, 0.5, 0.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.