itc.wat: Watershed Segmentation Individual Tree Crown Detection

Description Usage Arguments Value Author(s) References Examples

View source: R/itc.wat.R

Description

This function detects individual tree crowns using watershed segmentation

Usage

1
2
itc.wat(chm = NA, res = 1, ht2rad = NA, min.h = 1, tolerance = 0.1,
  num = TRUE, silent = FALSE, ws.plot = 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.

tolerance

The minimum height between an object's highest point and the point where it contacts another object. If the height is smaller than the tolerance, the object will be combined with its highest neighbor. Defaults to 0.1.

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.

ws.plot

Boolean switch for the display of the watershed segmentation plot. 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.wat

Author(s)

Adam Erickson, adam.erickson@ubc.ca

References

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

Examples

1
itc.wat(chm=chm, res=1, ht2rad=function(x) 0.15746*x/res, min.h=1, tolerance=0.1, num=TRUE, silent=FALSE, ws.plot=FALSE, geoTIFF=FALSE)

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