ns3
Description
measures the spectral similarity between the spectrum of each pixel in the hyperspectral
data score
= ns3(inputData
,refSpectrum
)inputData
and the specified reference spectrum
refSpectrum
by using the normalized spectral similarity score (NS3)
method. Use this syntax to identify different regions or materials in a hyperspectral data
cube. For information about the NS3 method, see More About.
measures the spectral similarity between the specified test spectrum
score
= ns3(testSpectrum
,refSpectrum
)testSpectrum
and reference spectrum refSpectrum
by using the NS3 method. Use this syntax to compare the spectral signature of an unknown
material against the reference spectrum or to compute spectral variability between two
spectral signatures.
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
More About
References
[1] Nidamanuri, Rama Rao, and Bernd Zbell. “Normalized Spectral Similarity Score (NS3) as an Efficient Spectral Library Searching Method for Hyperspectral Image Classification.” IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing 4, no. 1 (March 2011): 226–40. https://doi.org/10.1109/JSTARS.2010.2086435.
Version History
Introduced in R2020b
See Also
spectralMatch
| readEcostressSig
| sid
| hypercube
| jmsam
| sidsam
| sam