# Comparative Shortest Path Forest Stand Segmentation from LiDAR Data

## Documentation for package ‘CspStandSegmentation’ version 0.2.0

- DESCRIPTION file
- Package NEWS
- Package README

## Help Pages

add_geometry | Add geometric features to a LAS object
add_las_attributes | Add all las_attributes from las@data to the header of a las element
add_voxel_coordinates | Add voxel coordinates to a las file
comparative_shortest_path | helper function for csp_cost_segemntation
csp_cost_segmentation | Comparative Shortest Path with cost weighting tree segmentation
eigen_decomposition | Fast Eigenvalues decomposition for k nearest neighbors using a C++ function
fast_unlist | helper function to unlist IDs generated by dbscan::frNN
fast_unlist_dist | helper function to unlist distances computed by dbscan::frNN
fds | Farthest Distance Sampling (Farthest Point Sampling)
find_base_coordinates_geom | Find stem base position using a geometric feature filtering and clustering approach
find_base_coordinates_raster | Find stem base position using a density raster approach
forest_inventory | Function to perform a forest inventory based on a segmented las object (needs to contain TreeID)
forest_inventory_simple | Function to perform a forest inventory based on a segmented las object (needs to contain TreeID) This version is a faster but more simplistic approach than forest_inventory() for the DBH estimates
las_merge | Makes one las-object from multiple las-objects
plot_inventory | Function to plot the inventory results into a lidR 3d plot of the point cloud
point_center_angle | Returns the angle between the center of the circle and a point in degrees
point_circle_distance | Helper function to compute distances from a point to the circle
p_dist | Point distance function
p_mat_dist | Point distance function
ransac_circle_fit | RANSAC circle fitting algorithm specially adapted for tree DBH estimation
suppress_cat | Suppress only the cat() output
voxelize_points_mean_attributes | helper function to voxelize a las element