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"
97template<
typename TFixedImage,
typename TMovingImage >
148 typedef MultiResolutionPyramidImageFilter<
153 typedef MultiResolutionPyramidImageFilter<
208 itkSetClampMacro( NumberOfLevels,
unsigned long, 1,
209 NumericTraits< unsigned long >::max() );
210 itkGetMacro( NumberOfLevels,
unsigned long );
213 itkGetMacro( CurrentLevel,
unsigned long );
224 itkGetConstReferenceMacro( InitialTransformParametersOfNextLevel,
ParametersType );
253 void PrintSelf( std::ostream & os, Indent indent )
const override;
270 itkSetMacro( CurrentLevel,
unsigned long );
308#ifndef ITK_MANUAL_INSTANTIATION
309#include "itkMultiResolutionImageRegistrationMethod2.hxx"
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics.
Superclass::TransformParametersType TransformParametersType
Superclass::InterpolatorType InterpolatorType
SmartPointer< Self > Pointer
Base class for multi-resolution image registration methods.
AdvancedImageToImageMetric< FixedImageType, MovingImageType > MetricType
TMovingImage MovingImageType
virtual void PreparePyramids(void)
std::vector< FixedImageRegionType > FixedImageRegionPyramidType
virtual void StopRegistration(void)
SingleValuedNonLinearOptimizer OptimizerType
FixedImageRegionType m_FixedImageRegion
ParametersType m_InitialTransformParametersOfNextLevel
OptimizerType::Pointer m_Optimizer
TransformOutputType::ConstPointer TransformOutputConstPointer
itkGetModifiableObjectMacro(Interpolator, InterpolatorType)
ParametersType m_LastTransformParameters
FixedImageType::RegionType FixedImageRegionType
InterpolatorPointer m_Interpolator
virtual DataObjectPointer MakeOutput(unsigned int idx)
DataObject::Pointer DataObjectPointer
itkGetModifiableObjectMacro(Optimizer, OptimizerType)
FixedImagePyramidPointer m_FixedImagePyramid
MultiResolutionImageRegistrationMethod2(const Self &)
SmartPointer< Self > Pointer
TransformOutputType::Pointer TransformOutputPointer
TransformPointer m_Transform
FixedImageType::ConstPointer FixedImageConstPointer
MultiResolutionPyramidImageFilter< FixedImageType, FixedImageType > FixedImagePyramidType
void operator=(const Self &)
MultiResolutionImageRegistrationMethod2 Self
itkGetModifiableObjectMacro(MovingImagePyramid, MovingImagePyramidType)
void GenerateData(void) override
virtual void StartRegistration(void)
MetricType::TransformParametersType ParametersType
itkGetModifiableObjectMacro(Metric, MetricType)
~MultiResolutionImageRegistrationMethod2() override
TFixedImage FixedImageType
const TransformOutputType * GetOutput(void) const
FixedImageRegionPyramidType m_FixedImageRegionPyramid
MultiResolutionImageRegistrationMethod2()
virtual void Initialize()
MultiResolutionPyramidImageFilter< MovingImageType, MovingImageType > MovingImagePyramidType
InterpolatorType::Pointer InterpolatorPointer
MovingImageType::ConstPointer MovingImageConstPointer
ParametersType m_InitialTransformParameters
MovingImageConstPointer m_MovingImage
FixedImagePyramidType::Pointer FixedImagePyramidPointer
unsigned long m_CurrentLevel
TransformType::Pointer TransformPointer
MovingImagePyramidPointer m_MovingImagePyramid
itkGetModifiableObjectMacro(FixedImagePyramid, FixedImagePyramidType)
FixedImageConstPointer m_FixedImage
DataObjectDecorator< TransformType > TransformOutputType
MetricType::InterpolatorType InterpolatorType
unsigned long m_NumberOfLevels
MetricType::AdvancedTransformType TransformType
MetricType::Pointer MetricPointer
ModifiedTimeType GetMTime(void) const override
void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< const Self > ConstPointer
itkGetModifiableObjectMacro(Transform, TransformType)
MovingImagePyramidType::Pointer MovingImagePyramidPointer