| Title: | LiDAR processing tools |
|---|---|
| Description: | A Processing function for LiDAR point clouds. |
| Authors: | Tillman Reuter [aut, cre] |
| Maintainer: | Tillman Reuter <[email protected]> |
| License: | `use_gpl3_license()` |
| Version: | 0.1.0 |
| Built: | 2026-11-20 17:12:03 UTC |
| Source: | https://github.com/DryocopusMartius/lidarflow |
process_las( input_file, output_dir = NULL, drop_color = FALSE, clip_to = "none", x_center = NULL, y_center = NULL, radius = NULL, traj_path = NULL, buffer = NULL, denoise = FALSE, sor_k = NULL, sor_m = NULL, subsample = FALSE, distance = NULL, normalize = FALSE, start_res = 1, angle = 30, output_dtm = FALSE, output_below1m = FALSE, output_unnormalized = FALSE, dtm_res = 0.5, ncores = NULL, verbose = TRUE )process_las( input_file, output_dir = NULL, drop_color = FALSE, clip_to = "none", x_center = NULL, y_center = NULL, radius = NULL, traj_path = NULL, buffer = NULL, denoise = FALSE, sor_k = NULL, sor_m = NULL, subsample = FALSE, distance = NULL, normalize = FALSE, start_res = 1, angle = 30, output_dtm = FALSE, output_below1m = FALSE, output_unnormalized = FALSE, dtm_res = 0.5, ncores = NULL, verbose = TRUE )
input_file |
Character. Path to the input .las or .laz file. |
output_dir |
Character. Path to the directory where output files
will be saved. If |
drop_color |
Logical. If |
clip_to |
Character. Defines the clipping strategy. Options:
|
x_center |
Numeric. X coordinate of the circle center (required if
|
y_center |
Numeric. Y coordinate of the circle center (required if
|
radius |
Numeric. Radius of the clipping circle in meters
(required if |
traj_path |
Character. Path to a CSV file containing trajectory
points (required if |
buffer |
Numeric. Buffer distance in meters to apply around the trajectory hull. |
denoise |
Logical. If |
sor_k |
Integer. Number of neighbors for SOR filter.
Defaults to package standard if |
sor_m |
Numeric. Standard deviation multiplier for SOR filter. |
subsample |
Logical. If |
distance |
Numeric. Minimum 3D distance between output points (meters) for subsampling. |
normalize |
Logical. If |
start_res |
Numeric. Initial resolution for Progressive TIN Densification (PTD). |
angle |
Numeric. Maximum angle (degrees) for PTD iteration. |
output_dtm |
Logical. If |
output_below1m |
Logical. If |
output_unnormalized |
Logical. If |
dtm_res |
Numeric. Resolution of the output DTM in meters. |
ncores |
Integer. Number of CPU cores to use. If verboseLogical. If |
Invisibly returns the result of the lasR::exec call.
Output files are written to disk as side effects.
This function performs a standardized processing workflow on LAS/LAZ files.
It supports clipping, denoising, subsampling, ground classification,
normalization, and derivative product generation (DTM, height slices).
It utilizes the lasR package for the main pipeline and lidR
for specific pre-processing tasks like trajectory-based clipping.