AddParameter(ParameterType_Bool,"mean","Compute normals from means of cartesian positions on each side");
SetParameterDescription("mean","Compute normals from means of cartesian positions on each side. By default, use only the positions of the 4 immediate side pixels (right, left, above, below)");
SetParameterDescription("indem","DEM to extract DEM geometry.");
AddParameter(ParameterType_InputImage,"insar","Input SAR image");
SetParameterDescription("insar","SAR Image to extract SAR geometry.");
AddParameter(ParameterType_Int,"indirectiondemc","Range direction for DEM scan");
SetParameterDescription("indirectiondemc","Range direction for DEM scan.");
SetDefaultParameterInt("indirectiondemc",1);
MandatoryOff("indirectiondemc");
AddParameter(ParameterType_Int,"indirectiondeml","Azimut direction for DEM scan");
SetParameterDescription("indirectiondeml","Azimut direction for DEM scan.");
SetDefaultParameterInt("indirectiondeml",1);
MandatoryOff("indirectiondeml");
AddParameter(ParameterType_Int,"mlran","Averaging on distance (output geometry)");
SetParameterDescription("mlran","Averaging on distance (output geometry)");
SetDefaultParameterInt("mlran",3);
SetMinimumParameterIntValue("mlran",1);
MandatoryOff("mlran");
AddParameter(ParameterType_Int,"mlazi","Averaging on azimut (output geometry)");
SetParameterDescription("mlazi","Averaging on azimut (output geometry)");
SetDefaultParameterInt("mlazi",3);
SetMinimumParameterIntValue("mlazi",1);
MandatoryOff("mlazi");
AddParameter(ParameterType_OutputImage,"out","Output cartesian (mean) Image for DEM Projection");
SetParameterDescription("out","Output cartesian (mean) Image for DEM Projection."
" The first 3 bands contain X, Y and Z cartesian coordinates of the point in original SAR geometry."
" The last band is a mask band: 0: XYZ coordinates cannot be computed; 1: coordinates are nominally computed; 2: coordinates are estimated, but point is estimated in shadow"
// Let's trust the end-user. Even if the value doesn't match
otbLogMacro(Warning,<<"Trusting the nodata value required in extended filename. User specified "<<nodata<<" value won't be propagated in image metadata");