diff --git a/Modules/Applications/AppImageUtils/app/otbRescale.cxx b/Modules/Applications/AppImageUtils/app/otbRescale.cxx index ad0992f5048a89db4af581e732dc1e44859e806c..ab7b27c23ee0ced32ff7a8ba7abe3964de0d86a5 100644 --- a/Modules/Applications/AppImageUtils/app/otbRescale.cxx +++ b/Modules/Applications/AppImageUtils/app/otbRescale.cxx @@ -69,8 +69,6 @@ private: AddParameter(ParameterType_OutputImage, "out", "Output Image"); SetParameterDescription( "out" , "The rescaled image filename." ); - AddRAMParameter(); - AddParameter(ParameterType_Float, "outmin", "Output min value"); AddParameter(ParameterType_Float, "outmax", "Output max value"); SetDefaultParameterFloat("outmin", 0.0); @@ -81,6 +79,8 @@ private: MandatoryOff("outmin"); MandatoryOff("outmax"); + AddRAMParameter(); + // Doc example parameter settings SetDocExampleParameterValue("in", "QB_Toulouse_Ortho_PAN.tif"); SetDocExampleParameterValue("out", "rescaledImage.png uchar"); diff --git a/Modules/Applications/AppMathParser/app/otbBandMath.cxx b/Modules/Applications/AppMathParser/app/otbBandMath.cxx index b738cdfa4f3646185004c2d520c4691af76570f2..fdcc05c795218158b44f82ed3d6a5d956ff44973 100644 --- a/Modules/Applications/AppMathParser/app/otbBandMath.cxx +++ b/Modules/Applications/AppMathParser/app/otbBandMath.cxx @@ -109,14 +109,14 @@ private: "Output image which is the result of the mathematical expressions on input" " image list operands."); - AddRAMParameter(); - AddParameter( ParameterType_String, "exp", "Expression"); SetParameterDescription( "exp", "The muParser mathematical expression to apply on input images." ); + AddRAMParameter(); + // Doc example parameter settings SetDocExampleParameterValue( "il", diff --git a/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx b/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx index 70f8a6874dba5fc3d11f9bbb190a7e429e7edda9..15993a3c792b3fe49df9875349741cd448dd8a02 100644 --- a/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx +++ b/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx @@ -208,8 +208,6 @@ private: AddParameter( ParameterType_OutputImage, "out", "Output Image" ); SetParameterDescription( "out", "Output image." ); - AddRAMParameter(); - AddParameter( ParameterType_String, "exp", "Expressions" ); SetParameterDescription( "exp", @@ -230,6 +228,8 @@ private: ); MandatoryOff( "outcontext" ); + AddRAMParameter(); + // Doc example parameter settings SetDocExampleParameterValue( "il",