go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxMultiResolutionRegistrationWithFeatures.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 __elxMultiResolutionRegistrationWithFeatures_H__
19 #define __elxMultiResolutionRegistrationWithFeatures_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 
25 namespace elastix
26 {
27 
53 template< class TElastix >
55  public
57  typename RegistrationBase< TElastix >::FixedImageType,
58  typename RegistrationBase< TElastix >::MovingImageType >,
59  public
60  RegistrationBase< TElastix >
61 {
62 public:
63 
71  typedef itk::SmartPointer< Self > Pointer;
72  typedef itk::SmartPointer< const Self > ConstPointer;
73 
75  itkNewMacro( Self );
76 
80 
85  elxClassNameMacro( "MultiResolutionRegistrationWithFeatures" );
86 
93 
97 
101 
105 
109 
113 
117 
121 
126 
128  //typedef typename Superclass1::CombinationMetricType CombinationMetricType;
129  //typedef typename Superclass1::CombinationMetricPointer CombinationMetricPointer;
130 
140 
142  itkStaticConstMacro( FixedImageDimension, unsigned int, Superclass2::FixedImageDimension );
143 
145  itkStaticConstMacro( MovingImageDimension, unsigned int, Superclass2::MovingImageDimension );
146 
153  virtual void BeforeRegistration( void );
154 
159  virtual void BeforeEachResolution( void );
160 
161 protected:
162 
165 
168 
179 
181  void UpdateFixedMasks( unsigned int level );
182 
183  void UpdateMovingMasks( unsigned int level );
184 
186  virtual void GetAndSetComponents( void );
187 
189  virtual void GetAndSetFixedImageRegions( void );
190 
192  virtual void GetAndSetFixedImageInterpolators( void );
193 
194 private:
195 
197  MultiResolutionRegistrationWithFeatures( const Self & ); // purposely not implemented
199  void operator=( const Self & ); // purposely not implemented
200 
201 };
202 
203 } // end namespace elastix
204 
205 #ifndef ITK_MANUAL_INSTANTIATION
206 #include "elxMultiResolutionRegistrationWithFeatures.hxx"
207 #endif
208 
209 #endif // end #ifndef __elxMultiResolutionRegistrationWithFeatures_H__
ElastixType::FixedMaskType FixedMaskImageType
Superclass::RegistrationType RegistrationType
Base class for multi-resolution image registration methods.
ElastixType::MaskPixelType MaskPixelType
elxClassNameMacro("MultiResolutionRegistrationWithFeatures")
Implementation of an image mask as spatial object.
FixedMaskImageType::Pointer FixedMaskImagePointer
MovingMaskImageType::Pointer MovingMaskImagePointer
Superclass::ConfigurationType ConfigurationType
This class is the elastix base class for all Registration schemes.
Superclass::ConfigurationPointer ConfigurationPointer
itkStaticConstMacro(FixedImageDimension, unsigned int, Superclass2::FixedImageDimension)
ElastixType::FixedImageType FixedImageType
ElastixType::MovingImageType MovingImageType
Superclass2::MovingMaskSpatialObjectPointer MovingMaskSpatialObjectPointer
Superclass::RegistrationPointer RegistrationPointer
Superclass::ElastixType ElastixType
ElastixType::MovingMaskType MovingMaskImageType
itk::MultiResolutionImageRegistrationMethodWithFeatures< typename RegistrationBase< TElastix >::FixedImageType, typename RegistrationBase< TElastix >::MovingImageType > Superclass1
std::vector< bool > UseMaskErosionArrayType
Superclass::ElastixPointer ElastixPointer
A registration framework based on the itk::MultiResolutionImageRegistrationMethodWithFeatures.


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