cylinderFit: Point cloud cylinder fit

Description Usage Arguments Value

Description

Fits a cylinder on a set of 3D points.

Usage

1
2
3
4
5
6
7
8
9
cylinderFit(
  las,
  method = "ransac",
  n = 5,
  inliers = 0.9,
  conf = 0.95,
  max_angle = 30,
  n_best = 20
)

Arguments

las

LAS object.

method

method for estimating the cylinder parameters. Currently available: "nm", "irls", "ransac" and "bf".

n

numeric - number of points selected on every RANSAC iteration.

inliers

numeric - expected proportion of inliers among stem segments' point cloud chunks.

conf

numeric - confidence level.

max_angle

numeric - used when method == "bf". The maximum tolerated deviation, in degrees, from an absolute vertical line (Z = c(0,0,1)).

n_best

integer - estimate optimal RANSAC parameters as the median of the n_best estimations with lowest error.

Value

vector of parameters


TreeLS documentation built on Aug. 26, 2020, 5:14 p.m.