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 #ifndef __elxMultiMetricMultiResolutionRegistration_H__
15 #define __elxMultiMetricMultiResolutionRegistration_H__
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
19 
20 namespace elastix
21 {
22 
91 template< class TElastix >
93  public
95  typename RegistrationBase< TElastix >::FixedImageType,
96  typename RegistrationBase< TElastix >::MovingImageType >,
97  public RegistrationBase< TElastix >
98 {
99 public:
100 
103 
110 
112  typedef itk::SmartPointer< Self > Pointer;
113  typedef itk::SmartPointer< const Self > ConstPointer;
114 
116  itkNewMacro( Self );
117 
121 
126  elxClassNameMacro( "MultiMetricMultiResolutionRegistration" );
127 
134 
138 
142 
146 
150 
154 
158 
162 
167 
171 
181 
183  itkStaticConstMacro( FixedImageDimension, unsigned int, Superclass2::FixedImageDimension );
185  itkStaticConstMacro( MovingImageDimension, unsigned int, Superclass2::MovingImageDimension );
186 
193  virtual void BeforeRegistration( void );
194 
199  virtual void BeforeEachResolution( void );
200 
204  virtual void AfterEachIteration( void );
205 
206 protected:
207 
212 
217 
228 
230  void UpdateFixedMasks( unsigned int level );
231 
232  void UpdateMovingMasks( unsigned int level );
233 
235  virtual void SetComponents( void );
236 
238 
239 private:
240 
242  MultiMetricMultiResolutionRegistration( const Self & ); // purposely not implemented
244  void operator=( const Self & ); // purposely not implemented
245 
246 };
247 
248 } // end namespace elastix
249 
250 #ifndef ITK_MANUAL_INSTANTIATION
251 #include "elxMultiMetricMultiResolutionRegistration.hxx"
252 #endif
253 
254 #endif // end #ifndef __elxMultiMetricMultiResolutionRegistration_H__
ElastixType::FixedMaskType FixedMaskImageType
Superclass::RegistrationType RegistrationType
Base class for multi-resolution image registration methods.
ElastixType::MaskPixelType MaskPixelType
A registration framework based on the itk::MultiMetricMultiResolutionImageRegistrationMethod.
Implementation of an image mask as spatial object.
FixedMaskImageType::Pointer FixedMaskImagePointer
Superclass2::MovingMaskSpatialObjectPointer MovingMaskSpatialObjectPointer
itkStaticConstMacro(FixedImageDimension, unsigned int, Superclass2::FixedImageDimension)
MovingMaskImageType::Pointer MovingMaskImagePointer
Superclass::ConfigurationType ConfigurationType
This class is the elastix base class for all Registration schemes.
itk::SmartPointer< Self > Pointer
Definition: elxTimer.h:73
A class to time the different parts of the registration.
Definition: elxTimer.h:66
Superclass::ConfigurationPointer ConfigurationPointer
ElastixType::FixedImageType FixedImageType
Superclass2::FixedMaskSpatialObjectPointer FixedMaskSpatialObjectPointer
ElastixType::MovingImageType MovingImageType
elxClassNameMacro("MultiMetricMultiResolutionRegistration")
itk::MultiMetricMultiResolutionImageRegistrationMethod< typename RegistrationBase< TElastix >::FixedImageType, typename RegistrationBase< TElastix >::MovingImageType > Superclass1
Superclass::RegistrationPointer RegistrationPointer
FixedMaskSpatialObjectType::Pointer FixedMaskSpatialObjectPointer
MovingMaskSpatialObjectType::Pointer MovingMaskSpatialObjectPointer
Superclass::ElastixType ElastixType
ElastixType::MovingMaskType MovingMaskImageType
std::vector< bool > UseMaskErosionArrayType
Superclass::ElastixPointer ElastixPointer


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