cylinderFit: Point cloud cylinder fit

cylinderFitR Documentation

Point cloud cylinder fit

Description

Fits a cylinder on a set of 3D points.

Usage

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


tiagodc/TreeLS documentation built on June 29, 2023, 7:40 p.m.