individual_tree_ransac: Function updates a tree ransac fit in a given data frame

View source: R/individual_tree_ransac.R

individual_tree_ransacR Documentation

Function updates a tree ransac fit in a given data frame

Description

Takes in a data frame of tree fits from las_slice_circle_fitting, a tree id and ransac parameters. Does a ransac fit for the selected tree and updates the returned dataframe

Usage

individual_tree_ransac(
  data,
  tree_id,
  las_slice,
  iterations,
  threshold,
  inclusion
)

Arguments

data

a data frame object that contains tree ransac fits from las_slice_circle_fitting function

tree_id

the tree id to preform ransac circle fitting

las_slice

A slice from dbscan that has points labled with tree ids

iterations

the max number of iterations to preform ransac circle fits

threshold

the minimum distance a point needs to be within the circle circumference to be considered an inlier

inclusion

the desired inclusion to be considered a good circle fit to the data

Details

See las_slice_circle_fitting for information on how the fit is performed


tommywhitney/mobile_lidar documentation built on May 12, 2022, 7:38 p.m.