SAR change detection with SNAP

From AWF-Wiki
Jump to: navigation, search

In this tutorial we will use Level-1 Ground Range Detected (GRD) Sentinel-1 data downloaded from the Copernicus Open Access Hub. The example are fire events during 2019 in a peat forest located in Eastern Jambi, Sumatra, Indonesia.

Contents

Data transfer

Download example data from STud.IP or use data from your personal region of interest: two Sentinel-1 scenes one pre-event acquisition date and one post-event date. Follow and adapt accordingly the instruction on Downloading Sentinel-2 images. Sentinel-1 data can have different characteristics (product type, polarization, sensor mode and ascending/descending orbit). Make sure, that you have the same characteristics for both images. Set the sensing period (e.g. from 01.06.2019 to 30.11.2019). Select Product type GRD and sensor mode IW. Download the images of the 06.06.2019 and 21.11.2019 (both GRD, VV/VH, IW, Descending).

Esa openhub S1.png

Visualization of amplitude bands

  • Open SNAP Desktop.
  • Go to File → Import → SAR sensors → Sentinel-1 and select the downloaded zip files.
  • In Product Explorer click on + to unfold the product folders. Mark the Amplitude_VV bands of both products.
  • Right click Open 2 Image Window.
  • Windows → Tile Horizontally. Both Amplitude bands are shown side by side geometrically linked to each other. Make sure the option View --> Synchronise Image View and View --> Synchronise Image Cursorsis activated).
  • Adjust the viewer size that they are evenly.
  • Zoom to an area of interest where you may detect changes (see below). Compare the pre-event (2019-06-06) and post-event image (2019-11-21).

Snap sidebyside.png

Subsetting

Subset the Sentinel-1 scenes reducing the data volume.

  • Activate the pre-event image clicking on the tab of the viewer. The active image is marked with a yellow frame.

SNAP Select Subset Area.PNG

  • Right click into the active image and select Spatial Subset from View....

SNAP Subset.PNG

  • Besides a spatial subset you can also select a band subset with this tool. Go to the tab Band subset and select only one band Amplitude_VV.
  • Click OK.
  • A new Product subset_* can be found in the Product Explorer.

+ Activate the prost-event image and repeat the work steps above. Note, the resulting images are still in acquisition geometry, whereby the images appear mirrored.

Radiometric and geometric calibration

Apply Orbit File

  • Select the subset pre-event product from the previous step within the Product Explorer.
  • Go to Radar → Apply Orbit File
  • Default settings are fine.
  • Select target product directory.

Snap apply orbit.png

  • Click Run.

Radiometric Calibration

  • Select the product from the previous step within the Product Explorer on the left side.
  • Go to Radar → Radiometric → Calibrate
  • Select target product directory.
  • Go to the Processing Parameters tab and check sigma0. (You could also use gamma0 processing.)

Snap calibrate.png

  • Click Run.

Single Product Speckle Filter

  • Select the product from the previous step within the Product Explorer on the left side.
  • For speckle filtering, there are many different options of filter algorithms and window size.
  • Use the Lee filter with a window size of 3x3.
  • Go to Radar → Speckle Filtering → Single Product Speckle Filter
  • Select target product directory.
  • Go to the Processing Parameters tab and select Lee in the Filter drop down menue.
  • Adapt the window size in X and Y direction accordingly.

Snap leefilter.png

  • Click Run.

Range-Doppler-Terrain Correction

  • Select the product from the previous step within the Product Explorer on the left side.
  • Go to Radar → Geometric → Terrain Correction → Range-Doppler-Terrain Correction
  • Select target product directory.
  • Go to the Processing Parameters tab and select SRTM 1sec HGT (Auto Download) in the Digital Elevation Model drop down menue.

Snap terrain correction.png

  • Click Run.
  • Now the image should be correctly displayed, in terms of geometry, and be smoothed.

Repeat the radiometric and geometric calibration steps for the post-event subset (second acquisiton date)!

Change composite

Create Stack

  • Close all products by marking them all Product Explorer on the left side, right click and Close All Products.
  • File --> Open Product. Load both radiometric and geometric corrected images from the previous step with the extension _Orb_Cal_Spk_TC.dim.
  • Go to Radar → Coregistration → Stack Tools → Create Stack
  • Click on Snap add open button.png button on the right side to select the images.
  • Leave the default settings at the 2-CreateStack tab.
  • Go to the 3-Write tab and select target product directory.

Snap stack.png

  • Click Run.

Convert Datatype

  • Select the product from the previous step within the Product Explorer on the left side.
  • Go to Raster → Data Conversion → Convert datatype
  • Save as GeoTIFF.
  • Select target product directory.

Snap datatype2.png

  • Default settings are fine.
  • Click Run.

Display in QGIS

  • Open QGIS.
  • Data Source Manger --> Browser --> XYZ Tiles --> Google Satellite
  • Load the change compoisite file with extension _Cnv.tif Data Source Manger --> Raster.
  • Layer properties --> Symbology. Adjust the band assignment: Red = Band 2, Green = Band 1, Blue = Band 1.
  • Adjust opacity of the change layer on top of Google Satellite. Layer Properties --> Transparency --> Global Transparency.

In the bi-temporal change composite red indicates change areas.

Snap change composite2.png

Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export