ENH : Wiki for DiapOTB module authored by Gaëlle USSEGLIO's avatar Gaëlle USSEGLIO
# SARInterferogram
Interferogram between two SAR images.
## Description
This application builds the interferogram between two SAR images.
## Parameters
**Input SAR Slave image (Coregistrated image)** `-insarslave image` *Mandatory* <br />
Input SAR Slave image (Coregistrated image).
**Input SAR Master image** `-insarmaster image` *Mandatory* <br />
Input SAR Master image.
**Input DEM (for metadata only)** `-indem image` <br />
Input DEM (for metadata only).
**Input Topographic Phase (estimation with DEM projection)** `-topographicphase image` <br />
Input Topographic Phase (estimation with DEM projection).
**ML factor on distance** `-mlran int` *Default value: 3* <br />
ML factor on distance
**ML factor on azimut** `-mlazi int` *Default value: 3* <br />
ML factor on azimut
**Margin on distance for averaging** `-marginran int` *Default value: 1* <br />
Margin on distance for averaging
**Margin on azimut for averaging** `-marginazi int` *Default value: 1* <br />
Margin on azimut for averaging
**Gain to apply for amplitude estimation** `-gain float` *Default value: 0.1* <br />
Gain to apply for amplitude estimation
**Build interferogram into ortho geometry** `-ortho bool` *Default value: false* <br />
If true, then build interferogram into ortho geometry.
**Interferogram** `-out image [dtype]` *Mandatory* <br />
Output Vector Image : Interferogram.
**Interferogram into ortho geometry** `-outopt image [dtype]` <br />
Output Vector Image : Interferogram into ortho geometry.
**Available RAM (MB)** `-ram int` *Default value: 256* <br />
Available memory for processing (in MB).
## Examples
From the command-line:
```
otbcli_SARInterferogram -insarslave s1b-s4-slc-vv-20160929t014610-20160929t014634-002277-003d71-002.tiff -insarmaster s1a-s4-slc-vv-20160818t014650-20160818t014715-012648-013db1-002_SLC.tiff -indem S21E055.hgt -mlran 3 -mlazi 3 -gain 0.1 -out s1b-s1a-s4-interferogram.tiff
```
From Python:
```
import otbApplication
app = otbApplication.Registry.CreateApplication("SARInterferogram")
app.SetParameterString("insarslave", "s1b-s4-slc-vv-20160929t014610-20160929t014634-002277-003d71-002.tiff")
app.SetParameterString("insarmaster", "s1a-s4-slc-vv-20160818t014650-20160818t014715-012648-013db1-002_SLC.tiff")
app.SetParameterString("indem", "S21E055.hgt")
app.SetParameterInt("mlran", 3)
app.SetParameterInt("mlazi", 3)
app.SetParameterFloat("gain", 0.1)
app.SetParameterString("out", "s1b-s1a-s4-interferogram.tiff")
app.ExecuteAndWriteOutput()
```
## Limitations
Only Sentinel 1 products are supported for now.