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 Image Processing Toolbox™ Hyperspectral Imaging Library. You can install the Image Processing Toolbox Hyperspectral Imaging Library from Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
The Image Processing Toolbox Hyperspectral Imaging Library 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