PROProduction

Coregister moving SAR imagery to a reference grid (translation/affine/local-offset-grid modes).

workflow pro

Workflow Narrative

SAR Coregistration

Problem It Solves

Can we put a moving SAR scene on the reference scene grid with enough geometric confidence for pairwise analytics?

Who It Is For

Primary User

InSAR/infrastructure monitoring teams, geospatial intelligence groups, and SAR QA operations.

What It Does

How It Works

Why It Wins

Typical Buying Trigger

A team needs a defensible alignment stage before coherence, pair differencing, or cross-sensor fusion.

Typical Presets

Inputs

ParameterOptionalDescription
reference_sar or reference_sar_bundlenoReference SAR source provided either as a raster path or a supported SAR bundle.
moving_sar or moving_sar_bundlenoMoving SAR source provided either as a raster path or a supported SAR bundle.
reference_measurement_key, moving_measurement_keyyesOptional bundle measurement selectors when either SAR bundle contains multiple measurement assets.
coreg_modeyesCoregistration mode: `translation`, `affine`, or `local_offset_grid` (experimental for affine/local).
max_offset_px, decimation, min_overlap_fractionyesSearch-radius and sampled-overlap controls for correlation-based shift estimation.
input_dem, dem_z_factoryesOptional DEM-assisted initialization controls used for geometry-informed matching support.
phase_a_* thresholdsyesOptional acceptance/continuity threshold overrides for deterministic quality gating.
resample_method, output_prefixyesOutput resampling mode and artifact prefix.

Outputs

ParameterTypeDescription
moving_alignedGeoTIFFMoving SAR raster resampled onto the reference SAR grid.
offset_xGeoTIFFConstant x-offset surface in map units for the estimated translation.
offset_yGeoTIFFConstant y-offset surface in map units for the estimated translation.
transformJSONMachine-readable transform and QA summary for the estimated alignment.
summaryJSONMachine-readable workflow report containing parameters, QA diagnostics, and artifact paths.
html_reportHTMLHuman-readable report generated from the summary contract for review and traceability.

Python Example

import whitebox_workflows as wbw

wbe = wbw.WbEnvironment(include_pro=True, tier="pro")

result = wbe.sar_coregistration(
    reference_sar_bundle="data/S1_reference.SAFE",
    reference_measurement_key="vv",
    moving_sar_bundle="data/S1_pair.SAFE",
    moving_measurement_key="vv",
    max_offset_px=24,
    decimation=4,
    resample_method="bilinear",
    output_prefix="output/sar_coreg",
)

print(result)

License Notice

Use of this function requires a license for Whitebox Workflows Professional (WbW-Pro). Please visit www.whiteboxgeo.com to purchase a license.

Project Links

WbW Homepage User Manual Learn More