Comparative Shortest Path Forest Stand Segmentation from LiDAR Data
Overview
Functionality for segmenting individual trees from a forest stand scanned with a close-range (e.g., terrestrial or mobile) laser scanner. The complete workflow from a raw point cloud to a complete tabular forest inventory is provided. The package contains several algorithms for detecting tree bases and a graph-based algorithm to attach all remaining points to these tree bases. It builds heavily on the 'lidR' package. A description of the segmentation algorithm can be found in Larysch et al. (2025) doi:10.1007/s10342-025-01796-z.
New Features and Enhancements
Performance Improvements
- Replaced R distance calculation function with a C++ implementation for faster computation in fds
From NEWS.md in the release
Install
Health
- OK13 OKNow
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 24
- Examples that run
- 67%10 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 25
- Median days to close, 50 most recently updated closed PRs
- 1
Commits over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/julfrey/cspstandsegmentation on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing CspStandSegmentation adds 63 packages (39 with compiled code, 82 MB of source tarballs). Heaviest: BH 14 MB, sf 9.3 MB, data.table 5.7 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- unarchivedReturned to CRAN2026-10-02
- 0.2.1Latest
- archivedRemoved from CRAN2026-06-09requires archived package 'lidR'
- RR 4.6.0 released · 2026-04-24
- 0.2.02026-02-17 · diff ↗
- 0.1.22025-10-28
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-10-28
- Total releases
- 3 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 1.9 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("CspStandSegmentation")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1007/s10342-025-01796-z.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.