selectBands
Select bands from spectral image
Syntax
Description
selects bands with the specified data resolution newspcube
= selectBands(spcube
,DataResolution=resolution
)resolution
from the
multispectral data spcube
. spcube
must be a
multicube
object.
selects the most informative bands of the hyperspectral data newspcube
= selectBands(spcube
,endmembers
)spcube
by
using the orthogonal space projection method. spcube
must be a
hypercube
object.
Note
For preprocessing, the function removes the water absorption and low signal-to-noise ratio (SNR) bands prior to computing the most informative bands.
To reduce computational complexity, the function computes the most informative bands by considering only 10% of the pixel values in the preprocessed data cube. The function selects these values randomly. The function also ensures that the random selection does not result in the removal of endmembers.
[
also returns the band numbers of the most informative bands in the hyperspectral data.
newspcube
,band
] = selectBands(spcube
,endmembers
)spcube
must be a hypercube
object.
[___] = selectBands(
specifies the number of most informative bands to select from the input data.
spcube
,endmembers
,NumberOfBands=numBands
)spcube
must be a hypercube
object.
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™ and MATLAB Mobile™ do not support the library.
Examples
Input Arguments
Output Arguments
References
[1] Du, Qian, and He Yang. “Similarity-Based Unsupervised Band Selection for Hyperspectral Image Analysis.” IEEE® Geoscience and Remote Sensing Letters, Vol. 5, no. 4 (October 2008): 564–68. https://doi.org/10.1109/LGRS.2008.2000619.
Version History
Introduced in R2020a