ynsat logo

Squared Euclidean Distance (SED)

< 1 min read

Squared Euclidean Distance focuses on absolute intensity differences between spectra. By summing the squared band-by-band residuals, SED emphasises magnitude variations—making it ideal when brightness itself carries geophysical meaning (e.g., mineral abundance, moisture level).

How it works #

  1. Vector definition R = [ R 1 , R 2 , , R n ] T , S = [ S 1 , S 2 , , S n ] T
  2. Raw squared distance SED raw = i = 1 n ( R i S i ) 2
  3. Scene-adaptive normalisation (0 – 1 scale) Let SED 99 % be the 99-th percentile of all raw SED values in the area of interest. We convert distance to similarity: SED norm = 1 clamp ( SED raw SED 99 % , 0 , 1 )
    • 1 → spectra are identical (zero distance)
    • 0 → spectra differ at or beyond the 99 % scene distance
  1. Key properties
PropertyBenefit
Brightness-sensitiveCaptures absolute reflectance differences—useful when intensity itself is diagnostic.
Simple & fastPure arithmetic; scales well to large raster datasets.
Consistent 0–1 outputEasy thresholding, colour-mapping, and cross-metric comparison.

When to use SED #

  • Ore-grade estimation: Detect pixels whose reflectance magnitude deviates from a high-grade spectral reference.
  • Soil moisture mapping: Brightness increases in certain bands often correlate with drier soils—SED highlights them.
  • Quality control: Identify sensor artefacts or poorly calibrated areas that manifest as uniform offsets in radiance.
Updated on June 19, 2025
Table of contents
Was it helpful ?