Description Usage Arguments Value
Hyperspectral raster calculation
| 1 2 | raster_calc(fpath_in, fpath_out, wl, nbands, fun, format = "raster",
  noData = -9999, ...)
 | 
| fpath_in | input raster file path(in ENVI format) | 
| fpath_out | output file path(in .tif format) | 
| wl | input raster file wavelength | 
| nbands | nbands for output | 
| fun | do function, take hsdar::Speclib as first input param, each spectrum is one pixel of fpath_in | 
| format | parameter for writeStart to control output format, default raster. | 
| noData | value for NA | 
| ... | futher param for fun | 
Hyperspectral image obj(save output to fpath_out inviable)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.