]> Creatis software - clitk.git/blob - tools/clitkAffineTransform.cxx
Initial revision
[clitk.git] / tools / clitkAffineTransform.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 /* =================================================
14  * @file   clitkAffineTransform.cxx
15  * @author 
16  * @date   
17  * 
18  * @brief 
19  * 
20  ===================================================*/
21
22
23 // clitk
24 #include "clitkAffineTransform_ggo.h"
25 #include "clitkIO.h"
26 #include "clitkAffineTransformGenericFilter.h"
27
28 //--------------------------------------------------------------------
29 int main(int argc, char * argv[]) {
30
31   // Init command line
32   GGO(clitkAffineTransform, args_info);
33   CLITK_INIT;
34
35   // Filter
36   typedef clitk::AffineTransformGenericFilter<gengetopt_args_info_clitkAffineTransform> FilterType;
37   FilterType::Pointer genericFilter = FilterType::New();
38   
39   genericFilter->SetArgsInfo(args_info);
40   genericFilter->Update();
41
42   return EXIT_SUCCESS;
43 }// end main
44
45 //--------------------------------------------------------------------