X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkVFResample.cxx;h=31669467bae5e03ba268f9e4c6752dad5f30b15f;hb=7dd4f61d0341af69d3c6ddfb115a219bc54284c3;hp=0e25054301f9cf7d7294ef808d259b53964ce5a4;hpb=0b7c9b1e1215634b02cbd38d4e4ba101d6111ba8;p=clitk.git diff --git a/tools/clitkVFResample.cxx b/tools/clitkVFResample.cxx index 0e25054..3166946 100644 --- a/tools/clitkVFResample.cxx +++ b/tools/clitkVFResample.cxx @@ -1,7 +1,7 @@ /*========================================================================= Program: vv http://www.creatis.insa-lyon.fr/rio/vv - Authors belong to: + Authors belong to: - University of LYON http://www.universite-lyon.fr/ - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr @@ -17,23 +17,18 @@ ======================================================================-====*/ #ifndef CLITKVFRESAMPLE_CXX #define CLITKVFRESAMPLE_CXX -/** - ------------------------------------------------= - * @file clitkImageResample.cxx - * @author David Sarrut - * @date 23 Feb 2008 08:37:53 - ------------------------------------------------=*/ // clitk -#include "clitkImageResample_ggo.h" +#include "clitkVFResample_ggo.h" #include "clitkIO.h" #include "clitkVFResampleGenericFilter.h" //-------------------------------------------------------------------- -int main(int argc, char * argv[]) { +int main(int argc, char * argv[]) +{ // Init command line - GGO(clitkImageResample, args_info); + GGO(clitkVFResample, args_info); CLITK_INIT; // Read input image header to check image dimension @@ -83,10 +78,10 @@ int main(int argc, char * argv[]) { exit(0); } for(unsigned int i=0; i sigma; sigma.resize(args_info.gauss_given); @@ -128,12 +121,11 @@ int main(int argc, char * argv[]) { if (args_info.gauss_given) { if (args_info.gauss_given != dim) { if (args_info.gauss_given == 1) { - sigma.resize(dim); - for(unsigned int i=0; iSetGaussianSigma(sigma); filter->SetOutputFilename(args_info.output_arg); - - // Go ! + + // Go ! filter->Update(); - // this is the end my friend + // this is the end my friend return 0; }// end main //--------------------------------------------------------------------