Handle hyperspectral cubes using raster package (deprecated)
The HyperSpecRaster-Class is deprecated. Use Speclib instead.
## S4 method for signature 'character,numeric' HyperSpecRaster(x, wavelength, fwhm = NULL, SI = NULL, ...) ## S4 method for signature 'RasterLayer,numeric' HyperSpecRaster(x, wavelength, fwhm = NULL, SI = NULL) ## S4 method for signature 'RasterBrick,numeric' HyperSpecRaster(x, wavelength, fwhm = NULL, SI = NULL) ## S4 method for signature 'HyperSpecRaster' HyperSpecRaster(x, wavelength) ## S4 method for signature 'Speclib' HyperSpecRaster(x, nrow, ncol, xmn, xmx, ymn, ymx, crs) ## S4 method for signature 'HyperSpecRaster,character' writeStart(x, filename, ...) ## S4 method for signature 'HyperSpecRaster' getValuesBlock(x, ...) ## S4 method for signature 'RasterLayer,Speclib' writeValues(x, v, start) ## S4 method for signature 'RasterBrick,Speclib' writeValues(x, v, start) ## S4 method for signature 'HyperSpecRaster,Speclib' writeValues(x, v, start)
x | 
 Raster* object  | 
wavelength | 
 Vector containing wavelength for each band  | 
fwhm | 
 Optional vector containing full-width-half-max values. If length == 1 the same value is assumed for each band. Note that function does not check the integrity of the values  | 
SI | 
 Optional data.frame containing SI data  | 
nrow | 
 Optional. Number of rows in HyperspecRaster. If omitted, function will try to get the information from the SI in Speclib (  | 
ncol | 
 Optional. Number of colums in HyperspecRaster. See nrow above.  | 
xmn | 
 Optional. Minimum coordiante in x-dimension. See nrow above.  | 
xmx | 
 Optional. Maximum coordiante in x-dimension. See nrow above.  | 
ymn | 
 Optional. Minimum coordiante in y-dimension. See nrow above.  | 
ymx | 
 Optional. Maximum coordiante in y-dimension. See nrow above.  | 
crs | 
 Optional. Object of class   | 
... | 
 Additional arguments as for   | 
filename | 
 Name of file to create  | 
v | 
 Speclib or matrix of values  | 
start | 
 Integer. Row number (counting starts at 1) from where to start writing   | 
HyperSpecRaster or RasterBrick
Lukas Lehnert
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.