X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkResampleImage.cxx;h=bd2f3747cc5e5d5c042eb6face19c04e7756b4fe;hb=70c994383384fe546b79d96d6edf8b48c4759902;hp=f289128e86fe8f6ffc369b5e3644db47c7c0b079;hpb=1e034c70105f0926939acaaa27ddb46e904ae8bf;p=clitk.git diff --git a/tools/clitkResampleImage.cxx b/tools/clitkResampleImage.cxx index f289128..bd2f374 100644 --- a/tools/clitkResampleImage.cxx +++ b/tools/clitkResampleImage.cxx @@ -3,7 +3,7 @@ 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" @@ -29,11 +29,11 @@ int main(int argc, char * argv[]) 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 return EXIT_SUCCESS;