39 #ifndef __itkMultiResolutionImageRegistrationMethod2_h 40 #define __itkMultiResolutionImageRegistrationMethod2_h 42 #include "itkProcessObject.h" 44 #include "itkSingleValuedNonLinearOptimizer.h" 45 #include "itkMultiResolutionPyramidImageFilter.h" 46 #include "itkNumericTraits.h" 47 #include "itkDataObjectDecorator.h" 97 template<
typename TFixedImage,
typename TMovingImage >
148 typedef MultiResolutionPyramidImageFilter<
153 typedef MultiResolutionPyramidImageFilter<
172 itkSetConstObjectMacro( FixedImage, FixedImageType );
173 itkGetConstObjectMacro( FixedImage, FixedImageType );
176 itkSetConstObjectMacro( MovingImage, MovingImageType );
177 itkGetConstObjectMacro( MovingImage, MovingImageType );
180 itkSetObjectMacro( Optimizer, OptimizerType );
181 itkGetObjectMacro( Optimizer, OptimizerType );
184 itkSetObjectMacro( Metric, MetricType );
185 itkGetObjectMacro( Metric, MetricType );
188 itkSetMacro( FixedImageRegion, FixedImageRegionType );
189 itkGetConstReferenceMacro( FixedImageRegion, FixedImageRegionType );
192 itkSetObjectMacro( Transform, TransformType );
193 itkGetObjectMacro( Transform, TransformType );
196 itkSetObjectMacro( Interpolator, InterpolatorType );
197 itkGetObjectMacro( Interpolator, InterpolatorType );
200 itkSetObjectMacro( FixedImagePyramid, FixedImagePyramidType );
201 itkGetObjectMacro( FixedImagePyramid, FixedImagePyramidType );
204 itkSetObjectMacro( MovingImagePyramid, MovingImagePyramidType );
205 itkGetObjectMacro( MovingImagePyramid, MovingImagePyramidType );
208 itkSetClampMacro( NumberOfLevels,
unsigned long, 1,
210 itkGetMacro( NumberOfLevels,
unsigned long );
213 itkGetMacro( CurrentLevel,
unsigned long );
216 itkSetMacro( InitialTransformParameters, ParametersType );
217 itkGetConstReferenceMacro( InitialTransformParameters, ParametersType );
223 itkSetMacro( InitialTransformParametersOfNextLevel, ParametersType );
224 itkGetConstReferenceMacro( InitialTransformParametersOfNextLevel, ParametersType );
229 itkGetConstReferenceMacro( LastTransformParameters, ParametersType );
232 const TransformOutputType *
GetOutput(
void )
const;
237 virtual DataObjectPointer
MakeOutput(
unsigned int idx );
242 unsigned long GetMTime(
void )
const;
253 virtual void PrintSelf( std::ostream & os, Indent indent )
const;
264 virtual void Initialize()
throw ( ExceptionObject );
270 itkSetMacro( CurrentLevel,
unsigned long );
308 #ifndef ITK_MANUAL_INSTANTIATION 309 #include "itkMultiResolutionImageRegistrationMethod2.hxx" 312 #endif // end #ifndef __itkMultiResolutionImageRegistrationMethod2_h FixedImageType::ConstPointer FixedImageConstPointer
virtual void GenerateData(void)
Base class for multi-resolution image registration methods.
FixedImageRegionType m_FixedImageRegion
TransformOutputType::ConstPointer TransformOutputConstPointer
ParametersType m_InitialTransformParameters
SmartPointer< Self > Pointer
std::vector< FixedImageRegionType > FixedImageRegionPyramidType
MetricType::InterpolatorType InterpolatorType
virtual void Initialize()
AdvancedImageToImageMetric< FixedImageType, MovingImageType > MetricType
MovingImageConstPointer m_MovingImage
TMovingImage MovingImageType
Superclass::TransformParametersType TransformParametersType
virtual DataObjectPointer MakeOutput(unsigned int idx)
TransformType::Pointer TransformPointer
FixedImageRegionPyramidType m_FixedImageRegionPyramid
MetricType::TransformParametersType ParametersType
MovingImagePyramidType::Pointer MovingImagePyramidPointer
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics...
FixedImageType::RegionType FixedImageRegionType
virtual void PrintSelf(std::ostream &os, Indent indent) const
const TransformOutputType * GetOutput(void) const
FixedImagePyramidType::Pointer FixedImagePyramidPointer
ParametersType m_InitialTransformParametersOfNextLevel
InterpolatorType::Pointer InterpolatorPointer
TransformPointer m_Transform
TransformOutputType::Pointer TransformOutputPointer
DataObject::Pointer DataObjectPointer
ParametersType m_LastTransformParameters
InterpolatorPointer m_Interpolator
MovingImagePyramidPointer m_MovingImagePyramid
FixedImageConstPointer m_FixedImage
MultiResolutionImageRegistrationMethod2()
SingleValuedNonLinearOptimizer OptimizerType
SmartPointer< const Self > ConstPointer
MovingImageType::ConstPointer MovingImageConstPointer
virtual void StopRegistration(void)
MultiResolutionPyramidImageFilter< FixedImageType, FixedImageType > FixedImagePyramidType
Superclass::InterpolatorType InterpolatorType
OptimizerType::Pointer m_Optimizer
MultiResolutionPyramidImageFilter< MovingImageType, MovingImageType > MovingImagePyramidType
void operator=(const Self &)
MultiResolutionImageRegistrationMethod2 Self
unsigned long m_NumberOfLevels
unsigned long GetMTime(void) const
DataObjectDecorator< TransformType > TransformOutputType
virtual ~MultiResolutionImageRegistrationMethod2()
TFixedImage FixedImageType
MetricType::Pointer MetricPointer
unsigned long m_CurrentLevel
MetricType::AdvancedTransformType TransformType
virtual void StartRegistration(void)
FixedImagePyramidPointer m_FixedImagePyramid
virtual void PreparePyramids(void)