generate_ashape3d {ashapesampler}R Documentation

Generate 3D alpha shape

Description

Generate 3D alpha shape

Usage

generate_ashape3d(
  point_cloud,
  J,
  tau,
  delta = 0.05,
  afixed = TRUE,
  mu = NULL,
  sig = NULL,
  sample_rad = NULL,
  acc_rad = NULL,
  k_min = 3,
  eps = 1e-04,
  cores = 1
)

Arguments

point_cloud

3 column matrix of all points from all shapes in initial data set

J

number of shapes in initial data set

tau

tau bound for the shapes

delta

probability of not preserving homology; default is 0.05

afixed

boolean, whether to sample alpha or leave fixed based on tau. Default FALSE

mu

mean of truncated distribution from which alpha sampled; default tau/3

sig

standard deviation of truncated distribution from which alpha sampled; default tau/12

sample_rad

radius of ball around each point in point cloud from which to sample; default tau/8

acc_rad

radius of ball to check around potential sampled points for whether to accept or reject new point; default tau/4

k_min

number of points needed in radius 2 alpha of point cloud to accept a sample

eps

amount to subtract from tau/2 to give alpha. Defaul 1e-4.

cores

number of cores for parallelizing. Default 1.

Value

new_ashape three dimensional alpha shape object from alphashape3d library


[Package ashapesampler version 1.0.0 Index]