go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxFixedImagePyramidBase.h
Go to the documentation of this file.
1 /*======================================================================
2 
3  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
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 above copyright notices for more information.
12 
13 ======================================================================*/
14 #ifndef __elxFixedImagePyramidBase_h
15 #define __elxFixedImagePyramidBase_h
16 
18 #include "elxMacro.h"
19 
20 #include "elxBaseComponentSE.h"
21 #include "itkObject.h"
22 #include "itkMultiResolutionPyramidImageFilter.h"
23 
24 namespace elastix
25 {
26 
53 template< class TElastix >
54 class FixedImagePyramidBase : public BaseComponentSE< TElastix >
55 {
56 public:
57 
61 
64 
66  typedef typename Superclass::ElastixType ElastixType;
72 
74  typedef typename ElastixType::FixedImageType InputImageType;
75  typedef typename ElastixType::FixedImageType OutputImageType;
76 
78  typedef itk::MultiResolutionPyramidImageFilter<
80 
82  typedef typename ITKBaseType::ScheduleType ScheduleType;
83 
85  virtual ITKBaseType * GetAsITKBaseType( void )
86  {
87  return dynamic_cast< ITKBaseType * >( this );
88  }
89 
90 
92  virtual const ITKBaseType * GetAsITKBaseType( void ) const
93  {
94  return dynamic_cast< const ITKBaseType * >( this );
95  }
96 
97 
101  virtual void BeforeRegistrationBase( void );
102 
106  virtual void BeforeEachResolutionBase( void );
107 
109  virtual void SetFixedSchedule( void );
110 
112  virtual void WritePyramidImage( const std::string & filename,
113  const unsigned int & level ); // const;
114 
115 protected:
116 
121 
122 private:
123 
125  FixedImagePyramidBase( const Self & ); // purposely not implemented
127  void operator=( const Self & ); // purposely not implemented
128 
129 };
130 
131 } // end namespace elastix
132 
133 #ifndef ITK_MANUAL_INSTANTIATION
134 #include "elxFixedImagePyramidBase.hxx"
135 #endif
136 
137 #endif // end #ifndef __elxFixedImagePyramidBase_h
The BaseComponentSE class is a base class for elastix components that provides some basic functionali...
virtual void SetFixedSchedule(void)
ElastixType::RegistrationBaseType RegistrationType
ElastixType::ConfigurationPointer ConfigurationPointer
ElastixType::Pointer ElastixPointer
ElastixType::ConfigurationType ConfigurationType
BaseComponentSE< TElastix > Superclass
ITKBaseType::ScheduleType ScheduleType
Superclass::ConfigurationType ConfigurationType
RegistrationType * RegistrationPointer
This class is the elastix base class for all FixedImagePyramids.
itk::MultiResolutionPyramidImageFilter< InputImageType, OutputImageType > ITKBaseType
Superclass::ElastixPointer ElastixPointer
virtual const ITKBaseType * GetAsITKBaseType(void) const
Superclass::ConfigurationPointer ConfigurationPointer
virtual void WritePyramidImage(const std::string &filename, const unsigned int &level)
ElastixType::FixedImageType OutputImageType
ElastixType::FixedImageType InputImageType
virtual ITKBaseType * GetAsITKBaseType(void)
Superclass::RegistrationPointer RegistrationPointer
void operator=(const Self &)
virtual void BeforeEachResolutionBase(void)
Superclass::RegistrationType RegistrationType
virtual void BeforeRegistrationBase(void)


Generated on 27-04-2014 for elastix by doxygen 1.8.6 elastix logo