]> Creatis software - clitk.git/blob - tools/clitkSignalMeanPositionTracking.cxx
still pb with signal...
[clitk.git] / tools / clitkSignalMeanPositionTracking.cxx
1 /*=========================================================================
2                                                                                 
3   Program:   clitk
4   Language:  C++
5                                                                                 
6   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
7   l'Image). All rights reserved. See Doc/License.txt or
8   http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
9                                                                                 
10      This software is distributed WITHOUT ANY WARRANTY; without even
11      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12      PURPOSE.  See the above copyright notices for more information.
13                                                                              
14 =========================================================================*/
15
16 #ifndef CLITKSIGNALMEANPOSITIONTRACKING_CXX
17 #define CLITKSIGNALMEANPOSITIONTRACKING_CXX
18 /**
19    =================================================
20    * @file   clitkSignalMeanPositionTracking.cxx
21    * @author David Sarrut <david.sarrut@creatis.insa-lyon.fr>
22    * @date   Sept 2009
23    * 
24    * @brief  "See Ruan 2007, compute mean position from a signal"                  
25    =================================================*/
26
27 // clitk include
28 #include "clitkSignalMeanPositionTracking_ggo.h"
29 #include "clitkSignalMeanPositionFilter.h"
30 #include "clitkIO.h"
31 #include "clitkImageCommon.h"
32
33 int main(int argc, char * argv[]) {
34
35   // Init command line
36   GGO(clitkSignalMeanPositionTracking,args_info);
37   CLITK_INIT;
38
39   // Init filter
40   clitk::SignalMeanPositionFilter filter;
41   filter.SetParameters(args_info);
42
43   // Run
44   filter.Update();
45
46   // This is the end my friend
47   return EXIT_SUCCESS;  
48 }
49
50 #endif