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