ynsat logo

Spectral Information Divergence (SID)

2 min read

Spectral Information Divergence measures how different the information content of a pixel’s spectrum is from a reference signature. Instead of comparing raw reflectance values, SID treats each spectrum as a probability distribution across bands, allowing it to capture subtle, band-to-band variations that shape-based methods can miss. This makes SID particularly powerful for hyperspectral data where fine spectral structure matters.

How it works #

  1. Convert spectra to probability distributions For a spectrum R = [ R 1 , , R n ] and a reference S = [ S 1 , , S n ] : p i = R i k = 1 n R k , q i = S i k = 1 n S k pi and qi now sum to 1 and represent the relative contribution of each band.
  2. Kullback–Leibler divergence in both directions
    • D ( p q ) = i = 1 n p i ln ( p i q i )
    • D ( q p ) = i = 1 n q i ln ( q i p i )
  3. Symmetric SID distance SID raw = D ( p q ) + D ( q p ) SID raw is always non-negative and equals 0 only when the two spectra are identical in information content.
  4. Normalization (0–1 scale) The raw SID values in a scene are empirically scaled so that the 99ᵗʰ-percentile distance maps to 0, and perfect matches map to 1: SID norm = 1 clamp ( SID raw SID 99 % , 0 , 1 ) where SID 99 % is the 99th-percentile SID of all pixels in the area of interest. Result: 1 → best match, 0 → poorest match.


Key properties #

PropertyBenefit
Direction-sensitiveDetects asymmetric differences that angle-based methods may ignore.
Band-detail awareResponds to subtle shifts in individual bands—ideal for hyperspectral analyses.
Robust scalingScene-adaptive 0–1 normalization simplifies thresholding and comparison.

When to use SID #

  • Mineral exploration: Differentiate minerals with similar overall shape but distinct fine-band features (e.g., subtle OH or Fe²⁺ absorptions).
  • Chemical residue mapping: Detect slight compositional changes where each band’s contribution is critical.
  • Precision agriculture: Identify plant stress signatures that manifest as nuanced spectral tweaks rather than broad shape changes.
Updated on June 19, 2025