X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkSetBackground.cxx;h=b70799990b4044f0db55c468fb831bdf41d9742f;hb=41c5d725752cf7888e83baeca6397a5d42eceb9d;hp=04b814bf0f69e01f4ec179ee76cdb77b4a9e6e9a;hpb=573d80d0f7a17607d2ee883c21c940c0ba020282;p=clitk.git diff --git a/tools/clitkSetBackground.cxx b/tools/clitkSetBackground.cxx index 04b814b..b707999 100644 --- a/tools/clitkSetBackground.cxx +++ b/tools/clitkSetBackground.cxx @@ -16,16 +16,6 @@ - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html ===========================================================================**/ -/* ================================================= - * @file clitkSetBackground.cxx - * @author - * @date - * - * @brief - * - ===================================================*/ - - // clitk #include "clitkSetBackground_ggo.h" #include "clitkIO.h" @@ -44,7 +34,7 @@ int main(int argc, char * argv[]) clitk::SetBackgroundGenericFilter::Pointer genericFilter=clitk::SetBackgroundGenericFilter::New(); genericFilter->SetArgsInfo(args_info); - genericFilter->Update(); + CLITK_TRY_CATCH_EXIT(genericFilter->Update()); return EXIT_SUCCESS; }// end main