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 namespace elastix
25 {
26 
95 template< class TElastix >
97  public
99  typename RegistrationBase< TElastix >::FixedImageType,
100  typename RegistrationBase< TElastix >::MovingImageType >,
101  public RegistrationBase< TElastix >
102 {
103 public:
104 
107 
114 
116  typedef itk::SmartPointer< Self > Pointer;
117  typedef itk::SmartPointer< const Self > ConstPointer;
118 
120  itkNewMacro( Self );
121 
125 
130  elxClassNameMacro( "MultiMetricMultiResolutionRegistration" );
131 
138 
142 
146 
150 
154 
158 
162 
166 
171 
175 
185 
187  itkStaticConstMacro( FixedImageDimension, unsigned int, Superclass2::FixedImageDimension );
189  itkStaticConstMacro( MovingImageDimension, unsigned int, Superclass2::MovingImageDimension );
190 
197  void BeforeRegistration( void ) override;
198 
203  void BeforeEachResolution( void ) override;
204 
208  void AfterEachIteration( void ) override;
209 
210 protected:
211 
216 
227 
229  void UpdateFixedMasks( unsigned int level );
230 
231  void UpdateMovingMasks( unsigned int level );
232 
234  virtual void SetComponents( void );
235 
237 
238 private:
239 
241  MultiMetricMultiResolutionRegistration( const Self & ); // purposely not implemented
243  void operator=( const Self & ); // purposely not implemented
244 
245 };
246 
247 } // end namespace elastix
248 
249 #ifndef ITK_MANUAL_INSTANTIATION
250 #include "elxMultiMetricMultiResolutionRegistration.hxx"
251 #endif
252 
253 #endif // end #ifndef __elxMultiMetricMultiResolutionRegistration_H__
A class that deals with user given parameters and command line arguments.
A registration framework based on the itk::MultiMetricMultiResolutionImageRegistrationMethod.
Superclass2::FixedMaskSpatialObjectPointer FixedMaskSpatialObjectPointer
itk::MultiMetricMultiResolutionImageRegistrationMethod< typename RegistrationBase< TElastix >::FixedImageType, typename RegistrationBase< TElastix >::MovingImageType > Superclass1
itkStaticConstMacro(FixedImageDimension, unsigned int, Superclass2::FixedImageDimension)
itkStaticConstMacro(MovingImageDimension, unsigned int, Superclass2::MovingImageDimension)
elxClassNameMacro("MultiMetricMultiResolutionRegistration")
Superclass2::MovingMaskSpatialObjectPointer MovingMaskSpatialObjectPointer
This class is the elastix base class for all Registration schemes.
Superclass::RegistrationPointer RegistrationPointer
FixedMaskSpatialObjectType::Pointer FixedMaskSpatialObjectPointer
itk::ImageMaskSpatialObject< itkGetStaticConstMacro(MovingImageDimension) > MovingMaskSpatialObjectType
ElastixType::MovingImageType MovingImageType
Superclass::RegistrationType RegistrationType
FixedMaskImageType::Pointer FixedMaskImagePointer
ElastixType::MovingMaskType MovingMaskImageType
std::vector< bool > UseMaskErosionArrayType
ElastixType::FixedMaskType FixedMaskImageType
itk::ImageMaskSpatialObject< itkGetStaticConstMacro(FixedImageDimension) > FixedMaskSpatialObjectType
Superclass::ConfigurationPointer ConfigurationPointer
MovingMaskImageType::Pointer MovingMaskImagePointer
MovingMaskSpatialObjectType::Pointer MovingMaskSpatialObjectPointer
Superclass::ElastixPointer ElastixPointer
Superclass::ElastixType ElastixType
ElastixType::FixedImageType FixedImageType
ElastixType::MaskPixelType MaskPixelType
Base class for multi-resolution image registration methods.


Generated on 1667476801 for elastix by doxygen 1.9.1 elastix logo