cube_read | R Documentation |
This function is a wrapper for the raster stack
function, masking
saturated pixels and keeping minimal metadata information from the ENVI
header file.
cube_read(file, mask)
file |
Path to ENVI hyperspectral cube header file. |
mask |
A raster mask of saturated values such as provided by the
|
The data type and wavelength information are retained in the "metadata" attribute, and bands are named with their rounded center wavelength. Note that the "metadata" attribute will only be automatically copied by functions in this library.
A raster stack object with additional "metadata" attribute.
stack
, mask_s
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.