]> Creatis software - clitk.git/blob - tools/clitkImageArithm.cxx
24e374844838dd8163a6b9bfab33746d6c84403a
[clitk.git] / tools / clitkImageArithm.cxx
1 /*-------------------------------------------------------------------------
2                                                                                 
3   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
4   l'Image). All rights reserved. See Doc/License.txt or
5   http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
6                                                                                 
7   This software is distributed WITHOUT ANY WARRANTY; without even
8   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9   PURPOSE.  See the above copyright notices for more information.
10                                                                              
11   -------------------------------------------------------------------------*/
12
13 #ifndef CLITKIMAGEARITHM_CXX
14 #define CLITKIMAGEARITHM_CXX
15
16 /**
17    -------------------------------------------------
18    * @file   clitkImageArithm.cxx
19    * @author David Sarrut <David.Sarrut@creatis.insa-lyon.fr>
20    * @date   23 Feb 2008 08:37:53
21    -------------------------------------------------*/
22
23 // clitk include
24 #include "clitkImageArithm_ggo.h"
25 #include "clitkImageArithmGenericFilter.h"
26
27 //--------------------------------------------------------------------
28 int main(int argc, char * argv[]) {
29
30   // Init command line
31   GGO(clitkImageArithm, args_info);
32
33   // Creation of a generic filter
34   typedef clitk::ImageArithmGenericFilter<args_info_clitkImageArithm> FilterType;
35   FilterType::Pointer filter = FilterType::New();
36
37   // Go !
38   filter->SetArgsInfo(args_info);
39   filter->Update();
40   
41   // this is the end my friend  
42   return EXIT_SUCCESS;
43 } // end main
44
45 #endif //define CLITKIMAGEARITHM_CXX