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  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __elxFixedImagePyramidBase_h
19 #define __elxFixedImagePyramidBase_h
20 
22 #include "elxMacro.h"
23 
24 #include "elxBaseComponentSE.h"
25 #include "itkObject.h"
26 #include "itkMultiResolutionPyramidImageFilter.h"
27 
28 namespace elastix
29 {
30 
57 template< class TElastix >
58 class FixedImagePyramidBase : public BaseComponentSE< TElastix >
59 {
60 public:
61 
65 
68 
76 
78  typedef typename ElastixType::FixedImageType InputImageType;
79  typedef typename ElastixType::FixedImageType OutputImageType;
80 
82  typedef itk::MultiResolutionPyramidImageFilter<
84 
86  typedef typename ITKBaseType::ScheduleType ScheduleType;
87 
89  virtual ITKBaseType * GetAsITKBaseType( void )
90  {
91  return dynamic_cast< ITKBaseType * >( this );
92  }
93 
94 
96  virtual const ITKBaseType * GetAsITKBaseType( void ) const
97  {
98  return dynamic_cast< const ITKBaseType * >( this );
99  }
100 
101 
105  virtual void BeforeRegistrationBase( void );
106 
110  virtual void BeforeEachResolutionBase( void );
111 
113  virtual void SetFixedSchedule( void );
114 
116  virtual void WritePyramidImage( const std::string & filename,
117  const unsigned int & level ); // const;
118 
119 protected:
120 
125 
126 private:
127 
129  FixedImagePyramidBase( const Self & ); // purposely not implemented
131  void operator=( const Self & ); // purposely not implemented
132 
133 };
134 
135 } // end namespace elastix
136 
137 #ifndef ITK_MANUAL_INSTANTIATION
138 #include "elxFixedImagePyramidBase.hxx"
139 #endif
140 
141 #endif // end #ifndef __elxFixedImagePyramidBase_h
elastix::FixedImagePyramidBase::RegistrationPointer
Superclass::RegistrationPointer RegistrationPointer
Definition: elxFixedImagePyramidBase.h:75
elastix::FixedImagePyramidBase::ScheduleType
ITKBaseType::ScheduleType ScheduleType
Definition: elxFixedImagePyramidBase.h:86
elastix::FixedImagePyramidBase::RegistrationType
Superclass::RegistrationType RegistrationType
Definition: elxFixedImagePyramidBase.h:74
elastix::BaseComponentSE::RegistrationPointer
RegistrationType * RegistrationPointer
Definition: elxBaseComponentSE.h:63
elastix::FixedImagePyramidBase::FixedImagePyramidBase
FixedImagePyramidBase()
Definition: elxFixedImagePyramidBase.h:122
elastix::BaseComponentSE::ElastixType
TElastix ElastixType
Definition: elxBaseComponentSE.h:52
elastix::BaseComponentSE::ConfigurationPointer
ElastixType::ConfigurationPointer ConfigurationPointer
Definition: elxBaseComponentSE.h:57
elastix::BaseComponentSE
The BaseComponentSE class is a base class for elastix components that provides some basic functionali...
Definition: elxBaseComponentSE.h:44
elastix::FixedImagePyramidBase::SetFixedSchedule
virtual void SetFixedSchedule(void)
elxBaseComponentSE.h
elastix::FixedImagePyramidBase::ElastixPointer
Superclass::ElastixPointer ElastixPointer
Definition: elxFixedImagePyramidBase.h:71
elastix::FixedImagePyramidBase::~FixedImagePyramidBase
virtual ~FixedImagePyramidBase()
Definition: elxFixedImagePyramidBase.h:124
elastix::FixedImagePyramidBase::OutputImageType
ElastixType::FixedImageType OutputImageType
Definition: elxFixedImagePyramidBase.h:79
elastix::FixedImagePyramidBase::ConfigurationType
Superclass::ConfigurationType ConfigurationType
Definition: elxFixedImagePyramidBase.h:72
elastix::FixedImagePyramidBase::GetAsITKBaseType
virtual const ITKBaseType * GetAsITKBaseType(void) const
Definition: elxFixedImagePyramidBase.h:96
elastix::BaseComponentSE::ElastixPointer
itk::WeakPointer< ElastixType > ElastixPointer
Definition: elxBaseComponentSE.h:53
elastix::FixedImagePyramidBase::Self
FixedImagePyramidBase Self
Definition: elxFixedImagePyramidBase.h:63
elastix::FixedImagePyramidBase::GetAsITKBaseType
virtual ITKBaseType * GetAsITKBaseType(void)
Definition: elxFixedImagePyramidBase.h:89
elastix::FixedImagePyramidBase::BeforeRegistrationBase
virtual void BeforeRegistrationBase(void)
elastix::FixedImagePyramidBase::ConfigurationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxFixedImagePyramidBase.h:73
elastix::FixedImagePyramidBase::ElastixType
Superclass::ElastixType ElastixType
Definition: elxFixedImagePyramidBase.h:67
elastix::FixedImagePyramidBase::BeforeEachResolutionBase
virtual void BeforeEachResolutionBase(void)
elastix::FixedImagePyramidBase::FixedImagePyramidBase
FixedImagePyramidBase(const Self &)
elastix::FixedImagePyramidBase::ITKBaseType
itk::MultiResolutionPyramidImageFilter< InputImageType, OutputImageType > ITKBaseType
Definition: elxFixedImagePyramidBase.h:83
elxMacro.h
elastix::BaseComponentSE::ConfigurationType
ElastixType::ConfigurationType ConfigurationType
Definition: elxBaseComponentSE.h:56
elastix::FixedImagePyramidBase
This class is the elastix base class for all FixedImagePyramids.
Definition: elxFixedImagePyramidBase.h:59
elastix::FixedImagePyramidBase::operator=
void operator=(const Self &)
elastix
Definition: elxFixedGenericPyramid.h:25
elastix::FixedImagePyramidBase::Superclass
BaseComponentSE< TElastix > Superclass
Definition: elxFixedImagePyramidBase.h:64
elastix::FixedImagePyramidBase::WritePyramidImage
virtual void WritePyramidImage(const std::string &filename, const unsigned int &level)
elastix::FixedImagePyramidBase::InputImageType
ElastixType::FixedImageType InputImageType
Definition: elxFixedImagePyramidBase.h:78
elastix::BaseComponentSE::RegistrationType
ElastixType::RegistrationBaseType RegistrationType
Definition: elxBaseComponentSE.h:62


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo