ENH : Wiki for DiapOTB module authored by Gaëlle USSEGLIO's avatar Gaëlle USSEGLIO
# SARCartesianMeanEstimation
SAR Cartesian mean estimation thanks to the associated DEM.
## Description
This application estimates a simulated cartesian mean image thanks to a DEM file.
## Parameters
**Input vector of DEM projected into SAR geometry** `-indemproj image` *Mandatory* <br />
Input vector image for cartesian mean estimation.
**Input DEM** `-indem image` *Mandatory* <br />
DEM to extract DEM geometry.
**Input SAR image** `-insar image` *Mandatory* <br />
SAR Image to extract SAR geometry.
**Range direction for DEM scan** `-indirectiondemc int` *Default value: 1* <br />
Range direction for DEM scan.
**Azimut direction for DEM scan** `-indirectiondeml int` *Default value: 1* <br />
Azimut direction for DEM scan.
**Averaging on distance (output geometry)** `-mlran int` *Default value: 3* <br />
Averaging on distance (output geometry)
**Averaging on azimut (output geometry)** `-mlazi int` *Default value: 3* <br />
Averaging on azimut (output geometry)
**Output cartesian (mean) Image for DEM Projection** `-out image [dtype]` *Mandatory* <br />
Output cartesian (mean) Image for DEM Projection.
**Available RAM (MB)** `-ram int` *Default value: 256* <br />
Available memory for processing (in MB).
## Examples
From the command-line:
```
otbcli_SARCartesianMeanEstimation -indemproj CLZY_S21E055.tiff -indem S21E055.hgt -insar s1a-s4-slc-vv-20160818t014650-20160818t014715-012648-013db1-002_SLC.tiff -out s1a-s4-simu-cartMean.tiff
```
From Python:
```
import otbApplication
app = otbApplication.Registry.CreateApplication("SARCartesianMeanEstimation")
app.SetParameterString("indemproj", "CLZY_S21E055.tiff")
app.SetParameterString("indem", "S21E055.hgt")
app.SetParameterString("insar", "s1a-s4-slc-vv-20160818t014650-20160818t014715-012648-013db1-002_SLC.tiff")
app.SetParameterString("out", "s1a-s4-simu-cartMean.tiff")
app.ExecuteAndWriteOutput()
```
## Limitations
Only Sentinel 1 products are supported for now.