SARCoRegistration¶
CoRegistration between two SAR images.
Description¶
This application does the coregistration between two SAR images thanks to a deformation grid.
This application has several output images and supports “multi-writing”. Instead of computing and writing each image independently, the streamed image blocks are written in a synchronous way for each output. The output images will be computed strip by strip, using the available RAM to compute the strip size, and a user defined streaming mode can be specified using the streaming extended filenames (type, mode and value). Note that multi-writing can be disabled using the multi-write extended filename option: &multiwrite=false, in this case the output images will be written one by one. Note that multi-writing is not supported for MPI writers.
Parameters¶
Input deformation grid -ingrid image
Mandatory
Input deformation grid.
Input SAR Slave image -insarslave image
Mandatory
Input SAR Slave image.
Input SAR Master image (for metadata only) -insarmaster image
Mandatory
Input SAR Master image (for metadata only).
Grid Step for range dimension into SLC geometry -gridsteprange int
Default value: 150
Grid Step for range dimension into SLC geometry.
Grid Step for azimut dimension into SLC geometry -gridstepazimut int
Default value: 150
Grid Step for azimut dimension into SLC geometry.
Doppler 0 in azimut for SAR Slave Image -doppler0 float
Default value: 0
Doppler 0 in azimut for SAR Slave Image.
Size Tiles for output cut -sizetiles int
Default value: 50
Size Tiles for output cut.
Margin for window extractions into Slave Image -margin int
Default value: 7
Margin for window extractions into Slave Image.
Number of Ramps for filtering inside coregistration -nbramps int
Default value: 257
Number of Ramps for filtering inside coregistration.
Coregistrated slave image into master geometry -out image [dtype]
Mandatory
Output Image : Coregistrated slave image into master geometry.
Set Output conversion with cInt16 to false -cint16 bool
Default value: false
If true, then output conversion to cInt16.
Available RAM (MB) -ram int
Default value: 256
Available memory for processing (in MB).
Examples¶
From the command-line:
otbcli_SARCoRegistration -insarslave s1b-s4-slc-vv-20160929t014610-20160929t014634-002277-003d71-002.tiff -insarmaster s1a-s4-slc-vv-20160818t014650-20160818t014715-012648-013db1-002_SLC.tiff -ingrid ./FineDeformation.tiff -doppler0 0.011851326955 -out s1b-s4-coregistrated.tiff
From Python:
import otbApplication
app = otbApplication.Registry.CreateApplication("SARCoRegistration")
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("ingrid", "./FineDeformation.tiff")
app.SetParameterFloat("doppler0", 0.011851326955)
app.SetParameterString("out", "s1b-s4-coregistrated.tiff")
app.ExecuteAndWriteOutput()
Limitations¶
Only Sentinel 1 (IW and StripMap mode) and Cosmo products are supported for now.