Learn R Programming

⚠️There's a newer version (1.0.3) of this package.Take me there.

ForestTools

The ForestTools R package offers functions to analyze remote sensing forest data. Please consult the NEWS.md file for updates.

To get started, consult the canopy analysis tutorial.

To cite the package use citation("ForestTools") from within R.

Andrew Plowright (2023). ForestTools: Tools for Analyzing Remote Sensing Forest Data. R package version 1.0.0,
https://github.com/andrew-plowright/ForestTools.

Features

Detect and segment trees

Individual trees can be detected and delineated using a combination of the variable window filter (vwf) and marker-controlled watershed segmentation (mcws) algorithms, both of which are applied to a rasterized canopy height model (CHM). CHMs are typically derived from aerial LiDAR or photogrammetric point clouds.

Compute textural metrics

Grey-level co-occurrence matrices (GLCMs) and their associated statistics can be computed for individual trees using a single-band image and a segment raster (which can be produced using mcws). These metrics can be used to characterize and classify trees.

References

This library implements techniques developed in the following studies:

Research

The following is a non-exhaustive list of research papers that use the ForestTools library. Several of these studies discuss topics such as algorithm parameterization, and may be informative for users of this library.

2023

2022

2021

2020

2019

2018

2017

Copy Link

Version

Install

install.packages('ForestTools')

Monthly Downloads

532

Version

1.0.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Andrew Plowright

Last Published

October 2nd, 2023

Functions in ForestTools (1.0.1)

glcm_features

GLCM Features
kootenayCrowns

Kootenay forest - Tree crowns
glcm

Grey-Level Co-Occurrence Matrix
glcm90

Create a 90 degree GLCM
glcm135

Create a 135 degree GLCM
glcm0

Create a 0 degree GLCM
glcm45

Create a 45 degree GLCM
mcws

Marker-Controlled Watershed Segmentation
kootenayCHM

Kootenay forest - Canopy height model
kootenayBlocks

Kootenay forest - Cut blocks
quesnelTrees

Quesnel forest - Dominant trees over 2 m
kootenayOrtho

Kootenay forest - Orthomosaic
quesnelCHM

Quesnel forest - Canopy height model
ForestTools-package

ForestTools: Tools for Analyzing Remote Sensing Forest Data
quesnelBlocks

Quesnel forest - Cut blocks
kootenayTrees

Kootenay forest - Dominant trees over 2 m
vwf

Variable Window Filter