Segments an input .xyz point cloud file into different forestry layers (soil, wood, foliage), computes individual tree metrics, and provides summary statistics and canopy metrics.
Forest_seg(
a,
filename = "XXX",
dimVox = 2,
th = 2,
eps = 2,
mpts = 9,
h_tree = 1,
soil_dim = 0.1,
N = 500,
R = 30,
Vox_print = FALSE,
WoodVox_print = FALSE,
output_path = tempdir(),
analyze_canopy = TRUE,
canopy_voxel_size = 0.1,
min_canopy_height = 1.5,
coverage_method = "mean_normalized"
)List containing file paths and metrics for trees and canopy.
Input point cloud data frame (.xyz) or file path
Output file prefix
Voxel dimension (cm) for wood segmentation (default = 2)
Minimum number of points to generate a voxel (default = 2)
Epsilon neighborhood radius for DBSCAN (default = 2)
Minimum points required in eps neighborhood for core points (default = 9)
Minimum trunk length in meters (default = 1)
Voxel dimension (m) for forest floor segmentation (default = 0.1)
Minimum number of voxels in a wood cluster (default = 500)
Cluster shape parameter threshold (default = 30)
Logical; if TRUE, saves point cloud voxelization (default = FALSE)
Logical; if TRUE, saves wood voxelization (default = FALSE)
Output directory (default = tempdir())
Logical; if TRUE, performs canopy analysis (default = TRUE)
Voxel size for canopy analysis in meters (default = 0.1)
Minimum height threshold for canopy analysis (default = 1.5)
Method for calculating coverage degree (default = "mean_normalized")