Instructions to use FPSica/beyond-backscatter-grd-gee with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use FPSica/beyond-backscatter-grd-gee with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://FPSica/beyond-backscatter-grd-gee") - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: keras
|
| 3 |
+
tags:
|
| 4 |
+
- remote-sensing
|
| 5 |
+
- sar
|
| 6 |
+
- sentinel-1
|
| 7 |
+
- coherence
|
| 8 |
+
- earth-engine
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Beyond Backscatter GRD/GEE Coherence Estimator
|
| 12 |
+
|
| 13 |
+
This model package contains the TensorFlow/Keras GRD/GEE model weights for **Beyond Backscatter: InSAR Coherence from Detected SAR Images**.
|
| 14 |
+
|
| 15 |
+
GitHub repository:
|
| 16 |
+
https://github.com/FPSica/BeyondBackscatter
|
| 17 |
+
|
| 18 |
+
Public Colab notebook:
|
| 19 |
+
https://colab.research.google.com/github/FPSica/BeyondBackscatter/blob/main/notebooks/back2coh_grd_gee_colab.ipynb
|
| 20 |
+
|
| 21 |
+
## Task
|
| 22 |
+
|
| 23 |
+
Predict an InSAR-like coherence map from two detected Sentinel-1 GRD/GEE SAR backscatter images.
|
| 24 |
+
|
| 25 |
+
## Inputs
|
| 26 |
+
|
| 27 |
+
The public notebook downloads two Sentinel-1 GRD sigma0 backscatter images from Google Earth Engine in linear scale. The default polarization is `VV`.
|
| 28 |
+
|
| 29 |
+
Earth Engine preprocessing:
|
| 30 |
+
|
| 31 |
+
- collection: `COPERNICUS/S1_GRD`;
|
| 32 |
+
- acquisition mode: `IW`;
|
| 33 |
+
- orbit pass filtering, default `ASCENDING`;
|
| 34 |
+
- optional relative orbit filtering;
|
| 35 |
+
- two user-selected date windows;
|
| 36 |
+
- median composite for each date window;
|
| 37 |
+
- dB-to-linear conversion using `10 ** (db / 10)`;
|
| 38 |
+
- selected polarization;
|
| 39 |
+
- clipped region of interest;
|
| 40 |
+
- 10 m output scale by default.
|
| 41 |
+
|
| 42 |
+
Model preprocessing:
|
| 43 |
+
|
| 44 |
+
- convert downloaded linear sigma0 back to dB with `10 * log10(linear + eps)`;
|
| 45 |
+
- clip to `[-20, 0]` dB;
|
| 46 |
+
- normalize to `[0, 1]`;
|
| 47 |
+
- channel order: `[t1, t2]`;
|
| 48 |
+
- tiled inference with 128 x 128 patches and Kaiser-window aggregation.
|
| 49 |
+
|
| 50 |
+
## Outputs
|
| 51 |
+
|
| 52 |
+
The model outputs a predicted coherence map in `[0, 1]`. The public notebook saves the map as GeoTIFF, PNG, and NumPy products, preserving georeferencing from the downloaded Sentinel-1 inputs.
|
| 53 |
+
|
| 54 |
+
## Files
|
| 55 |
+
|
| 56 |
+
- `model.weights.h5`: real GRD/GEE TensorFlow/Keras weights.
|
| 57 |
+
- `config.yaml`: model, preprocessing, tiling, and output conventions.
|
| 58 |
+
- `model_metadata.json`: lightweight public packaging metadata.
|
| 59 |
+
|
| 60 |
+
The TensorFlow/Keras architecture implementation is provided by the GitHub repository in `src/colab_grd_gee/tf_model.py`.
|
| 61 |
+
|
| 62 |
+
## Limitations
|
| 63 |
+
|
| 64 |
+
- This is not the SLC-based workflow.
|
| 65 |
+
- This is not true interferometric processing from complex SLC data.
|
| 66 |
+
- The pseudo-RGB products produced by the notebook are SAR/coherence visualizations, not optical imagery.
|
| 67 |
+
- Earth Engine authentication and a valid Earth Engine-enabled Google Cloud project are required to run the full notebook.
|
| 68 |
+
- Start with a small ROI before processing larger areas.
|
| 69 |
+
|
| 70 |
+
## Citation
|
| 71 |
+
|
| 72 |
+
Beyond Backscatter: InSAR Coherence from Detected SAR Images
|
| 73 |
+
Francescopaolo Sica, Andrea Pulella, Michael Schmitt
|
| 74 |
+
|
| 75 |
+
## License
|
| 76 |
+
|
| 77 |
+
The GitHub code repository is MIT licensed. The model-weight license should be confirmed by the authors before redistribution or downstream release.
|