Measure spectral similarity using spectral angle mapper
measures the spectral similarity between the spectrum of each pixel in the hyperspectral
data score
= sam(inputData
,refSpectrum
)inputData
and the specified reference spectrum
refSpectrum
by using the spectral angle mapper (SAM) classification
algorithm. Use this syntax to identify different regions or materials in a hyperspectral
data cube.
measures the spectral similarity between the specified test spectrum
score
= sam(testSpectrum
,refSpectrum
)testSpectrum
and reference spectrum refSpectrum
by using the SAM classification algorithm. 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.
[1] Kruse, F.A., A.B. Lefkoff, J.W. Boardman, K.B. Heidebrecht, A.T. Shapiro, P.J. Barloon, and A.F.H. Goetz. “The Spectral Image Processing System (SIPS)—Interactive Visualization and Analysis of Imaging Spectrometer Data.” Remote Sensing of Environment 44, no. 2–3 (May 1993): 145–63. https://doi.org/10.1016/0034-4257(93)90013-N.
hypercube
| jmsam
| readEcostressSig
| sid
| sidsam
| spectralMatch