Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion beratools/modules/pc2products/tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
},
{
"name": "Ground Classify Using CSF",
"info": "It implements an algorithm for segmentation of ground points base on a Cloth Simulation Filter. This method is a strict implementation of the CSF algorithm made by Zhang et al. (2016) that relies on the authors’ original source code written and exposed to R via the the RCSF package from the R package LidR.",
"info": "It implements an algorithm for segmentation of ground points base on a Cloth Simulation Filter. This method is a strict implementation of the CSF algorithm made by Zhang et al. (2016) that relies on the authors' original source code written and exposed to R via the the RCSF package from the R package LidR.",
"batch_processing": false,
"tool_type": "python",
"tool_api": "rpy_gnd_csf",
Expand Down
53 changes: 15 additions & 38 deletions docs/files/index.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,20 @@
# About

BERA Tools is a series of script tools for facilitating the high-resolution mapping and studying of forest lines (petroleum exploration corridors in forested areas) via processing canopy height models (LiDAR or photogrammetry derived raster images where pixel-values represent the ground-height of vegetation).
BERA Tools is a set of tools for mapping and studying forest linear disturbances, such as seismic
lines, from LiDAR point clouds and the rasters made from them. The [Overview](overview.md)
introduces its modules and tools.

## Motivation
BERA Tools is the successor of [Forest Line Mapper](https://github.com/appliedgrg/flm). It is a
toolset for enhanced delineation and attribution of linear disturbances in forests.

Given that the process of manually digitizing detailed small-scale
(boreal) forest lines is slow and prone to human error, a semi-automated
solution is preferred for large-scale application areas. Additionally,
high-resolution CHMs allow for improved forest line spatial analysis.

## PC2Products (LiDAR) tools

The **PC2Products** (Point Cloud to Products) category turns LiDAR point clouds (`.las` / `.laz`)
into raster products such as a **DTM**, **DSM**, **CHM** and **hummock/hollow** maps. It also
includes tools for checking the input data, classifying ground points, mapping surface water and
depth to water, and comparing seismic lines with the surrounding peatland.

![DTM, DSM, height relative to the smoothed terrain, and hummock/hollow classes produced from the sample tiles](screenshots/pc2products_outputs.png)

*Rasters produced from the sample tiles in `modules/pc2products/tests/data/LiDAR/` (ground-classified with CSF first, cell
size 0.3 m). Top: DTM and DSM, both built with TIN. Bottom: the hummock/hollow tool's two outputs,
using `Smooth_by = median`, `Min_ws = 3` and `lawn_range = 0.1`.*

These tools call R functions in `r_scripts_collection.r` through [rpy2](https://rpy2.github.io/),
using [lidR](https://r-lidar.github.io/lidRbook/) for the processing. The CHM they make can feed the
mapping tools directly, for example in a GUI pipeline.

## Credit

This tool is part of the [**Boreal Ecosystem Recovery and Assessment (BERA)**](http://www.beraproject.org/) Project, and is being actively developed by the [**Applied Geospatial Research Group**](https://www.appliedgrg.ca/).
## Credits

## Code signing policy
![BERA logo](icons/cover_1060x424_logos.png)

BERA Tools Windows signing is currently off by default and can be enabled per run according to the project [Code signing policy](https://github.com/BERATool/beratools/blob/main/CODE_SIGNING_POLICY.md). Unsigned releases use the `-unsigned.exe` suffix and are identified as unsigned in the release notes.
BERA Tools is part of the [**Boreal Ecosystem Recovery and Assessment (BERA)**](http://www.beraproject.org/)
Project, and is being actively developed by the [**Applied Geospatial Research Group**](https://www.appliedgrg.ca/).

### Cite Us
## Cite Us

If you use BERA Tools for a publication, please cite it as:

Expand All @@ -44,13 +24,6 @@ If you use BERA Tools for a publication, please cite it as:
howpublished = "\url{https://github.com/BERATool/beratools}",
}

## Credits

![BERA logo](icons/cover_1060x424_logos.png)

This tool is part of the Boreal Ecosystem Recovery and Assessment (BERA)
Project, and was developed by the Applied Geospatial Research Group.

## Reference

The Forest Line Mapper: A Semi-Automated Tool for Mapping Linear Disturbances in Forests,
Expand All @@ -62,9 +35,13 @@ Chan, Dabros & McDermid (2026),
[*Microtopographic and Hydrological Response to Repeated Seismic Line Disturbance in a Boreal Fen of
Northern Alberta, Canada*](https://doi.org/10.3390/f17040489), *Forests* 17, 489.

## Code signing policy

BERA Tools Windows signing is currently off by default and can be enabled per run according to the project [Code signing policy](https://github.com/BERATool/beratools/blob/main/CODE_SIGNING_POLICY.md). Unsigned releases use the `-unsigned.exe` suffix and are identified as unsigned in the release notes.

## License

BERA Tools is release under the GPL 3.0 (GNU General Public License
BERA Tools is released under the GPL 3.0 (GNU General Public License
v3.0). Please refer to the LICENSE file contained in the source for
complete license description.

Expand Down
35 changes: 27 additions & 8 deletions docs/files/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,36 @@ linear disturbances in forests.

### Mapping

| Tool | Details |
|------|---------|
| [Check Seed Line](https://beratool.github.io/beratools/mapping/user/check_seed_line/) | Groups and splits input lines for seed line quality control. |
| [Vertex Optimization](https://beratool.github.io/beratools/mapping/user/vertex_optimization/) | Optimizes line vertices using raster data for improved delineation. |
| [Centerline](https://beratool.github.io/beratools/mapping/user/centerline/) | Generates centerlines from input lines and raster data. |
| [Line Footprint (Absolute)](https://beratool.github.io/beratools/mapping/user/canopy_footprint_abs/) | Generates line footprints based on absolute canopy thresholds. |
| [Line Footprint (Relative)](https://beratool.github.io/beratools/mapping/user/canopy_footprint_rel/) | Creates dynamic line footprints using least-cost corridor and relative thresholds. |
| [Line Footprint (Fixed Width)](https://beratool.github.io/beratools/mapping/user/ground_footprint/) | Computes fixed-width line footprints and associated statistics. |
These tools map forest lines (petroleum exploration corridors in forested areas) in high
resolution from canopy height models (CHMs): LiDAR or photogrammetry derived rasters whose cell
values are the height of the vegetation above the ground. Digitizing small, detailed boreal forest
lines by hand is slow and prone to error, so a semi-automated method suits large areas.

| Tool | `bt` subcommand | Details |
|------|-----------------|---------|
| [Check Seed Lines](https://beratool.github.io/beratools/mapping/user/check_seed_line/) | `check_line` | Groups and splits input lines for seed line quality control. |
| [Vertex Optimization](https://beratool.github.io/beratools/mapping/user/vertex_optimization/) | `vertex_opt` | Optimizes line vertices using raster data for improved delineation. |
| [Centerline](https://beratool.github.io/beratools/mapping/user/centerline/) | `centerline` | Generates centerlines from input lines and raster data. |
| [Smooth Centerline](https://beratool.github.io/beratools/mapping/user/smooth_centerline/) | `smooth_line` | Removes sharp corners from centerlines and keeps the rest of each line unchanged. |
| [Canopy Footprint (Absolute Threshold)](https://beratool.github.io/beratools/mapping/user/canopy_footprint_abs/) | `footprint_abs` | Generates line footprints based on absolute canopy thresholds. |
| [Canopy Footprint (Relative Threshold)](https://beratool.github.io/beratools/mapping/user/canopy_footprint_rel/) | `footprint_rel` | Creates dynamic line footprints using least-cost corridor and relative thresholds. |
| [Ground Footprint](https://beratool.github.io/beratools/mapping/user/ground_footprint/) | `footprint_grd` | Computes fixed-width line footprints and associated statistics. |
| [Footprint Plots and Subplots](https://beratool.github.io/beratools/mapping/user/footprint_plots/) | `footprint_plots` | Splits line footprints into plots and subplots along their centerlines. |

### PC2Products (LiDAR)

The PC2Products (Point Cloud to Products) tools turn LiDAR point clouds (`.las` / `.laz`) into
raster products such as a DTM, DSM, CHM and hummock/hollow maps. They also check the input data,
classify ground points, map surface water and depth to water, and compare seismic lines with the
surrounding peatland. The CHM they make can feed the Mapping tools directly, for example in a GUI
pipeline.

![DTM, DSM, height relative to the smoothed terrain, and hummock/hollow classes produced from the sample tiles](screenshots/pc2products_outputs.png)

*Rasters produced from the sample tiles in `modules/pc2products/tests/data/LiDAR/` (ground-classified
with CSF first, cell size 0.3 m). Top: DTM and DSM, both built with TIN. Bottom: the hummock/hollow
tool's two outputs, using `Smooth_by = median`, `Min_ws = 3` and `lawn_range = 0.1`.*

These tools run R and [lidR](https://r-lidar.github.io/lidRbook/) through
[rpy2](https://rpy2.github.io/), so they need R in the environment (see
[Installation](user/installation.md)).
Expand Down
Loading