Spectral Harmonization
General multi-sensor spectral harmonization for multiple Surface Reflectance rasters. A Reference Raster normally defines the common target spectral domain; each input is then harmonized with RSR/SRF convolution, SBAF, or empirical cross-sensor regression and returned as its own harmonized COG.
1. Scope & General Multi-Sensor Contract
Spectral Harmonization converts multiple Surface Reflectance rasters from different sensors into one common reference spectral domain. The tool is intentionally sensor-agnostic: built-in sensor profiles are conveniences for metadata and response definitions, not a whitelist of allowed sensors.
2. Reference Raster & Target Spectral Definition
2.1 Reference Raster
The Reference Raster is the normal center of the workflow. It can come from a built-in or unknown sensor and is used to define the target/reference domain whenever Target Spectral Definition = Auto — From Reference Raster.
Input Rasters ├─ WorldView-3 Surface Reflectance ├─ Pléiades Surface Reflectance └─ Beijing-3A Surface Reflectance Reference Raster └─ Beijing-3A Surface Reflectance Target Spectral Definition └─ Auto — From Reference Raster Result ├─ WorldView-3 → Beijing-like raster ├─ Pléiades → Beijing-like raster └─ Beijing reference → passthrough/reference-domain raster
reference_passthrough.2.2 Target Spectral Definition
| Option | When to use it |
|---|---|
| Auto — From Reference Raster | Default. Derives the target bands, wavelengths/roles and available response information from the selected Reference Raster and its detected metadata/profile. |
| Built-in Sensor Profile | Optional shortcut when the target sensor is known and a nominal platform profile is available. |
| Custom RSR / SRF | Use exact user-supplied target spectral response curves when published or laboratory response data are available. |
| Manual Band Definition | Use for custom/UAV/unknown sensors by declaring band name, center wavelength, optional FWHM and semantic role. |
3. General Sensor Support
The engine resolves spectral information in a general way. Existing raster metadata wins; known profiles only fill missing metadata when the match is defensible.
3.1 Current built-in shortcut profiles
| Profile | Role | Response quality in current implementation |
|---|---|---|
| Landsat 8/9 OLI | Common optical target/source profile | Nominal center + FWHM |
| Sentinel-2 MSI | Multispectral source/target profile | Nominal center + FWHM |
| MODIS Surface Reflectance Bands 1–7 | Broad-area multispectral profile | Nominal center + FWHM |
| PlanetScope SuperDove 8-band | Commercial multispectral profile | Nominal center + FWHM |
| WorldView-3 VNIR 8-band | Commercial VHR multispectral profile | Published band-range approximation |
| Pléiades 1A/1B 4-band | Commercial VHR multispectral profile | Published band-range approximation |
| Beijing-3A 4-band | Commercial VHR multispectral profile | Published band-range approximation |
Additional sensors can be supported without redesigning the tool by adding a profile, supplying exact RSR/SRF, defining manual bands, providing user SBAF coefficients, or using an overlapping reference raster for empirical regression.
3.2 Unknown/custom sensors
4. Method 1 — RSR / SRF Spectral Convolution
RSR/SRF convolution is strongest when the source has dense spectral sampling, such as EMIT or another hyperspectral raster, and the target spectral response is available.
The target response can come from exact Custom RSR/SRF curves or from center wavelength + FWHM definitions. Center/FWHM profiles are converted to a Gaussian approximation:
σ = FWHM / [2√(2 ln2)]
Under the default Common Comparable Target Bands Only policy, the engine keeps only target bands supported by every selected input. It does not invent missing spectral coverage.
5. Method 2 — SBAF / Spectral Band Adjustment Factor
SBAF applies a validated or user-supplied linear transformation between comparable source and target bands.
5.1 General coefficient model
SBAF is not inherently a Sentinel-2-only method. In the general architecture, a coefficient set belongs to a specific source → target relationship and should only be used for that validated pair.
| Coefficient Source | Behavior |
|---|---|
| Auto — validated library when available | Uses a built-in validated pair only when the source/target relationship is recognized. |
| Validated Coefficient Library | Requests a validated internal pair. The current built-in validated SBAF dataset is NASA HLS-style Sentinel-2 MSI → Landsat OLI. |
| User Coefficients | Accepts source-specific or default JSON mappings containing source band/wavelength, slope and intercept. |
5.2 Sentinel-2 in the current implementation
Sentinel-2A/B/C remains supported internally for the validated HLS-style MSI→OLI profile. Platform detection is automatic per input and is not a global user-facing requirement.
Sentinel-2A/B/C Surface Reflectance
↓
Auto detects platform
↓
Validated MSI → OLI SBAF available
↓
Use matching HLS-style coefficient table6. Method 3 — Empirical Cross-Sensor Regression
Empirical regression learns the mapping between a source raster and an actual overlapping Reference Raster. It is particularly useful for arbitrary commercial or custom multispectral sensors when no validated SBAF exists.
6.1 Models
| Model | Form | Use |
|---|---|---|
| Robust Band-wise Linear | yb = abxb* + cb | Default; reduces influence of outlying samples. |
| Band-wise Linear OLS | Same linear form using ordinary least squares. | Simple baseline when overlap samples are clean. |
| Multivariate Ridge Regression | ŷ = β₀ + Xβ with L2 regularization | Allows multiple source bands to predict target/reference bands. |
Without explicit band mapping, the engine tries wavelength matching, then semantic roles such as Blue/Green/Red/NIR/SWIR, and finally same-position fallback when dimensions match.
7. Auto Routing — Resolved Independently per Input
Auto is now resolved per source raster. A mixed collection can therefore use different methods while all outputs converge to the same reference domain.
7.1 Mixed commercial example
Inputs: WorldView-3 Pléiades EMIT Beijing-3A Reference: Beijing-3A Method = Auto Possible routing: WorldView-3 → Empirical Regression → Beijing domain Pléiades → Empirical Regression → Beijing domain EMIT → RSR Convolution → Beijing domain Beijing → Reference Passthrough
8. Target Bands & Spatial Grid
8.1 Target Band Policy
| Policy | Meaning |
|---|---|
| Common Comparable Target Bands Only | Default. Keeps only target/reference bands that every selected input can support under its resolved method. |
| Require All Reference / Target Bands | Requires the complete target definition and fails when necessary mappings cannot be generated. |
| Target Bands + Preserve Extra Source Bands | Keeps target-domain bands and source-specific extra bands; provenance must distinguish harmonized versus native extras. |
8.2 Spatial Grid
| Mode | Behavior |
|---|---|
| Preserve Each Source Grid | Default. Each source keeps its spatial sampling logic; current implementation normalizes the output to EPSG:4326. |
| Match Reference Raster Grid | Aligns harmonized source data to the selected Reference Raster grid. |
Spatial resampling options are nearest, bilinear (default), cubic and average.
9. Application Parameters
| Parameter | Default | Purpose |
|---|---|---|
| Input Rasters | — | Two or more Surface Reflectance rasters from supported or unknown sensors. |
| Reference Raster | Recommended | Defines the common reference domain for Auto — From Reference Raster and is required for empirical regression. |
| Harmonization Method | Auto | Auto, RSR/SRF Convolution, SBAF or Empirical Cross-Sensor Regression. |
| Target Spectral Definition | Auto — From Reference Raster | Reference-centered target definition. Replaces the old global Target Sensor concept. |
| Built-in Target Profile | Landsat 8/9 OLI | Shown only when Built-in Sensor Profile is selected. |
| Custom Target RSR / SRF | — | Exact target response arrays supplied as JSON. |
| Manual Target Band Definition | — | Custom band names, center wavelengths, FWHM and roles. |
| SBAF Coefficient Source | Auto | Validated library when available or user coefficients. |
| User SBAF Coefficients | — | Single or per-source source→target mappings. |
| Empirical Regression Model | Robust Band-wise Linear | Robust, OLS or multivariate ridge. |
| Regression Sample Pixels | 50,000 | Allowed 2,000–250,000. |
| Ridge Regularization | 0.001 | Shown for Multivariate Ridge. |
| Optional Empirical Band Mapping | Auto | Explicit target→source mapping when automatic wavelength/role mapping is insufficient. |
| Maximum Wavelength Match Distance | 120 nm | Allowed 1–500 nm. |
| Target Band Policy | Common Comparable | Controls supported/required/extra bands. |
| Spatial Grid | Preserve Source | Preserve each source grid or match reference grid. |
| Spatial Resampling | Bilinear | Nearest, bilinear, cubic or average. |
| Surface Reflectance Validation | Auto | Auto, Strict or Off. |
10. Multi-Output Collection & Provenance
Every selected input produces one child raster output. Collection metadata records both the requested method and the actual method used per input.
{
"collection": {
"collection_type": "spectral_harmonization",
"raster_count": 4,
"requested_method": "auto",
"methods_used": [
"empirical_regression",
"rsr_convolution",
"reference_passthrough"
],
"method_by_input": {
"worldview3_scene.tif": "empirical_regression",
"pleiades_scene.tif": "empirical_regression",
"emit_scene.tif": "rsr_convolution",
"beijing_reference.tif": "reference_passthrough"
},
"target_definition": "reference_metadata",
"target_sensor_profile": "beijing3a",
"target_label": "Beijing-3A ...",
"reference_raster": "beijing_reference.tif"
},
"outputs": [
{"source":"worldview3_scene.tif", "method":"empirical_regression"},
{"source":"pleiades_scene.tif", "method":"empirical_regression"},
{"source":"emit_scene.tif", "method":"rsr_convolution"},
{"source":"beijing_reference.tif", "method":"reference_passthrough"}
]
}Each child output also carries source name, detected source sensor/profile, processing level, target definition, target profile/label, band policy, spatial grid and method-specific analysis metadata.
11. Recommended Workflows
WorldView / Pléiades → Beijing
WorldView-3 SR Pléiades SR + Beijing Reference SR ↓ Auto / Empirical ↓ Beijing-like common bands per input
Hyperspectral → reference sensor
EMIT L2A SR + target/reference RSR ↓ RSR Convolution ↓ Target-like bands per scene
Sentinel-2 → Landsat
Sentinel-2 L2A + Landsat OLI target ↓ Validated HLS-style SBAF (platform auto-detected) ↓ OLI-like common bands
12. Validation & Quality Control
- Use decoded physical Surface Reflectance. Auto validation rejects known DN/radiance/TOA inputs and implausible physical ranges.
- For RSR convolution, reliable source wavelengths and a defensible target spectral response are essential.
- Prefer exact official RSR/SRF curves over nominal center/FWHM Gaussian approximations.
- For SBAF, coefficients must belong to the correct source/target relationship; do not reuse Sentinel→Landsat coefficients for WorldView→Beijing or other unrelated pairs.
- For empirical regression, use close acquisition dates, good registration, cloud/shadow masking and stable surfaces.
- Check semantic band roles and wavelength matching, especially for NIR, red-edge and SWIR bands that may differ substantially between sensors.
- Use Common Comparable Target Bands Only when building cross-sensor time series unless every target band is scientifically supported.
- Record
method_by_inputwhen Auto is used, because different sources in the same collection may have different harmonization methods. - Do not interpret preserved extra source bands as harmonized target bands.
13. Scientific & Technical References
- NASA Harmonized Landsat Sentinel-2 (HLS). Algorithms — Bandpass Adjustment. Describes OLI-referenced MSI bandpass adjustment derived from hyperspectral spectra convolved with OLI/MSI RSRs. NASA HLS.
- Claverie, M. et al. (2018). The Harmonized Landsat and Sentinel-2 surface reflectance data set. Remote Sensing of Environment 219, 145–161. DOI: 10.1016/j.rse.2018.09.002.
- Roy, D. P. et al. (2016). Characterization of Landsat-7 to Landsat-8 reflective wavelength and normalized difference vegetation index continuity. Remote Sensing of Environment 185, 57–70. DOI: 10.1016/j.rse.2015.12.024.
- U.S. Geological Survey. Landsat Collection 2 Surface Reflectance documentation. USGS.