1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
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
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.
13 It is distributed under dual licence
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
21 =================================================
22 * @file clitkMorphoMath.cxx
23 * @author Jef Vandemeulebroucke <jefvdmb@gmail.com>
27 =================================================*/
30 #include "clitkMorphoMath_ggo.h"
31 #include "clitkMorphoMathGenericFilter.h"
33 #include "clitkImageCommon.h"
35 int main(int argc, char * argv[]) {
38 GGO(clitkMorphoMath,args_info);
41 //Creation of a generic filter
42 clitk::MorphoMathGenericFilter::Pointer genericFilter = clitk::MorphoMathGenericFilter::New();
44 //Passing the arguments to the generic filter
45 genericFilter->SetArgsInfo(args_info);
48 genericFilter->Update();