removeBands
Syntax
Description
removes spectral bands from the data cube within the specified wavelength range. The
function returns a new newhcube
= removeBands(hcube
,'Wavelength',wlrange
)hypercube
object with the remaining wavelengths,
their metadata information, and the corresponding spectral bands from the original data
cube.
removes the spectral bands with the specified spectral band numbers from the hyperspectral
data cube.newhcube
= removeBands(hcube
,'BandNumber',band
)
Note
This function requires the Hyperspectral Imaging Library for Image Processing Toolbox™. You can install the Hyperspectral Imaging Library for Image Processing Toolbox from Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
The Hyperspectral Imaging Library for Image Processing Toolbox requires desktop MATLAB®, as MATLAB Online™ or MATLAB Mobile™ do not support the library.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2020a
See Also
hypercube
| selectBands
| ppi
| fippi
| nfindr