X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkExtractSlice.cxx;fp=tools%2FclitkExtractSlice.cxx;h=60e6c83ff8666cd3ac45710c19497bbe8069ff2c;hb=a26cd8a19e1b9ad8344ab501436045f171a73713;hp=0000000000000000000000000000000000000000;hpb=f1016340d797dbe6e0672e6e06a583baaafc738b;p=clitk.git diff --git a/tools/clitkExtractSlice.cxx b/tools/clitkExtractSlice.cxx new file mode 100755 index 0000000..60e6c83 --- /dev/null +++ b/tools/clitkExtractSlice.cxx @@ -0,0 +1,51 @@ +/*========================================================================= + Program: vv http://www.creatis.insa-lyon.fr/rio/vv + + 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 + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the copyright notices for more information. + + It is distributed under dual licence + + - BSD See included LICENSE.txt file + - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +======================================================================-====*/ + +/* ================================================= + * @file clitkExtractSlice.cxx + * @author + * @date + * + * @brief + * + ===================================================*/ + + +// clitk +#include "clitkExtractSlice_ggo.h" +#include "clitkIO.h" +#include "clitkExtractSliceGenericFilter.h" + + +//-------------------------------------------------------------------- +int main(int argc, char * argv[]) { + + // Init command line + GGO(clitkExtractSlice,args_info); + CLITK_INIT; + + // Filter + clitk::ExtractSliceGenericFilter::Pointer genericFilter=clitk::ExtractSliceGenericFilter::New(); + + genericFilter->SetArgsInfo(args_info); + genericFilter->Update(); + + return EXIT_SUCCESS; +}// end main + +//--------------------------------------------------------------------