X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkResampleImage.cxx;h=bd2f3747cc5e5d5c042eb6face19c04e7756b4fe;hb=db115de89af274d19472eec04ee49e100fdfd4fa;hp=acecb052b7ef7182b868566396fcfa2d9a789b63;hpb=de524de471ddbb04afdea1de77af57f4d34bcaa1;p=clitk.git diff --git a/tools/clitkResampleImage.cxx b/tools/clitkResampleImage.cxx index acecb05..bd2f374 100644 --- a/tools/clitkResampleImage.cxx +++ b/tools/clitkResampleImage.cxx @@ -1,9 +1,9 @@ /*========================================================================= 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 + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ // clitk #include "clitkResampleImage_ggo.h" @@ -22,19 +22,20 @@ #include "clitkResampleImageGenericFilter.h" //-------------------------------------------------------------------- -int main(int argc, char * argv[]) { +int main(int argc, char * argv[]) +{ // Init command line GGO(clitkResampleImage, args_info); // Filter - typedef clitk::ResampleImageGenericFilter FilterType; + typedef clitk::ResampleImageGenericFilter FilterType; FilterType::Pointer filter = FilterType::New(); - + filter->SetArgsInfo(args_info); - filter->Update(); + CLITK_TRY_CATCH_EXIT(filter->Update()); - // this is the end my friend + // this is the end my friend return EXIT_SUCCESS; }// end main