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 ===========================================================================**/
18 #ifndef _clitkDemonsDeformableRegistrationGenericFilter_h
19 #define _clitkDemonsDeformableRegistrationGenericFilter_h
21 =================================================
22 * @file clitkDemonsDeformableRegistrationGenericFilter.h
23 * @author Jef Vandemeulebroucke <jef@creatis.insa-lyon.fr>
28 =================================================*/
32 #include "clitkCommon.h"
33 #include "clitkDemonsDeformableRegistration_ggo.h"
34 #include "clitkDifferenceImageFilter.h"
35 #include "clitkMultiResolutionPDEDeformableRegistration.h"
38 #include "itkMultiResolutionPDEDeformableRegistration.h"
39 #include "itkPDEDeformableRegistrationFilter.h"
40 #include "itkDemonsRegistrationFilter.h"
41 #include "itkSymmetricForcesDemonsRegistrationFilter.h"
42 #include "itkFastSymmetricForcesDemonsRegistrationFilter.h"
43 #include "itkDiffeomorphicDemonsRegistrationFilter.h"
44 #include "itkRecursiveMultiResolutionPyramidImageFilter.h"
45 #include "itkImageFileReader.h"
46 #include "itkImageFileWriter.h"
47 #include "itkCommand.h"
48 #include "itkWarpImageFilter.h"
49 #include "itkLightObject.h"
55 class ITK_EXPORT DemonsDeformableRegistrationGenericFilter : public itk::LightObject
59 typedef DemonsDeformableRegistrationGenericFilter Self;
60 typedef itk::LightObject Superclass;
61 typedef itk::SmartPointer<Self> Pointer;
62 typedef itk::SmartPointer<const Self> ConstPointer;
64 /** Method for creation through the object factory. */
67 /** Run-time type information (and related methods) */
68 itkTypeMacro( DemonsDeformableRegistrationGenericFilter, LightObject );
71 //====================================================================
73 void SetArgsInfo(const args_info_clitkDemonsDeformableRegistration a)
76 m_ReferenceFileName=m_ArgsInfo.reference_arg;
77 m_Verbose=m_ArgsInfo.verbose_flag;
80 //====================================================================
82 virtual void Update();
85 //const char * GetNameOfClass() const { return "DemonsDeformableRegistrationGenericFilter"; }
87 //====================================================================
88 // Constructor & Destructor
89 DemonsDeformableRegistrationGenericFilter();
90 ~DemonsDeformableRegistrationGenericFilter(){;}
92 //====================================================================
93 //Protected member functions
94 template <unsigned int Dimension> void UpdateWithDim(std::string PixelType);
95 template <unsigned int Dimension, class PixelType> void UpdateWithDimAndPixelType();
97 args_info_clitkDemonsDeformableRegistration m_ArgsInfo;
99 std::string m_ReferenceFileName;
103 } // end namespace clitk
104 #ifndef ITK_MANUAL_INSTANTIATION
105 #include "clitkDemonsDeformableRegistrationGenericFilter.txx"
108 #endif //#define _clitkDemonsDeformableRegistrationGenericFilter_h