Skip to content
Snippets Groups Projects
Commit 1e0cae9c authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

STYLE

parent 5c8d3de6
Branches
Tags
No related merge requests found
...@@ -73,10 +73,10 @@ private: ...@@ -73,10 +73,10 @@ private:
void DoCreateParameters() void DoCreateParameters()
{ {
AddParameter(ParameterType_InputImage, "in", "Input Image"); AddParameter(ParameterType_InputImage, "in", "Input Image");
AddParameter(ParameterType_OutputImage, "out", "Output Image"); AddParameter(ParameterType_OutputImage, "out", "Output Image");
SetParameterDescription( "out","will be used to get the prefix and the extension of the images to write"); SetParameterDescription("out","will be used to get the prefix and the extension of the images to write");
AddParameter(ParameterType_Int, "level", "Number Of Levels"); AddParameter(ParameterType_Int, "level", "Number Of Levels");
SetParameterInt("level", 1); SetParameterInt("level", 1);
...@@ -88,14 +88,13 @@ private: ...@@ -88,14 +88,13 @@ private:
AddParameter(ParameterType_Float, "vfactor", "Subsampling factor"); AddParameter(ParameterType_Float, "vfactor", "Subsampling factor");
SetParameterFloat("vfactor", 0.6); SetParameterFloat("vfactor", 0.6);
// Boolean Fast scheme (remains) // Boolean Fast scheme
// descriptor->AddOption("FastScheme","If used, this option allows // AddParameter(ParameterType_Empty, "fast", "Use Fast Scheme");
// to speed-up computation by iteratively // std::ostringstream desc;
// subsampling previous level of pyramid instead of processing the // desc<<"If used, this option allows to speed-up computation by iteratively"
// full input // <<" subsampling previous level of pyramid instead of processing the full input";
//image each time. Please note that this may result in extra blur // SetParameterDescription("fast", desc.str());
// or extra aliasing.","fast", // MandatoryOff("fast");
//0, false, ApplicationDescriptor::Integer);
} }
void DoUpdateParameters() void DoUpdateParameters()
...@@ -171,7 +170,7 @@ private: ...@@ -171,7 +170,7 @@ private:
// writer label // writer label
std::ostringstream osswriter; std::ostringstream osswriter;
osswriter<< "writer "<< currentLevel; osswriter<< "writer (level "<< currentLevel<<")";
// Set the filename of the current output image // Set the filename of the current output image
paramDown->SetFileName(oss.str()); paramDown->SetFileName(oss.str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment