Description Usage Arguments Value
This function first reads in a corrected hdf5 file and applies a supplied coefficient to each band. Coefficients may be from a PLSR, PCA, etc. Output is a raster file of same spatial resolution as input.
1 2 | hsi.coef(hy.file, metadata.path, reflectance.path, wavelength.path,
coordinate.path, coef.csv, inter, scale.data, band.combo)
|
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 |
coordinate.path |
hdf5 path to coordinate data |
coef.csv |
csv containing coefficients |
inter |
does the CSV contain an intercept and is it in the first position (TRUE/FALSE) |
scale.data |
were the coefficients generated with scaled data and thus data needs to be scaled before applied coefs (TRUE/FALSE) |
band.combo |
combination of bands index values that were used to generate the coefficients |
A raster with all coefficients applied
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.