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

DOC: fix more cookbook warnings

parent c248088f
......@@ -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");
......
......@@ -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",
......
......@@ -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",
......
Markdown is supported
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