ndvi.mask: Convert a hdf5 file containing hyperspectral imagery into a...

Description Usage Arguments Details Value

View source: R/ndvimask.R

Description

This function reads in a hdf5 file and create a NDVI matrix for use in the topographic and BRDF corrections that are applied in later steps.

Usage

1
2
ndvi.mask(hy.file, metadata.path, reflectance.path, wavelength.path,
  red.nm, nir.nm, ndvi.threshold)

Arguments

hy.file

hdf5 file containing hyperspectral imagery and associated metadata

metadata.path

hdf5 path to reflectance metadata

reflectance.path

hdf5 path to reflectance data

wavelength.path

hdf5 path to wavelength metadata

red.nm

wavelength (nm) to use for red band

nir.nm

wavelength (nm) to use for nir band

ndvi.threshold

threshold for NDVI mask

Details

For theory behind this function please see:

Asner, G.P., Martin, R.E., Anderson, C.B., and Knapp, D.E., 2015. Quantifying forest canopy traits: Imaging spectroscopy versus field survey. Remote Sensing of Environment, 158: 15-27.

Dahlin, K.M., Asner, G.P., Field., C.B., 2014. Linking vegetation patterns to environmental gradients and human impacts in a mediterranean-type island ecosystem. Landscape Ecology, 29(9): 1571-1585.

Value

A matrix containing the NDVI mask


akamoske/hypRspec documentation built on April 30, 2021, 8:27 p.m.