MeanShift_Voxels: Mean shift clustering using a discrete voxel space

Description Usage Arguments Details Value

View source: R/RcppExports.R

Description

Adaptive mean shift clustering to delineate tree crowns from lidar point clouds. This is a version using 1-m³ voxels instead of exact point coordinates, to speed up processing.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
MeanShift_Voxels(
  pc,
  H2CW_fac,
  H2CL_fac,
  UniformKernel = FALSE,
  MaxIter = 20L,
  maxx = 100L,
  maxy = 100L,
  maxz = 60L
)

Arguments

pc

Point cloud has to be in matrix format with 3-columns representing X, Y and Z and each row representing one point

H2CW_fac

Factor for the ratio of height to crown width. Determines kernel diameter based on its height above ground.

H2CL_fac

Factor for the ratio of height to crown length. Determines kernel height based on its height above ground.

UniformKernel

Boolean to enable the application of a simple uniform kernel without distance weighting (Default False)

MaxIter

Maximum number of iterations, i.e. steps that the kernel can move for each point. If centroid is not found after all iteration, the last position is assigned as centroid and the processing jumps to the next point

maxx

Maximum X-coordinate

maxy

Maximum Y-coordinate

maxz

Maximum Z-coordinate

Details

Mean shift clustering using a discrete voxel space

Value

data.frame with X, Y and Z coordinates of each point in the point cloud and X, Y and Z coordinates of the centroid to which the point belongs


niknap/MeanShiftR documentation built on Dec. 20, 2020, 12:32 p.m.