Commit 98a7cf2f authored by Pierre Lassalle's avatar Pierre Lassalle

Wrapper application and change SetDefaultParameter + AddChoice

parent 6092f4f1
......@@ -52,18 +52,18 @@ namespace otb
AddParameter(ParameterType_OutputFilename, "out", "Ouput Label Image");
AddParameter(ParameterType_Choice, "criterion", "Homogeneity criterion to use");
AddChoice("bs", "Baatz & Schape");
AddChoice("ed", "Euclidean Distance");
AddChoice("fls", "Full Lambda Schedule");
AddChoice("", "Baatz & Schape");
AddChoice("criterion.ed", "Euclidean Distance");
AddChoice("criterion.fls", "Full Lambda Schedule");
AddParameter(ParameterType_Float, "threshold", "Threshold for the criterion");
AddParameter(ParameterType_Int, "niter", "Number of iterations");
SetDefaultParameterFloat("niter", 0);
SetDefaultParameterInt("niter", 0);
AddParameter(ParameterType_Int, "speed", "Activate it to boost the segmentation speed");
SetDefaultParameterFloat("speed", 0);
SetDefaultParameterInt("speed", 0);
// For Baatz & Schape
......@@ -172,3 +172,4 @@ namespace otb
} // end of namespace otb
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment