diff --git a/Anima/filtering/gaussianizer/animaGaussianizer.cxx b/Anima/filtering/gaussianizer/animaGaussianizer.cxx index 3eeeb9dca..abf107393 100644 --- a/Anima/filtering/gaussianizer/animaGaussianizer.cxx +++ b/Anima/filtering/gaussianizer/animaGaussianizer.cxx @@ -32,72 +32,19 @@ int main(int ac, const char** av) TCLAP::CmdLine cmd("INRIA / IRISA - VisAGeS Team", ' ',ANIMA_VERSION); - TCLAP::ValueArg inputArg("i", - "input", - "Input Rice-corrupted image", - true, - "", - "Input Rice-corrupted image", - cmd); - - TCLAP::ValueArg outputArg("o", - "output", - "Output Gaussian-corrupted image", - true, - "", - "Output Gaussian-corrupted image", - cmd); - - TCLAP::ValueArg scaleArg("s", - "scale", - "Output scale image", - false, - "", - "Output scale image", - cmd); - - TCLAP::ValueArg maskArg("m", - "mask", - "Optional segmentation mask", - false, - "", - "Optional segmentation mask", - cmd); - + TCLAP::ValueArg inputArg("i", "input", "Input Rice-corrupted image", true, "", "Input Rice-corrupted image", cmd); + TCLAP::ValueArg outputArg("o", "output", "Output Gaussian-corrupted image", true, "", "Output Gaussian-corrupted image", cmd); TCLAP::ValueArg bvecArg("g","grad","Input gradients",true,"","Input gradients",cmd); TCLAP::ValueArg bvalArg("b","bval","Input b-values",true,"","Input b-values",cmd); - TCLAP::ValueArg epsArg("E", - "epsilon", - "Minimal absolute value difference betweem fixed point iterations (default: 1e-8)", - false, - 1.0e-8, - "Minimal absolute value difference betweem fixed point iterations", - cmd); - - TCLAP::ValueArg sigmaArg("S", - "sigma", - "Gaussian standard deviation for defining neighbor weights (default: 1.0)", - false, - 1.0, - "Gaussian standard deviation for defining neighbor weights", - cmd); + TCLAP::ValueArg scaleArg("s", "scale", "Output scale image", false, "", "Output scale image", cmd); + TCLAP::ValueArg maskArg("m", "mask", "Segmentation mask", false, "", "Segmentation mask", cmd); - TCLAP::ValueArg maxiterArg("I", - "maxiter", - "Maximum number of iterations (default: 100)", - false, - 100, - "Maximum number of iterations", - cmd); + TCLAP::ValueArg epsArg("E", "epsilon", "Minimal absolute value difference betweem fixed point iterations (default: 1e-8)", false, 1.0e-8, "Minimal absolute value difference betweem fixed point iterations", cmd); + TCLAP::ValueArg sigmaArg("S", "sigma", "Gaussian standard deviation for defining neighbor weights (default: 1.0)", false, 1.0, "Gaussian standard deviation for defining neighbor weights", cmd); - TCLAP::ValueArg nbpArg("T", - "nbp", - "Number of threads to run on -> default : automatically determine", - false, - itk::MultiThreader::GetGlobalDefaultNumberOfThreads(), - "Number of threads", - cmd); + TCLAP::ValueArg maxiterArg("I", "maxiter", "Maximum number of iterations (default: 100)", false, 100, "Maximum number of iterations", cmd); + TCLAP::ValueArg nbpArg("T", "nbp", "Number of threads to run on -> default : automatically determine", false, itk::MultiThreader::GetGlobalDefaultNumberOfThreads(), "Number of threads", cmd); try { @@ -297,8 +244,6 @@ int main(int ac, const char** av) } anima::writeImage(outputArg.getValue() + to_string(i + 1, 3) + ".nrrd", mainFilter->GetGaussianImage()); - - return EXIT_SUCCESS; } return EXIT_SUCCESS;