chm.sf: Barycentric interpolation-based Spike-free Canopy Height...

View source: R/chm.sf.R

chm.sfR Documentation

Barycentric interpolation-based Spike-free Canopy Height Model

Description

This function implements a 2-D barycentric interpolation-based spike-free canopy height model algorithm

Usage

chm.sf(las = NA, las.proj = NA, las.reproj = NA, breaks = c(0.1, 0.25,
  0.5, 0.75), percent = TRUE, nx = 100, ny = 100, ko = 2.5, ku = 20,
  stacked = FALSE, silent = FALSE, plots = FALSE, geoTIFF = FALSE)

Arguments

las

Path or name of LAS file. Defaults to NA.

las.proj

Proj4 projection string to use for projection. Defaults to NA.

las.reproj

Proj4 projection string to use for reprojection. Defaults to NA.

breaks

List of breaks to use for vertical stratification, either values or percentages of maximum height. Defaults to percentages: 0.10, 0.25, 0.50, 0.75.

percent

Boolean switch for the use of percentages. Defaults to TRUE.

nx

Number of pixels along the x-axis. For a 50m radius plot, nx=100 is 1m resolution. Defaults to 100.

ny

Number of pixels along the y-axis. For a 50m radius plot, ny=100 is 1m resolution. Defaults to 100.

ko

Barycentric triangle edge length filter for overstory layers. Defaults to 2.5.

ku

Barycentric triangle edge length filter for the understory layer. Defaults to 20.

stacked

Boolean switch for the output of a single raster or a raser stack. Defaults to FALSE.

silent

Boolean switch for the interactive display of plots. Defaults to FALSE.

plots

Boolean switch for the saving of plot files to the las.path folder. Defaults to FALSE.

geoTIFF

Boolean switch for the saving of projected GeoTIFF files to the las.path folder. Defaults to FALSE.

Value

The results of chm.sf

Author(s)

Adam Erickson, adam.erickson@ubc.ca

References

http://www.sciencedirect.com/science/article/pii/S0303243416300873

http://www.riegl.com/uploads/tx_pxpriegldownloads/khosravipour_SilviLaser2013.pdf

Examples

chm.sf(las='C:/plot.las', las.proj='+init=epsg:26911', las.reproj=NA, breaks=c(0.10,0.25,0.50,0.75), percent=TRUE, nx=100, ny=100, ko=2.5, ku=20, stacked=FALSE, silent=FALSE, plots=FALSE, geoTIFF=FALSE)

adam-erickson/gapfraction documentation built on May 12, 2024, 6:15 p.m.