go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxMultiMetricMultiResolutionRegistration.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 
15 #ifndef __elxMultiMetricMultiResolutionRegistration_H__
16 #define __elxMultiMetricMultiResolutionRegistration_H__
17 
19 
20 #include "elxIncludes.h"
21 
22 namespace elastix
23 {
24 using namespace itk;
25 
94 template <class TElastix>
96  : public
98  ITK_TYPENAME RegistrationBase<TElastix>::FixedImageType,
99  ITK_TYPENAME RegistrationBase<TElastix>::MovingImageType >,
100  public RegistrationBase<TElastix>
101 {
102 public:
103 
106 
113 
115  typedef SmartPointer<Self> Pointer;
116  typedef SmartPointer<const Self> ConstPointer;
117 
119  itkNewMacro( Self );
120 
124 
129  elxClassNameMacro( "MultiMetricMultiResolutionRegistration" );
130 
137 
141 
145 
149 
153 
157 
161 
165 
170 
174 
184 
186  itkStaticConstMacro( FixedImageDimension, unsigned int, Superclass2::FixedImageDimension );
188  itkStaticConstMacro( MovingImageDimension, unsigned int, Superclass2::MovingImageDimension );
189 
196  virtual void BeforeRegistration( void );
197 
202  virtual void BeforeEachResolution( void );
203 
207  virtual void AfterEachIteration( void );
208 
209 protected:
210 
215 
217  typedef tmr::Timer TimerType;
220 
231 
233  void UpdateFixedMasks( unsigned int level );
234  void UpdateMovingMasks( unsigned int level );
235 
237  virtual void SetComponents( void );
238 
240 
241 private:
242 
244  MultiMetricMultiResolutionRegistration( const Self& ); // purposely not implemented
246  void operator=( const Self& ); // purposely not implemented
247 
248 }; // end class MultiMetricMultiResolutionRegistration
249 
250 
251 } // end namespace elastix
252 
253 #ifndef ITK_MANUAL_INSTANTIATION
254 #include "elxMultiMetricMultiResolutionRegistration.hxx"
255 #endif
256 
257 #endif // end #ifndef __elxMultiMetricMultiResolutionRegistration_H__
ElastixType::FixedMaskType FixedMaskImageType
Superclass::RegistrationType RegistrationType
Base class for multi-resolution image registration methods.
ElastixType::MaskPixelType MaskPixelType
#define elxClassNameMacro(_name)
Definition: elxMacro.h:254
SmartPointer< Self > Pointer
Definition: elxTimer.h:73
A registration framework based on the itk::MultiMetricMultiResolutionImageRegistrationMethod.
Implementation of an image mask as spatial object.
FixedMaskImageType::Pointer FixedMaskImagePointer
Superclass2::MovingMaskSpatialObjectPointer MovingMaskSpatialObjectPointer
MovingMaskImageType::Pointer MovingMaskImagePointer
Superclass::ConfigurationType ConfigurationType
This class is the elastix base class for all Registration schemes.
A class to time the different parts of the registration.
Definition: elxTimer.h:67
Superclass::ConfigurationPointer ConfigurationPointer
ElastixType::FixedImageType FixedImageType
Superclass2::FixedMaskSpatialObjectPointer FixedMaskSpatialObjectPointer
ElastixType::MovingImageType MovingImageType
Superclass::RegistrationPointer RegistrationPointer
FixedMaskSpatialObjectType::Pointer FixedMaskSpatialObjectPointer
MovingMaskSpatialObjectType::Pointer MovingMaskSpatialObjectPointer
Superclass::ElastixType ElastixType
std::vector< bool > UseMaskErosionArrayType
MultiMetricMultiResolutionImageRegistrationMethod< typename RegistrationBase< TElastix >::FixedImageType, typename RegistrationBase< TElastix >::MovingImageType > Superclass1
ElastixType::MovingMaskType MovingMaskImageType
Superclass::ElastixPointer ElastixPointer


Generated on 05-12-2013 for elastix by doxygen 1.8.5 elastix logo