Install
openclaw skills install @ruiduobao/geoskill-dinsar-coherence-analysis从配准主/从复SLC估计多视复相干系数γ与干涉相位,识别稳定散射体与去相关变化区(建筑变化/滑坡/植被),输出相干性与相位GeoTIFF及统计JSON。D-InSAR complex coherence and interferometric phase estimation with multi-looking.
openclaw skills install @ruiduobao/geoskill-dinsar-coherence-analysisEstimates the complex coherence and interferometric phase from registered master / slave complex single-look images (SLC):
--looks-r × --looks-a multi-looking window. γ∈[0,1]: stable scatterers (buildings, exposed bedrock) have high coherence; changed areas (new construction / demolition, landslides, vegetation) decorrelate and show low coherence.Multi-looking is implemented with a boxcar sliding-window mean; normalization in the numerator and denominator cancels out within the same window.
pip install numpy rasterio scipy
python geoskill-dinsar-coherence-analysis.py --bbox 116.0 39.0 117.0 40.0 --output-dir ./out
python geoskill-dinsar-coherence-analysis.py --bbox 116 39 117 40 --synthetic --looks-r 5 --looks-a 1 --output-dir ./syn
python geoskill-dinsar-coherence-analysis.py --input master_slc.tif --slave slave_slc.tif --looks-r 5 --looks-a 2 --output-dir ./real
python geoskill-dinsar-coherence-analysis.py --bbox 116 39 117 40 --looks-r 8 --looks-a 4 --output-dir ./smooth --quiet
python geoskill-dinsar-coherence-analysis.py --bbox 121 31 122 32 --polarization vh --coh-threshold 0.4 --output-dir ./sh --quiet
| File | Format | Description |
|---|---|---|
coherence.tif | GeoTIFF (float32) | Complex coherence γ∈[0,1], EPSG:4326 |
phase.tif | GeoTIFF (float32) | Interferometric phase φ∈(-π,π], EPSG:4326 |
coherence_statistics.json | JSON | Mean / quantiles / low-coherence area, etc. |
output-manifest.json | JSON | Run manifest |
--synthetic requires no network.MIT
从配准后的主 / 从复单视图像(SLC)估计 复相干系数 与 干涉相位:
--looks-r × --looks-a 多视窗口内估计。γ∈[0,1]:稳定散射体(建筑、
裸岩)相干性高;变化区域(新建 / 拆除、滑坡体、植被)去相关、相干性低。多视用 boxcar 滑窗均值实现,分子分母同窗口归一化相互抵消。
pip install numpy rasterio scipy
python geoskill-dinsar-coherence-analysis.py --bbox 116.0 39.0 117.0 40.0 --output-dir ./out
python geoskill-dinsar-coherence-analysis.py --bbox 116 39 117 40 --synthetic --looks-r 5 --looks-a 1 --output-dir ./syn
python geoskill-dinsar-coherence-analysis.py --input master_slc.tif --slave slave_slc.tif --looks-r 5 --looks-a 2 --output-dir ./real
python geoskill-dinsar-coherence-analysis.py --bbox 116 39 117 40 --looks-r 8 --looks-a 4 --output-dir ./smooth --quiet
python geoskill-dinsar-coherence-analysis.py --bbox 121 31 122 32 --polarization vh --coh-threshold 0.4 --output-dir ./sh --quiet
| 文件 | 格式 | 说明 |
|---|---|---|
coherence.tif | GeoTIFF (float32) | 复相干系数 γ∈[0,1],EPSG:4326 |
phase.tif | GeoTIFF (float32) | 干涉相位 φ∈(-π,π],EPSG:4326 |
coherence_statistics.json | JSON | 均值 / 分位数 / 低相干区面积等 |
output-manifest.json | JSON | 运行清单 |
--synthetic 无任何网络。MIT