SARGridStatistics

Computes grid statistics.

Description

This application computes some statistics for a deformation grid such as minimum, maximum shift or mean shift on each dimension.

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 grid (Vector Image) -ingrid image Mandatory
Input Grid Vector Image (Shift_ran, Shift_azi).

Threshold for computation of mean shift (used only if grid components are superior or equal to 3) -threshold float Default value: 0.3
Threshold for computation of mean shift (used only if grid components are superior or equal to 3).

Minumum shift on range (output of this application) -minran float Default value: 0
Minumum shift on range.

Minumum shift on azimut (output of this application) -minazi float Default value: 0
Minumum shift on azimut.

Maximum shift on range (output of this application) -maxran float Default value: 0
Maximum shift on range.

Maximum shift on azimut (output of this application) -maxazi float Default value: 0
Maximum shift on azimut.

Mean shift on range (output of this application) -meanran float Default value: 0
Mean shift on range.

Mean shift on azimut (output of this application) -meanazi float Default value: 0
Mean shift on azimut.

Available RAM (MB) -ram int Default value: 256
Available memory for processing (in MB).

Examples

From the command-line:

otbcli_SARGridStatistics -ingrid ./grid.tiff

From Python:

import otbApplication

app = otbApplication.Registry.CreateApplication("SARGridStatistics")

app.SetParameterString("ingrid", "./grid.tiff")

app.ExecuteAndWriteOutput()

Limitations

Only Sentinel 1 (IW and StripMap mode) and Cosmo products are supported for now.