Commit 2a7217e7 authored by Victor Poughon's avatar Victor Poughon
Browse files

DOC: fix more cookbook warnings

No related merge requests found
Showing with 6 additions and 6 deletions
+6 -6
...@@ -69,8 +69,6 @@ private: ...@@ -69,8 +69,6 @@ private:
AddParameter(ParameterType_OutputImage, "out", "Output Image"); AddParameter(ParameterType_OutputImage, "out", "Output Image");
SetParameterDescription( "out" , "The rescaled image filename." ); SetParameterDescription( "out" , "The rescaled image filename." );
AddRAMParameter();
AddParameter(ParameterType_Float, "outmin", "Output min value"); AddParameter(ParameterType_Float, "outmin", "Output min value");
AddParameter(ParameterType_Float, "outmax", "Output max value"); AddParameter(ParameterType_Float, "outmax", "Output max value");
SetDefaultParameterFloat("outmin", 0.0); SetDefaultParameterFloat("outmin", 0.0);
...@@ -81,6 +79,8 @@ private: ...@@ -81,6 +79,8 @@ private:
MandatoryOff("outmin"); MandatoryOff("outmin");
MandatoryOff("outmax"); MandatoryOff("outmax");
AddRAMParameter();
// Doc example parameter settings // Doc example parameter settings
SetDocExampleParameterValue("in", "QB_Toulouse_Ortho_PAN.tif"); SetDocExampleParameterValue("in", "QB_Toulouse_Ortho_PAN.tif");
SetDocExampleParameterValue("out", "rescaledImage.png uchar"); SetDocExampleParameterValue("out", "rescaledImage.png uchar");
......
...@@ -109,14 +109,14 @@ private: ...@@ -109,14 +109,14 @@ private:
"Output image which is the result of the mathematical expressions on input" "Output image which is the result of the mathematical expressions on input"
" image list operands."); " image list operands.");
AddRAMParameter();
AddParameter( ParameterType_String, "exp", "Expression"); AddParameter( ParameterType_String, "exp", "Expression");
SetParameterDescription( SetParameterDescription(
"exp", "exp",
"The muParser mathematical expression to apply on input images." "The muParser mathematical expression to apply on input images."
); );
AddRAMParameter();
// Doc example parameter settings // Doc example parameter settings
SetDocExampleParameterValue( SetDocExampleParameterValue(
"il", "il",
......
...@@ -208,8 +208,6 @@ private: ...@@ -208,8 +208,6 @@ private:
AddParameter( ParameterType_OutputImage, "out", "Output Image" ); AddParameter( ParameterType_OutputImage, "out", "Output Image" );
SetParameterDescription( "out", "Output image." ); SetParameterDescription( "out", "Output image." );
AddRAMParameter();
AddParameter( ParameterType_String, "exp", "Expressions" ); AddParameter( ParameterType_String, "exp", "Expressions" );
SetParameterDescription( SetParameterDescription(
"exp", "exp",
...@@ -230,6 +228,8 @@ private: ...@@ -230,6 +228,8 @@ private:
); );
MandatoryOff( "outcontext" ); MandatoryOff( "outcontext" );
AddRAMParameter();
// Doc example parameter settings // Doc example parameter settings
SetDocExampleParameterValue( SetDocExampleParameterValue(
"il", "il",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment