]> Creatis software - clitk.git/blob - tools/clitkRTStructStatistics.cxx
Debug clitkNormalizeImage
[clitk.git] / tools / clitkRTStructStatistics.cxx
1 /*=========================================================================SUVP
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to:
5   - University of LYON              http://www.universite-lyon.fr/
6   - Léon Bérard cancer center       http://www.centreleonberard.fr
7   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
8
9   This software is distributed WITHOUT ANY WARRANTY; without even
10   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11   PURPOSE.  See the copyright notices for more information.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
18 #ifndef CLITKRTSTRUCTSTATISTICS_CXX
19 #define CLITKRTSTRUCTSTATISTICS_CXX
20
21 // clitk include
22 #include "clitkRTStructStatistics_ggo.h"
23 #include "clitkRTStructStatisticsGenericFilter.h"
24 #include "clitkIO.h"
25
26 //--------------------------------------------------------------------
27 int main(int argc, char * argv[])
28 {
29
30   // Init command line
31   GGO(clitkRTStructStatistics, args_info);
32   CLITK_INIT;
33
34   // Creation of a generic filter
35   typedef clitk::RTStructStatisticsGenericFilter<args_info_clitkRTStructStatistics> FilterType;
36   FilterType::Pointer filter = FilterType::New();
37
38   // Go !
39   filter->SetArgsInfo(args_info);
40   CLITK_TRY_CATCH_EXIT(filter->Update());
41
42   // this is the end my friend
43   return EXIT_SUCCESS;
44 } // end main
45
46 #endif //define CLITKRTSTRUCTSTATISTICS_CXX