37 #ifndef __itkMultiResolutionImageRegistrationMethod2_h
38 #define __itkMultiResolutionImageRegistrationMethod2_h
40 #include "itkProcessObject.h"
42 #include "itkSingleValuedNonLinearOptimizer.h"
43 #include "itkMultiResolutionPyramidImageFilter.h"
44 #include "itkNumericTraits.h"
45 #include "itkDataObjectDecorator.h"
95 template <
typename TFixedImage,
typename TMovingImage>
145 typedef MultiResolutionPyramidImageFilter<
150 typedef MultiResolutionPyramidImageFilter<
205 itkSetClampMacro( NumberOfLevels,
unsigned long, 1,
207 itkGetMacro( NumberOfLevels,
unsigned long );
210 itkGetMacro( CurrentLevel,
unsigned long );
214 itkGetConstReferenceMacro( InitialTransformParameters,
ParametersType );
220 itkSetMacro( InitialTransformParametersOfNextLevel,
ParametersType );
221 itkGetConstReferenceMacro( InitialTransformParametersOfNextLevel,
ParametersType );
226 itkGetConstReferenceMacro( LastTransformParameters,
ParametersType );
239 unsigned long GetMTime(
void )
const;
250 virtual void PrintSelf(std::ostream& os, Indent indent)
const;
261 virtual void Initialize() throw (ExceptionObject);
267 itkSetMacro( CurrentLevel,
unsigned long );
278 void operator=(const Self&);
306 #ifndef ITK_MANUAL_INSTANTIATION
307 #include "itkMultiResolutionImageRegistrationMethod2.txx"
310 #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
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
SmartPointer< Self > Pointer
MovingImagePyramidPointer m_MovingImagePyramid
FixedImageConstPointer m_FixedImage
MultiResolutionImageRegistrationMethod2()
SingleValuedNonLinearOptimizer OptimizerType
SmartPointer< const Self > ConstPointer
MovingImageType::ConstPointer MovingImageConstPointer
virtual void StopRegistration(void)
MultiResolutionPyramidImageFilter< FixedImageType, FixedImageType > FixedImagePyramidType
std::vector< FixedImageRegionType > FixedImageRegionPyramidType
Superclass::InterpolatorType InterpolatorType
OptimizerType::Pointer m_Optimizer
MultiResolutionPyramidImageFilter< MovingImageType, MovingImageType > MovingImagePyramidType
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)
SmartPointer< Self > Pointer
FixedImagePyramidPointer m_FixedImagePyramid
virtual void PreparePyramids(void)