]> Creatis software - clitk.git/blob - tools/clitkBackProjectImage.cxx
With ITK 5, add itkReadRawBytesAfterSwappingMacro and itkWriteRawBytesAfterSwappingMacro
[clitk.git] / tools / clitkBackProjectImage.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://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 CLITKBACKPROJECTIMAGE_CXX
19 #define CLITKBACKPROJECTIMAGE_CXX
20 /**
21    =================================================
22    * @file   clitkBackProjectImage.cxx
23    * @author Jef Vandemeulebroucke <jefvdmb@gmail.com>
24    * @date   24 February 2009
25    * 
26    * @brief  "Back project a 3D image using a Cone-Beam geometry"                  
27    =================================================*/
28
29 // clitk include
30 #include "clitkBackProjectImage_ggo.h"
31 #include "clitkBackProjectImageGenericFilter.h"
32 #include "clitkIO.h"
33 #include "clitkImageCommon.h"
34 #include "clitkTransformUtilities.h"
35
36 int main(int argc, char * argv[]) {
37
38   //Init command line
39   GGO(clitkBackProjectImage, args_info);
40   CLITK_INIT;
41
42   //Creation of a generic filter
43   clitk::BackProjectImageGenericFilter::Pointer genericFilter = clitk::BackProjectImageGenericFilter::New();
44
45   //Passing the arguments to the generic filter
46   genericFilter->SetArgsInfo(args_info);
47  
48   //update
49   genericFilter->Update();
50
51   return 0;
52 }
53
54 #endif
55
56