18 #ifndef __itkMultiMetricMultiResolutionImageRegistrationMethod_h 19 #define __itkMultiMetricMultiResolutionImageRegistrationMethod_h 27 #define itkSimpleSetMacro( _name, _type ) \ 28 virtual void Set##_name( _type _arg ) \ 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(); \ 82 template<
typename TFixedImage,
typename TMovingImage >
152 virtual void SetMetric( MetricType * _arg );
172 virtual void SetFixedImage(
const FixedImageType * _arg,
unsigned int pos );
174 virtual const FixedImageType *
GetFixedImage(
unsigned int pos )
const;
187 virtual void SetMovingImage(
const MovingImageType * _arg,
unsigned int pos );
189 virtual const MovingImageType *
GetMovingImage(
unsigned int pos )
const;
209 virtual void SetInterpolator( InterpolatorType * _arg,
unsigned int pos );
244 unsigned long GetMTime(
void )
const;
260 void PrintSelf( std::ostream & os, Indent indent )
const;
273 virtual void Initialize(
void ) throw ( ExceptionObject );
284 virtual
void CheckPyramids(
void ) throw ( ExceptionObject );
315 void operator=( const Self & );
321 #undef itkSetNumberOfMacro 322 #undef itkGetNumberOfMacro 323 #undef itkSimpleSetMacro 325 #ifndef ITK_MANUAL_INSTANTIATION 326 #include "itkMultiMetricMultiResolutionImageRegistrationMethod.hxx" FixedImageType::ConstPointer FixedImageConstPointer
std::vector< MovingImageConstPointer > m_MovingImages
virtual void SetFixedImage(const FixedImageType *_arg, unsigned int pos)
Base class for multi-resolution image registration methods.
TransformOutputType::ConstPointer TransformOutputConstPointer
Superclass::TransformOutputPointer TransformOutputPointer
MetricType::InterpolatorType InterpolatorType
std::vector< InterpolatorPointer > m_Interpolators
std::vector< FixedImageConstPointer > m_FixedImages
AdvancedImageToImageMetric< FixedImageType, MovingImageType > MetricType
TMovingImage MovingImageType
TransformType::Pointer TransformPointer
virtual CombinationMetricType * GetCombinationMetric(void) const
MetricType::TransformParametersType ParametersType
Superclass::FixedImagePyramidType FixedImagePyramidType
MovingImagePyramidType::Pointer MovingImagePyramidPointer
itkGetNumberOfMacro(FixedImage)
virtual InterpolatorType * GetInterpolator(void)
CombinationMetricType::Pointer CombinationMetricPointer
Superclass::MetricPointer MetricPointer
FixedImageType::RegionType FixedImageRegionType
virtual const FixedImageType * GetFixedImage(void) const
Superclass::TransformPointer TransformPointer
Superclass::FixedImageType FixedImageType
SmartPointer< const Self > ConstPointer
std::vector< FixedImageRegionPyramidType > m_FixedImageRegionPyramids
Superclass::OptimizerType OptimizerType
OptimizerType::Pointer OptimizerPointer
std::vector< FixedImageRegionType > m_FixedImageRegions
Superclass::TransformOutputType TransformOutputType
MultiMetricMultiResolutionImageRegistrationMethod Self
virtual void SetInterpolator(InterpolatorType *_arg, unsigned int pos)
FixedImagePyramidType::Pointer FixedImagePyramidPointer
Superclass::MovingImagePyramidType MovingImagePyramidType
InterpolatorType::Pointer InterpolatorPointer
virtual const ParametersType & GetLastTransformParameters(void) const
virtual void CheckPyramids(void)
TransformOutputType::Pointer TransformOutputPointer
DataObject::Pointer DataObjectPointer
MultiMetricMultiResolutionImageRegistrationMethod()
std::vector< FixedImageRegionType > FixedImageRegionPyramidType
virtual FixedImagePyramidType * GetFixedImagePyramid(void)
virtual void PrepareAllPyramids(void)
CombinationImageToImageMetric< FixedImageType, MovingImageType > CombinationMetricType
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::MovingImageConstPointer MovingImageConstPointer
virtual ~MultiMetricMultiResolutionImageRegistrationMethod()
Superclass::InterpolatorPointer InterpolatorPointer
ParametersType m_LastTransformParameters
SingleValuedNonLinearOptimizer OptimizerType
Superclass::MovingImagePyramidPointer MovingImagePyramidPointer
Superclass::TransformOutputConstPointer TransformOutputConstPointer
virtual const MovingImageType * GetMovingImage(void) const
Superclass::TransformType TransformType
MovingImageType::ConstPointer MovingImageConstPointer
virtual void SetMetric(MetricType *_arg)
Superclass::FixedImageRegionType FixedImageRegionType
itkSimpleSetMacro(FixedImage, const FixedImageType *)
virtual void SetMovingImage(const MovingImageType *_arg, unsigned int pos)
MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage > Superclass
Superclass::FixedImageConstPointer FixedImageConstPointer
MultiResolutionPyramidImageFilter< FixedImageType, FixedImageType > FixedImagePyramidType
Combines multiple metrics.
virtual MovingImagePyramidType * GetMovingImagePyramid(void)
CombinationMetricPointer m_CombinationMetric
itkSetNumberOfMacro(FixedImage)
Base class for multi-resolution image registration methods.
std::vector< FixedImagePyramidPointer > m_FixedImagePyramids
Superclass::MetricType MetricType
virtual void SetFixedImagePyramid(FixedImagePyramidType *_arg, unsigned int pos)
std::vector< MovingImagePyramidPointer > m_MovingImagePyramids
Superclass::FixedImagePyramidPointer FixedImagePyramidPointer
unsigned long GetMTime(void) const
MultiResolutionPyramidImageFilter< MovingImageType, MovingImageType > MovingImagePyramidType
virtual void SetMovingImagePyramid(MovingImagePyramidType *_arg, unsigned int pos)
DataObjectDecorator< TransformType > TransformOutputType
TFixedImage FixedImageType
MetricType::Pointer MetricPointer
virtual void StopMultiMetricRegistration(void)
virtual void SetFixedImageRegion(FixedImageRegionType _arg, unsigned int pos)
SmartPointer< Self > Pointer
MetricType::AdvancedTransformType TransformType
FixedImageRegionType m_NullFixedImageRegion
Superclass::ParametersType ParametersType
Superclass::MovingImageType MovingImageType
virtual const FixedImageRegionType & GetFixedImageRegion(void) const
virtual void CheckOnInitialize(void)
virtual void Initialize(void)
virtual void GenerateData(void)
Superclass::InterpolatorType InterpolatorType
Superclass::DataObjectPointer DataObjectPointer