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  * 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 __elxMultiMetricMultiResolutionRegistration_H__
19 #define __elxMultiMetricMultiResolutionRegistration_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 
25 namespace elastix
26 {
27 
96 template< class TElastix >
98  public
100  typename RegistrationBase< TElastix >::FixedImageType,
101  typename RegistrationBase< TElastix >::MovingImageType >,
102  public RegistrationBase< TElastix >
103 {
104 public:
105 
108 
115 
117  typedef itk::SmartPointer< Self > Pointer;
118  typedef itk::SmartPointer< const Self > ConstPointer;
119 
121  itkNewMacro( Self );
122 
126 
131  elxClassNameMacro( "MultiMetricMultiResolutionRegistration" );
132 
139 
143 
147 
151 
155 
159 
163 
167 
172 
176 
186 
188  itkStaticConstMacro( FixedImageDimension, unsigned int, Superclass2::FixedImageDimension );
190  itkStaticConstMacro( MovingImageDimension, unsigned int, Superclass2::MovingImageDimension );
191 
198  virtual void BeforeRegistration( void );
199 
204  virtual void BeforeEachResolution( void );
205 
209  virtual void AfterEachIteration( void );
210 
211 protected:
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.
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
Superclass::ElastixType ElastixType
ElastixType::MovingMaskType MovingMaskImageType
std::vector< bool > UseMaskErosionArrayType
Superclass::ElastixPointer ElastixPointer


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo