18#ifndef itkMultiInputMultiResolutionImageRegistrationMethodBase_h
19#define itkMultiInputMultiResolutionImageRegistrationMethodBase_h
28#define itkSimpleSetMacro(_name, _type) \
29 virtual void Set##_name(_type _arg) { this->Set##_name(_arg, 0); }
31#define elxOverrideSimpleSetMacro(_name, _type) \
32 void Set##_name(_type _arg) override { this->Set##_name(_arg, 0); }
35#define itkSetNumberOfMacro(_name) \
36 virtual void SetNumberOf##_name##s(unsigned int _arg) \
38 if (this->m_##_name##s.size() != _arg) \
40 this->m_##_name##s.resize(_arg); \
46#define itkGetNumberOfMacro(_name) \
47 virtual unsigned int GetNumberOf##_name##s() const { return this->m_##_name##s.size(); }
72template <
typename TFixedImage,
typename TMovingImage>
150 return this->GetFixedImage(0);
166 return this->GetFixedImageRegion(0);
182 return this->GetFixedImagePyramid(0);
185 const FixedImagePyramidType *
188 return this->GetFixedImagePyramid(0);
205 return this->GetMovingImage(0);
221 return this->GetMovingImagePyramid(0);
224 const MovingImagePyramidType *
227 return this->GetMovingImagePyramid(0);
244 return this->GetInterpolator(0);
247 const InterpolatorType *
250 return this->GetInterpolator(0);
267 return this->GetFixedImageInterpolator(0);
295 PrintSelf(std::ostream & os, Indent indent)
const override;
345#undef itkSetNumberOfMacro
346#undef itkGetNumberOfMacro
347#undef elxOverrideSimpleSetMacro
349#ifndef ITK_MANUAL_INSTANTIATION
350# include "itkMultiInputMultiResolutionImageRegistrationMethodBase.hxx"
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics.
Base class for multi-resolution image registration methods.
TMovingImage MovingImageType
typename DataObject::Pointer DataObjectPointer
typename MovingImageType::ConstPointer MovingImageConstPointer
typename MetricType::InterpolatorType InterpolatorType
typename TransformOutputType::ConstPointer TransformOutputConstPointer
TFixedImage FixedImageType
typename FixedImageType::ConstPointer FixedImageConstPointer
MultiResolutionPyramidImageFilter< FixedImageType, FixedImageType > FixedImagePyramidType
typename FixedImagePyramidType::Pointer FixedImagePyramidPointer
typename TransformType::Pointer TransformPointer
typename MetricType::Pointer MetricPointer
typename MovingImagePyramidType::Pointer MovingImagePyramidPointer
typename InterpolatorType::Pointer InterpolatorPointer
typename FixedImageType::RegionType FixedImageRegionType
std::vector< FixedImageRegionType > FixedImageRegionPyramidType
typename MetricType::TransformParametersType ParametersType
DataObjectDecorator< TransformType > TransformOutputType
typename MetricType::AdvancedTransformType TransformType
typename TransformOutputType::Pointer TransformOutputPointer
MultiResolutionPyramidImageFilter< MovingImageType, MovingImageType > MovingImagePyramidType