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 
25 namespace elastix
26 {
27 
54 template <class TElastix>
55 class FixedImagePyramidBase : public BaseComponentSE<TElastix>
56 {
57 public:
58 
62 
65 
67  typedef typename Superclass::ElastixType ElastixType;
73 
75  typedef typename ElastixType::FixedImageType InputImageType;
76  typedef typename ElastixType::FixedImageType OutputImageType;
77 
79  typedef itk::MultiResolutionPyramidImageFilter<
81 
83  typedef typename ITKBaseType::ScheduleType ScheduleType;
84 
86  virtual ITKBaseType * GetAsITKBaseType( void )
87  {
88  return dynamic_cast<ITKBaseType *>(this);
89  }
90 
92  virtual const ITKBaseType * GetAsITKBaseType( void ) const
93  {
94  return dynamic_cast<const ITKBaseType *>(this);
95  }
96 
100  virtual void BeforeRegistrationBase( void );
101 
105  virtual void BeforeEachResolutionBase( void );
106 
108  virtual void SetFixedSchedule( void );
109 
111  virtual void WritePyramidImage( const std::string & filename,
112  const unsigned int & level );// const;
113 
114 protected:
115 
120 
121 private:
122 
124  FixedImagePyramidBase( const Self& ); // purposely not implemented
126  void operator=( const Self& ); // purposely not implemented
127 
128 }; // end class FixedImagePyramidBase
129 
130 
131 } // end namespace elastix
132 
133 
134 #ifndef ITK_MANUAL_INSTANTIATION
135 #include "elxFixedImagePyramidBase.hxx"
136 #endif
137 
138 
139 #endif // end #ifndef __elxFixedImagePyramidBase_h
140 
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
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)
BaseComponentSE< TElastix > Superclass
Superclass::RegistrationPointer RegistrationPointer
void operator=(const Self &)
virtual void BeforeEachResolutionBase(void)
Superclass::RegistrationType RegistrationType
virtual void BeforeRegistrationBase(void)


Generated on 05-01-2014 for elastix by doxygen 1.8.5 elastix logo