Main Content

Spectral Matching and Target Detection Techniques

Hyperspectral images provide detailed information about the spectral characteristics of materials for several spectral bands over a wide range of wavelengths. You can use the abundant spectral information from hyperspectral images to identify materials and detect targets that are difficult to detect using spectral information from a small number of wavelengths as in grayscale, RGB, or multispectral images.

You can use spectral matching and target detection techniques for a wide variety of applications in diverse domains.

  • Agriculture — Detect nutrient deficiencies and pest infestations in crops.

  • Environment Monitoring — Monitor water quality in water bodies.

  • Mining — Identify mineral composition.

  • Defense — Identify concealed threats.

  • Remote Sensing — Classify land cover.

  • Medical Imaging — Detect tumors and skin lesions.

  • Food Industry — Assess freshness of fruits.

  • Forensics — Identify trace evidence such as fingerprints and bloodstains at crime scenes.

Spectral matching identifies the class of an endmember material by comparing its spectra with one or more reference spectra. You can also use spectral matching to identify materials or detect specific targets in a hyperspectral image when the spectral signature of the target is distinct from other regions in the hyperspectral image. However, when the spectral contrast between the target and other regions is low, spectral matching becomes more challenging. In such cases, more sophisticated target detection algorithms that consider the entire hyperspectral data cube and use statistical or machine learning methods are required.

  • Spectral matching techniques compare individual pixel spectra with the spectral signature of the target using the geometrical characteristics of the pixel spectra, its probability distribution values, or both. Techniques that utilize both geometrical characteristics and probability distribution values have higher discrimination capabilities than the individual approaches. A low distinction between the individual pixel spectrum and the target spectral signature indicates a high probability of the presence of the target at that pixel. Use spectral matching techniques when there is limited variability in the spectral signature of the target, the spectral signature of the target is significantly different from the background, and the spectral signatures of the background are somewhat homogenous.

  • Target detection techniques use the information from the entire hyperspectral data cube along with statistical, machine learning, or subspace projection methods to detect targets. Use target detection techniques when there is significant variability in the spectral signature of the target, the spectral signature of the target is not significantly different from the background, or the spectral signatures of the background are complex or heterogeneous.

Spectral Matching Techniques

This table summarizes the spectral matching techniques that you can use with the spectralMatch function. The spectral matching score returned by the spectralMatch function indicates the distinction between the target spectral signature and the spectrum of each pixel in the hyperspectral image. Lower score indicates a higher possibility of the presence of the target.

TechniqueAlgorithmFunction
Spectral angle mapper (SAM)

The SAM method measures the angle between the target spectrum t and the pixel spectrum x.

score=cos1(tTxtTtxTx)

The SAM method is insensitive to illumination changes.

Spectral information divergence (SID)

The SID method measures the divergence between the probability distributions of the target spectrum t and the pixel spectrum x

score=itilog(tixi)+xilog(xiti)

ti and xi are the elements of the vectors t and x, respectively. The SID method is efficient in identifying mixed pixel spectra.

SID-SAM

The SID-SAM method computes the product of the SID score and the tangent of the SAM score.

score=SID×tan(α)

SID is the SID score and α is the SAM score. The SID-SAM method has better discrimination capability compared to SID and SAM individually.

Jeffries Matusita - Spectral angle mapper (JMSAM)

The JMSAM method computes the product of the JM distance and the tangent of the SAM score.

score=JMdist×tan(α)JMdist=2(1eB)Bdist=18(μxμt)T[σx+σt2]1(μxμt)+12ln[|σx+σt2||σx||σt|]

JMdist is the JM distance, α is the SAM score, and Bdist is the Bhattacharya distance. μt and μx are the means of t and x, respectively. σt and σx are the standard deviations of t and x, respectively. The JMSAM method is particularly efficient in discriminating spectrally close targets.

Normalized spectral similarity score (NS3)

The NS3 method computes the spectral matching score from the Euclidean distance and the SAM score.

score=(Edist)2+(1cos(α))2Edist=1C(xt)T(xt)

Edist is the Euclidean distance, α is the SAM score, and C is the number of bands in the spectrum. The NS3 method has high discrimination capability, but requires extensive reference data for high accuracy.

Target Detection Techniques

This table summarizes the target detection techniques that you can use with the detectTarget function. The target detection score returned by the detectTarget function indicates the probability of the presence of the target at each pixel in the hyperspectral image. A higher score indicates a higher probability of the presence of the target.

TechniqueAlgorithmFunction
Constrained energy minimization (CEM)

The CEM method uses an FIR filter whose response to a pixel spectrum, x is greater when the spectrum is more similar to the target spectrum t.

score=tTCcov1xtTCcov1t

Ccov is the covariance of the background. Use the CEM method when the background noise is minimal.

detectTarget function with method specified as "CEM"
Adaptive cosine estimator (ACE)

The ACE method computes the squared dot-product of the mean-subtracted pixel spectrum x and the mean-subtracted target spectrum t in a whitened coordinate space.

score=(tTCcov1x)2(tTCcov1t)(xTCcov1x)

Ccov is the covariance of the background. Use the ACE method when the hyperspectral image has significant background clutter.

detectTarget function with method specified as "ACE"
Signed adaptive cosine estimator (Signed ACE)

The Signed ACE method is similar to ACE but differentiates between positive and negative correlations between the mean-subtracted pixel spectrum x and the mean-subtracted target spectrum t.

score=(xTCcov1t)|xTCcov1t|(tTCcov1t)(xTCcov1x)

Ccov is the covariance of the background. Use the Signed ACE method when the hyperspectral image has significant background clutter.

detectTarget function with method specified as "SignedACE"
Matched filter (MF)

The MF method uses an FIR filter whose response to a mean-subtracted pixel spectrum, x is greater when the spectrum is more similar to the mean-subtracted target spectrum t.

score=tTCcov1xtTCcov1t

Ccov is the covariance of the background. Use the MF method when the background noise is additive white Gaussian noise.

detectTarget function with method specified as "MF"
Generalized likelihood ratio test (GLRT)

The GLRT method computes the target detection score between the mean-subtracted target spectrum t and the mean-subtracted pixel spectrum x in a manner similar to the ACE method.

score=(tTCcov1x)2(tTCcov1t)(1+xTCcov1x)

Ccov is the covariance of the background. Use the GLRT method when the hyperspectral image has significant background clutter.

detectTarget function with method specified as "GLRT"
Adaptive matched subspace detector (AMSD)

The AMSD method computes the ratio of the likelihood that the pixel spectrum x belongs to the target subspace to the likelihood that x belongs to the background subspace.

score=xTPBxxT(PBPE)xPB=IB(BTB)1BPE=IE(ETE)1E

I is the identity matrix, B is the background subspace, and E is the combined subspace of the background and target. This method uses the endmembers of the hyperspectral image for target detection. Use the AMSD method when the target spectral signature has variability and spans a subspace.

detectTarget function with method specified as "AMSD"
Orthogonal subspace projection (OSP)

The OSP method uses an FIR filter whose response to a pixel spectrum, x is greater when the spectrum is more similar to the mean-subtracted target spectrum t

score=tTPBxtTPBtPB=IB(BTB)1B

I is the identity matrix and B is the background subspace. This method uses the endmembers of the hyperspectral image for target detection. Use the OSP method when the hyperspectral image has significant background clutter.

detectTarget function with method specified as "OSP"

See Also

| | | |

Related Topics