itc.mw: Moving Window Individual Tree Crown Detection with Variable...

Description Usage Arguments Value Author(s) References Examples

View source: R/itc.mw.R

Description

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

Usage

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

Arguments

chm

Name of the CHM raster object output from a chm function with stacked=FALSE. 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.

num

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

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

Author(s)

Adam Erickson, adam.erickson@ubc.ca

References

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

Examples

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

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