]> Creatis software - clitk.git/blob - segmentation/clitkMorphoMath.cxx
initial entry
[clitk.git] / segmentation / clitkMorphoMath.cxx
1 /*=========================================================================
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://oncora1.lyon.fnclcc.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 clitkMorphoMath_cxx
19 #define clitkMorphoMath_cxx
20 /**
21    =================================================
22    * @file   clitkMorphoMath.cxx
23    * @author Jef Vandemeulebroucke <jefvdmb@gmail.com>
24    * @date   5 May 2009
25    * 
26    * @brief  
27    =================================================*/
28
29 // clitk include
30 #include "clitkMorphoMath_ggo.h"
31 #include "clitkMorphoMathGenericFilter.h"
32 #include "clitkIO.h"
33 #include "clitkImageCommon.h"
34
35 int main(int argc, char * argv[]) {
36
37   //Init command line
38   GGO(clitkMorphoMath,args_info);
39   CLITK_INIT;
40
41   //Creation of a generic filter
42   clitk::MorphoMathGenericFilter::Pointer genericFilter = clitk::MorphoMathGenericFilter::New();
43
44   //Passing the arguments to the generic filter
45   genericFilter->SetArgsInfo(args_info);
46  
47   //update
48   genericFilter->Update();
49   return 0;
50 }
51
52 #endif