18#ifndef __itkMultiMetricMultiResolutionImageRegistrationMethod_h
19#define __itkMultiMetricMultiResolutionImageRegistrationMethod_h
27#define elxOverrideSimpleSetMacro( _name, _type ) \
28 void Set##_name( _type _arg ) override \
30 this->Set##_name( _arg, 0 ); \
34#define itkSetNumberOfMacro( _name ) \
35 virtual void SetNumberOf##_name##s( unsigned int _arg ) \
37 if( this->m_##_name##s.size() != _arg ) \
39 this->m_##_name##s.resize( _arg ); \
45#define itkGetNumberOfMacro( _name ) \
46 virtual unsigned int GetNumberOf##_name##s( void ) const \
48 return this->m_##_name##s.size(); \
82template<
typename TFixedImage,
typename TMovingImage >
172 virtual void SetFixedImage(
const FixedImageType * _arg,
unsigned int pos );
260 void PrintSelf( std::ostream & os, Indent indent )
const override;
321#undef itkSetNumberOfMacro
322#undef itkGetNumberOfMacro
323#undef elxOverrideSimpleSetMacro
325#ifndef ITK_MANUAL_INSTANTIATION
326#include "itkMultiMetricMultiResolutionImageRegistrationMethod.hxx"
Combines multiple metrics.
SmartPointer< Self > Pointer
Base class for multi-resolution image registration methods.
virtual MovingImagePyramidType * GetMovingImagePyramid(unsigned int pos) const
itkGetNumberOfMacro(MovingImagePyramid)
CombinationMetricPointer m_CombinationMetric
elxOverrideSimpleSetMacro(MovingImage, const MovingImageType *)
Superclass::FixedImageType FixedImageType
Superclass::OptimizerType OptimizerType
std::vector< FixedImageConstPointer > m_FixedImages
virtual FixedImagePyramidType * GetFixedImagePyramid(unsigned int pos) const
void operator=(const Self &)
ModifiedTimeType GetMTime(void) const override
Superclass::MovingImageType MovingImageType
virtual void SetFixedImageRegion(FixedImageRegionType _arg, unsigned int pos)
~MultiMetricMultiResolutionImageRegistrationMethod() override
Superclass::FixedImagePyramidPointer FixedImagePyramidPointer
SmartPointer< const Self > ConstPointer
virtual void SetMovingImagePyramid(MovingImagePyramidType *_arg, unsigned int pos)
InterpolatorType * GetInterpolator(void) override
Superclass::InterpolatorType InterpolatorType
virtual void CheckOnInitialize(void)
itkSetNumberOfMacro(MovingImagePyramid)
MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage > Superclass
std::vector< MovingImagePyramidPointer > m_MovingImagePyramids
itkGetNumberOfMacro(FixedImage)
itkGetNumberOfMacro(FixedImagePyramid)
Superclass::InterpolatorPointer InterpolatorPointer
virtual void CheckPyramids(void)
void SetMetric(MetricType *_arg) override
void GenerateData(void) override
itkGetNumberOfMacro(MovingImage)
Superclass::TransformType TransformType
virtual void PrepareAllPyramids(void)
itkSetNumberOfMacro(FixedImage)
void Initialize(void) override
MultiMetricMultiResolutionImageRegistrationMethod()
virtual void SetFixedImage(const FixedImageType *_arg, unsigned int pos)
Superclass::FixedImageRegionType FixedImageRegionType
virtual void SetFixedImagePyramid(FixedImagePyramidType *_arg, unsigned int pos)
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
itkSetNumberOfMacro(FixedImageRegion)
Superclass::TransformOutputType TransformOutputType
Superclass::TransformOutputPointer TransformOutputPointer
FixedImagePyramidType * GetFixedImagePyramid(void) override
virtual void SetMovingImage(const MovingImageType *_arg, unsigned int pos)
Superclass::DataObjectPointer DataObjectPointer
Superclass::ParametersType ParametersType
itkGetNumberOfMacro(Interpolator)
Superclass::FixedImagePyramidType FixedImagePyramidType
MultiMetricMultiResolutionImageRegistrationMethod(const Self &)
elxOverrideSimpleSetMacro(FixedImage, const FixedImageType *)
Superclass::MovingImagePyramidPointer MovingImagePyramidPointer
std::vector< InterpolatorPointer > m_Interpolators
itkSetNumberOfMacro(Interpolator)
itkGetNumberOfMacro(FixedImageRegion)
elxOverrideSimpleSetMacro(Interpolator, InterpolatorType *)
ParametersType m_LastTransformParameters
virtual const FixedImageRegionType & GetFixedImageRegion(unsigned int pos) const
Superclass::MetricPointer MetricPointer
MovingImagePyramidType * GetMovingImagePyramid(void) override
std::vector< FixedImageRegionPyramidType > m_FixedImageRegionPyramids
elxOverrideSimpleSetMacro(FixedImagePyramid, FixedImagePyramidType *)
virtual const FixedImageType * GetFixedImage(unsigned int pos) const
Superclass::MetricType MetricType
Superclass::MovingImagePyramidType MovingImagePyramidType
Superclass::TransformPointer TransformPointer
CombinationMetricType::Pointer CombinationMetricPointer
const FixedImageType * GetFixedImage(void) const override
itkSetNumberOfMacro(FixedImagePyramid)
virtual void SetInterpolator(InterpolatorType *_arg, unsigned int pos)
virtual CombinationMetricType * GetCombinationMetric(void) const
MultiMetricMultiResolutionImageRegistrationMethod Self
std::vector< FixedImageRegionType > FixedImageRegionPyramidType
virtual void StopMultiMetricRegistration(void)
SmartPointer< Self > Pointer
virtual InterpolatorType * GetInterpolator(unsigned int pos) const
CombinationImageToImageMetric< FixedImageType, MovingImageType > CombinationMetricType
itkSetNumberOfMacro(MovingImage)
FixedImageRegionType m_NullFixedImageRegion
std::vector< FixedImagePyramidPointer > m_FixedImagePyramids
OptimizerType::Pointer OptimizerPointer
const FixedImageRegionType & GetFixedImageRegion(void) const override
void PrintSelf(std::ostream &os, Indent indent) const override
virtual const MovingImageType * GetMovingImage(unsigned int pos) const
elxOverrideSimpleSetMacro(FixedImageRegion, const FixedImageRegionType)
const ParametersType & GetLastTransformParameters(void) const override
std::vector< FixedImageRegionType > m_FixedImageRegions
std::vector< MovingImageConstPointer > m_MovingImages
const MovingImageType * GetMovingImage(void) const override
elxOverrideSimpleSetMacro(MovingImagePyramid, MovingImagePyramidType *)
Superclass::TransformOutputConstPointer TransformOutputConstPointer
Base class for multi-resolution image registration methods.
AdvancedImageToImageMetric< FixedImageType, MovingImageType > MetricType
TMovingImage MovingImageType
SingleValuedNonLinearOptimizer OptimizerType
TransformOutputType::ConstPointer TransformOutputConstPointer
FixedImageType::RegionType FixedImageRegionType
DataObject::Pointer DataObjectPointer
TransformOutputType::Pointer TransformOutputPointer
FixedImageType::ConstPointer FixedImageConstPointer
MultiResolutionPyramidImageFilter< FixedImageType, FixedImageType > FixedImagePyramidType
MetricType::TransformParametersType ParametersType
TFixedImage FixedImageType
MultiResolutionPyramidImageFilter< MovingImageType, MovingImageType > MovingImagePyramidType
InterpolatorType::Pointer InterpolatorPointer
MovingImageType::ConstPointer MovingImageConstPointer
FixedImagePyramidType::Pointer FixedImagePyramidPointer
TransformType::Pointer TransformPointer
DataObjectDecorator< TransformType > TransformOutputType
MetricType::InterpolatorType InterpolatorType
MetricType::AdvancedTransformType TransformType
MetricType::Pointer MetricPointer
MovingImagePyramidType::Pointer MovingImagePyramidPointer