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://www.centreleonberard.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 ===========================================================================**/
19 ------------------------------------------------=
20 * @file clitkGuerreroVentilation.cxx
21 * @author Joël Schaerer
23 ------------------------------------------------=*/
26 #include "clitkGuerreroVentilation_ggo.h"
27 #include "clitkGuerreroVentilationGenericFilter.h"
30 //--------------------------------------------------------------------
31 int main(int argc, char * argv[])
35 GGO(clitkGuerreroVentilation, args_info);
38 // Read image dimension
39 itk::ImageIOBase::Pointer header = clitk::readImageHeader(args_info.input_arg);
40 //unsigned int dim = header->GetNumberOfDimensions();
44 clitk::GuerreroVentilationGenericFilter filter;
45 filter.SetInputFilename(args_info.input_arg);
46 filter.AddInputFilename(args_info.ref_arg);
47 filter.SetOutputFilename(args_info.output_arg);
48 filter.SetBloodCorrectionFactor(args_info.factor_arg);
49 filter.SetUseCorrectFormula(args_info.correct_flag);
52 // this is the end my friend