itc.mw.h: Hierarchical Moving Window Individual Tree Crown Detection

Description Usage Arguments Value Author(s) References Examples

View source: R/itc.mw.h.R

Description

This function detects individual tree crowns using a moving window function with variable window diameters

Usage

1
2
3
itc.mw.h(chm.stack = NA, res = 1, ht2rad = NA, min.h = 1,
  type = "circle", fun = max, num = TRUE, stacked = FALSE,
  silent = FALSE, plots = FALSE, geoTIFF = FALSE)

Arguments

chm.stack

Name of the CHM raster stack output from a chm function with stacked=TRUE. Defaults to NA.

res

Resolution of the input canopy height model in meters, used to adjust the ht2rad function. Defaults to 1.

ht2rad

Function used to convert tree height to crown radius. Defaults to NA.

min.h

Canopy minimum height. Defaults to 1.

type

Shape parameter for the moving window function. Options are circle, Gauss, and rectangle. Defaults to circle.

fun

Function used for combining raster layers of crown position. Defaults to max.

num

Boolean switch for the output of numeric values instead of a raster object. Defaults to TRUE.

stacked

Boolean switch for the output of a raster stack of tree crown positions. Defaults to FALSE.

silent

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

plots

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

geoTIFF

Boolean switch for saving GeoTIFF raster of tree positions to a folder, if the chm parameter is a folder. Defaults to FALSE.

Value

The results of itc.mw.h

Author(s)

Adam Erickson, adam.erickson@ubc.ca

References

http://www.mdpi.com/2072-4292/4/4/950/htm

Examples

1
itc.mw.h(chm.stack=chms, res=1, ht2rad=function(x) 0.15746*x/res, min.h=1, type='circle', fun=max, num=TRUE, stacked=FALSE, silent=FALSE, plots=FALSE, geoTIFF=FALSE)

adam-erickson/gapfraction documentation built on May 5, 2019, 6:57 p.m.