go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Private Member Functions
elastix::MultiResolutionRegistration< TElastix > Class Template Reference

#include <elxMultiResolutionRegistration.h>

Detailed Description

template<class TElastix>
class elastix::MultiResolutionRegistration< TElastix >

A registration framework based on the itk::MultiResolutionImageRegistrationMethod.

This MultiResolutionRegistration gives a framework for registration with a multi-resolution approach.

The parameters used in this class are:

Parameters:

Registration: Select this registration framework as follows:
(Registration "MultiResolutionRegistration")

NumberOfResolutions: the number of resolutions used.
example: (NumberOfResolutions 4)
The default is 3.

Definition at line 46 of file elxMultiResolutionRegistration.h.

Inheritance diagram for elastix::MultiResolutionRegistration< TElastix >:
Inheritance graph
[legend]

Public Types

typedef Superclass2::ConfigurationPointer ConfigurationPointer
 
typedef Superclass2::ConfigurationType ConfigurationType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass2::ElastixPointer ElastixPointer
 
typedef Superclass2::ElastixType ElastixType
 
typedef Superclass1::FixedImageConstPointer FixedImageConstPointer
 
typedef Superclass1::FixedImagePyramidPointer FixedImagePyramidPointer
 
typedef Superclass1::FixedImagePyramidType FixedImagePyramidType
 
typedef Superclass1::FixedImageRegionType FixedImageRegionType
 
typedef Superclass1::FixedImageType FixedImageType
 
typedef Superclass1::InterpolatorPointer InterpolatorPointer
 
typedef Superclass1::InterpolatorType InterpolatorType
 
typedef Superclass2::ITKBaseType ITKBaseType
 
typedef Superclass1::MetricPointer MetricPointer
 
typedef Superclass1::MetricType MetricType
 
typedef Superclass1::MovingImageConstPointer MovingImageConstPointer
 
typedef Superclass1::MovingImagePyramidPointer MovingImagePyramidPointer
 
typedef Superclass1::MovingImagePyramidType MovingImagePyramidType
 
typedef Superclass1::MovingImageType MovingImageType
 
typedef Superclass1::OptimizerType OptimizerType
 
typedef Superclass1::ParametersType ParametersType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass2::RegistrationPointer RegistrationPointer
 
typedef Superclass2::RegistrationType RegistrationType
 
typedef MultiResolutionRegistration Self
 
typedef RegistrationBase< TElastix >::ITKBaseType Superclass1
 
typedef RegistrationBase< TElastix > Superclass2
 
typedef Superclass1::TransformPointer TransformPointer
 
typedef Superclass1::TransformType TransformType
 
typedef Superclass2::UseMaskErosionArrayType UseMaskErosionArrayType
 
- Public Types inherited from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage >
typedef SmartPointer< const SelfConstPointer
 
typedef DataObject::Pointer DataObjectPointer
 
typedef FixedImageType::ConstPointer FixedImageConstPointer
 
typedef FixedImagePyramidType::Pointer FixedImagePyramidPointer
 
typedef MultiResolutionPyramidImageFilter< FixedImageType, FixedImageTypeFixedImagePyramidType
 
typedef std::vector< FixedImageRegionTypeFixedImageRegionPyramidType
 
typedef FixedImageType::RegionType FixedImageRegionType
 
typedef TFixedImage FixedImageType
 
typedef InterpolatorType::Pointer InterpolatorPointer
 
typedef MetricType::InterpolatorType InterpolatorType
 
typedef MetricType::Pointer MetricPointer
 
typedef AdvancedImageToImageMetric< FixedImageType, MovingImageTypeMetricType
 
typedef MovingImageType::ConstPointer MovingImageConstPointer
 
typedef MovingImagePyramidType::Pointer MovingImagePyramidPointer
 
typedef MultiResolutionPyramidImageFilter< MovingImageType, MovingImageTypeMovingImagePyramidType
 
typedef TMovingImage MovingImageType
 
typedef SingleValuedNonLinearOptimizer OptimizerType
 
typedef MetricType::TransformParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef MultiResolutionImageRegistrationMethod2 Self
 
typedef ProcessObject Superclass
 
typedef TransformOutputType::ConstPointer TransformOutputConstPointer
 
typedef TransformOutputType::Pointer TransformOutputPointer
 
typedef DataObjectDecorator< TransformTypeTransformOutputType
 
typedef TransformType::Pointer TransformPointer
 
typedef MetricType::AdvancedTransformType TransformType
 
- Public Types inherited from elastix::RegistrationBase< TElastix >
typedef Superclass::ConfigurationPointer ConfigurationPointer
 
typedef Superclass::ConfigurationType ConfigurationType
 
typedef Superclass::ElastixPointer ElastixPointer
 
typedef Superclass::ElastixType ElastixType
 
typedef ElastixType::FixedImageType FixedImageType
 
typedef itk::MultiResolutionImageRegistrationMethod2< FixedImageType, MovingImageTypeITKBaseType
 
typedef ElastixType::MovingImageType MovingImageType
 
typedef Superclass::RegistrationPointer RegistrationPointer
 
typedef Superclass::RegistrationType RegistrationType
 
typedef RegistrationBase Self
 
typedef BaseComponentSE< TElastix > Superclass
 
typedef std::vector< boolUseMaskErosionArrayType
 
- Public Types inherited from elastix::BaseComponentSE< TElastix >
typedef ElastixType::ConfigurationPointer ConfigurationPointer
 
typedef ElastixType::ConfigurationType ConfigurationType
 
typedef ElastixType::Pointer ElastixPointer
 
typedef TElastix ElastixType
 
typedef RegistrationTypeRegistrationPointer
 
typedef ElastixType::RegistrationBaseType RegistrationType
 
typedef BaseComponentSE Self
 
typedef BaseComponent Superclass
 

Public Member Functions

virtual void BeforeEachResolution (void)
 
virtual void BeforeRegistration (void)
 
 elxClassNameMacro ("MultiResolutionRegistration")
 
virtual const char * GetClassName () const
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, Superclass2::FixedImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, Superclass2::MovingImageDimension)
 
- Public Member Functions inherited from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage >
virtual unsigned long GetCurrentLevel ()
 
virtual const FixedImageTypeGetFixedImage ()
 
virtual FixedImagePyramidTypeGetFixedImagePyramid ()
 
virtual const FixedImageRegionTypeGetFixedImageRegion ()
 
virtual const ParametersTypeGetInitialTransformParameters ()
 
virtual const ParametersTypeGetInitialTransformParametersOfNextLevel ()
 
virtual InterpolatorTypeGetInterpolator ()
 
virtual const ParametersTypeGetLastTransformParameters ()
 
virtual MetricTypeGetMetric ()
 
virtual const MovingImageTypeGetMovingImage ()
 
virtual MovingImagePyramidTypeGetMovingImagePyramid ()
 
unsigned long GetMTime (void) const
 
virtual unsigned long GetNumberOfLevels ()
 
virtual OptimizerTypeGetOptimizer ()
 
const TransformOutputTypeGetOutput (void) const
 
virtual TransformTypeGetTransform ()
 
virtual DataObjectPointer MakeOutput (unsigned int idx)
 
virtual void SetFixedImage (const FixedImageType *_arg)
 
virtual void SetFixedImagePyramid (FixedImagePyramidType *_arg)
 
virtual void SetFixedImageRegion (FixedImageRegionType _arg)
 
virtual void SetInitialTransformParameters (ParametersType _arg)
 
virtual void SetInitialTransformParametersOfNextLevel (ParametersType _arg)
 
virtual void SetInterpolator (InterpolatorType *_arg)
 
virtual void SetMetric (MetricType *_arg)
 
virtual void SetMovingImage (const MovingImageType *_arg)
 
virtual void SetMovingImagePyramid (MovingImagePyramidType *_arg)
 
virtual void SetNumberOfLevels (unsigned long _arg)
 
virtual void SetOptimizer (OptimizerType *_arg)
 
virtual void SetTransform (TransformType *_arg)
 
virtual void StartRegistration (void)
 
virtual void StopRegistration (void)
 
- Public Member Functions inherited from elastix::RegistrationBase< TElastix >
virtual ITKBaseTypeGetAsITKBaseType (void)
 
virtual const ITKBaseTypeGetAsITKBaseType (void) const
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
virtual bool ReadMaskParameters (UseMaskErosionArrayType &useMaskErosionArray, const unsigned int nrOfMasks, const std::string &whichMask, const unsigned int level) const
 
- Public Member Functions inherited from elastix::BaseComponentSE< TElastix >
virtual ConfigurationTypeGetConfiguration (void) const
 
virtual ElastixTypeGetElastix (void) const
 
virtual RegistrationPointer GetRegistration (void) const
 
virtual void SetConfiguration (ConfigurationType *_arg)
 
virtual void SetElastix (ElastixType *_arg)
 
- Public Member Functions inherited from elastix::BaseComponent
virtual void AfterEachIteration (void)
 
virtual void AfterEachIterationBase (void)
 
virtual void AfterEachResolution (void)
 
virtual void AfterEachResolutionBase (void)
 
virtual void AfterRegistration (void)
 
virtual void AfterRegistrationBase (void)
 
virtual int BeforeAll (void)
 
virtual int BeforeAllBase (void)
 
virtual void BeforeEachResolutionBase (void)
 
virtual void BeforeRegistrationBase (void)
 
std::string ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision) const
 
virtual const char * elxGetClassName (void) const
 
virtual const char * GetComponentLabel (void) const
 
virtual void SetComponentLabel (const char *label, unsigned int idx)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage >
static Pointer New ()
 

Protected Types

typedef Superclass2::FixedMaskImagePointer FixedMaskImagePointer
 
typedef Superclass2::FixedMaskImageType FixedMaskImageType
 
typedef Superclass2::FixedMaskSpatialObjectPointer FixedMaskSpatialObjectPointer
 
typedef Superclass2::FixedMaskSpatialObjectType FixedMaskSpatialObjectType
 
typedef Superclass2::MaskPixelType MaskPixelType
 
typedef Superclass2::MovingMaskImagePointer MovingMaskImagePointer
 
typedef Superclass2::MovingMaskImageType MovingMaskImageType
 
typedef Superclass2::MovingMaskSpatialObjectPointer MovingMaskSpatialObjectPointer
 
typedef Superclass2::MovingMaskSpatialObjectType MovingMaskSpatialObjectType
 
- Protected Types inherited from elastix::RegistrationBase< TElastix >
typedef ITKBaseType::FixedImagePyramidType FixedImagePyramidType
 
typedef FixedMaskErodeFilterType::Pointer FixedMaskErodeFilterPointer
 
typedef itk::ErodeMaskImageFilter< FixedMaskImageTypeFixedMaskErodeFilterType
 
typedef FixedMaskImageType::Pointer FixedMaskImagePointer
 
typedef ElastixType::FixedMaskType FixedMaskImageType
 
typedef FixedMaskSpatialObjectType::Pointer FixedMaskSpatialObjectPointer
 
typedef itk::ImageMaskSpatialObject2< itkGetStaticConstMacro(FixedImageDimension) > FixedMaskSpatialObjectType
 
typedef ElastixType::MaskPixelType MaskPixelType
 
typedef ITKBaseType::MovingImagePyramidType MovingImagePyramidType
 
typedef MovingMaskErodeFilterType::Pointer MovingMaskErodeFilterPointer
 
typedef itk::ErodeMaskImageFilter< MovingMaskImageTypeMovingMaskErodeFilterType
 
typedef MovingMaskImageType::Pointer MovingMaskImagePointer
 
typedef ElastixType::MovingMaskType MovingMaskImageType
 
typedef MovingMaskSpatialObjectType::Pointer MovingMaskSpatialObjectPointer
 
typedef itk::ImageMaskSpatialObject2< itkGetStaticConstMacro(MovingImageDimension) > MovingMaskSpatialObjectType
 

Protected Member Functions

 MultiResolutionRegistration ()
 
virtual void SetComponents (void)
 
void UpdateMasks (unsigned int level)
 
virtual ~MultiResolutionRegistration ()
 
- Protected Member Functions inherited from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage >
virtual void GenerateData (void)
 
virtual void Initialize () throw ( ExceptionObject )
 
 MultiResolutionImageRegistrationMethod2 ()
 
virtual void PreparePyramids (void)
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void SetCurrentLevel (unsigned long _arg)
 
virtual ~MultiResolutionImageRegistrationMethod2 ()
 
- Protected Member Functions inherited from elastix::RegistrationBase< TElastix >
FixedMaskSpatialObjectPointer GenerateFixedMaskSpatialObject (const FixedMaskImageType *maskImage, bool useMaskErosion, const FixedImagePyramidType *pyramid, unsigned int level) const
 
MovingMaskSpatialObjectPointer GenerateMovingMaskSpatialObject (const MovingMaskImageType *maskImage, bool useMaskErosion, const MovingImagePyramidType *pyramid, unsigned int level) const
 
 RegistrationBase ()
 
virtual ~RegistrationBase ()
 
- Protected Member Functions inherited from elastix::BaseComponentSE< TElastix >
 BaseComponentSE ()
 
virtual ~BaseComponentSE ()
 
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()
 
virtual ~BaseComponent ()
 

Private Member Functions

 MultiResolutionRegistration (const Self &)
 
void operator= (const Self &)
 

Additional Inherited Members

- Protected Attributes inherited from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage >
ParametersType m_LastTransformParameters
 
bool m_Stop
 
- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration
 
ElastixPointer m_Elastix
 
RegistrationPointer m_Registration
 

Member Typedef Documentation

Definition at line 117 of file elxMultiResolutionRegistration.h.

Definition at line 116 of file elxMultiResolutionRegistration.h.

template<class TElastix >
typedef itk::SmartPointer< const Self > elastix::MultiResolutionRegistration< TElastix >::ConstPointer

Definition at line 60 of file elxMultiResolutionRegistration.h.

Definition at line 115 of file elxMultiResolutionRegistration.h.

template<class TElastix >
typedef Superclass2::ElastixType elastix::MultiResolutionRegistration< TElastix >::ElastixType

Typedef's from Elastix.

Definition at line 114 of file elxMultiResolutionRegistration.h.

Definition at line 78 of file elxMultiResolutionRegistration.h.

Definition at line 102 of file elxMultiResolutionRegistration.h.

Type of the Fixed image multiresolution pyramid.

Definition at line 101 of file elxMultiResolutionRegistration.h.

Definition at line 79 of file elxMultiResolutionRegistration.h.

Typedef's inherited from Superclass1. Type of the Fixed image.

Definition at line 77 of file elxMultiResolutionRegistration.h.

template<class TElastix >
typedef Superclass2::FixedMaskImagePointer elastix::MultiResolutionRegistration< TElastix >::FixedMaskImagePointer
protected

Definition at line 149 of file elxMultiResolutionRegistration.h.

template<class TElastix >
typedef Superclass2::FixedMaskImageType elastix::MultiResolutionRegistration< TElastix >::FixedMaskImageType
protected

Definition at line 147 of file elxMultiResolutionRegistration.h.

Definition at line 153 of file elxMultiResolutionRegistration.h.

Definition at line 151 of file elxMultiResolutionRegistration.h.

Definition at line 95 of file elxMultiResolutionRegistration.h.

Type of the Interpolator.

Definition at line 94 of file elxMultiResolutionRegistration.h.

template<class TElastix >
typedef Superclass2::ITKBaseType elastix::MultiResolutionRegistration< TElastix >::ITKBaseType

Definition at line 120 of file elxMultiResolutionRegistration.h.

template<class TElastix >
typedef Superclass2::MaskPixelType elastix::MultiResolutionRegistration< TElastix >::MaskPixelType
protected

Typedef's for mask support.

Definition at line 146 of file elxMultiResolutionRegistration.h.

template<class TElastix >
typedef Superclass1::MetricPointer elastix::MultiResolutionRegistration< TElastix >::MetricPointer

Definition at line 87 of file elxMultiResolutionRegistration.h.

template<class TElastix >
typedef Superclass1::MetricType elastix::MultiResolutionRegistration< TElastix >::MetricType

Type of the metric.

Definition at line 86 of file elxMultiResolutionRegistration.h.

Definition at line 83 of file elxMultiResolutionRegistration.h.

Definition at line 106 of file elxMultiResolutionRegistration.h.

Type of the moving image multiresolution pyramid.

Definition at line 105 of file elxMultiResolutionRegistration.h.

Type of the Moving image.

Definition at line 82 of file elxMultiResolutionRegistration.h.

Definition at line 150 of file elxMultiResolutionRegistration.h.

template<class TElastix >
typedef Superclass2::MovingMaskImageType elastix::MultiResolutionRegistration< TElastix >::MovingMaskImageType
protected

Definition at line 148 of file elxMultiResolutionRegistration.h.

Definition at line 154 of file elxMultiResolutionRegistration.h.

Definition at line 152 of file elxMultiResolutionRegistration.h.

template<class TElastix >
typedef Superclass1::OptimizerType elastix::MultiResolutionRegistration< TElastix >::OptimizerType

Type of the optimizer.

Definition at line 98 of file elxMultiResolutionRegistration.h.

Type of the Transformation parameters. This is the same type used to represent the search space of the optimization algorithm.

Definition at line 111 of file elxMultiResolutionRegistration.h.

template<class TElastix >
typedef itk::SmartPointer< Self > elastix::MultiResolutionRegistration< TElastix >::Pointer

Definition at line 59 of file elxMultiResolutionRegistration.h.

Definition at line 119 of file elxMultiResolutionRegistration.h.

Definition at line 118 of file elxMultiResolutionRegistration.h.

template<class TElastix >
typedef MultiResolutionRegistration elastix::MultiResolutionRegistration< TElastix >::Self

Standard ITK.

Definition at line 55 of file elxMultiResolutionRegistration.h.

template<class TElastix >
typedef RegistrationBase< TElastix >::ITKBaseType elastix::MultiResolutionRegistration< TElastix >::Superclass1

Definition at line 57 of file elxMultiResolutionRegistration.h.

template<class TElastix >
typedef RegistrationBase< TElastix > elastix::MultiResolutionRegistration< TElastix >::Superclass2

Definition at line 58 of file elxMultiResolutionRegistration.h.

Definition at line 91 of file elxMultiResolutionRegistration.h.

template<class TElastix >
typedef Superclass1::TransformType elastix::MultiResolutionRegistration< TElastix >::TransformType

Type of the Transform .

Definition at line 90 of file elxMultiResolutionRegistration.h.

Definition at line 121 of file elxMultiResolutionRegistration.h.

Constructor & Destructor Documentation

template<class TElastix >
elastix::MultiResolutionRegistration< TElastix >::MultiResolutionRegistration ( )
inlineprotected

The constructor.

Definition at line 141 of file elxMultiResolutionRegistration.h.

template<class TElastix >
virtual elastix::MultiResolutionRegistration< TElastix >::~MultiResolutionRegistration ( )
inlineprotectedvirtual

The destructor.

Definition at line 143 of file elxMultiResolutionRegistration.h.

template<class TElastix >
elastix::MultiResolutionRegistration< TElastix >::MultiResolutionRegistration ( const Self )
private

The private constructor.

Member Function Documentation

template<class TElastix >
virtual void elastix::MultiResolutionRegistration< TElastix >::BeforeEachResolution ( void  )
virtual

Execute stuff before each resolution:

  • Update masks with an erosion.

Reimplemented from elastix::BaseComponent.

template<class TElastix >
virtual void elastix::MultiResolutionRegistration< TElastix >::BeforeRegistration ( void  )
virtual

Execute stuff before the actual registration:

  • Connect all components to the registration framework.
  • Set the number of resolution levels.
  • Set the fixed image region.

Reimplemented from elastix::BaseComponent.

template<class TElastix >
elastix::MultiResolutionRegistration< TElastix >::elxClassNameMacro ( "MultiResolutionRegistration< TElastix >"  )

Name of this class. Use this name in the parameter file to select this specific registration framework.
example: (Registration "MultiResolutionRegistration")

template<class TElastix >
virtual const char* elastix::MultiResolutionRegistration< TElastix >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage >.

template<class TElastix >
elastix::MultiResolutionRegistration< TElastix >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned  int,
Superclass2::FixedImageDimension   
)

Get the dimension of the fixed image.

template<class TElastix >
elastix::MultiResolutionRegistration< TElastix >::itkStaticConstMacro ( MovingImageDimension  ,
unsigned  int,
Superclass2::MovingImageDimension   
)

Get the dimension of the moving image.

template<class TElastix >
static Pointer elastix::MultiResolutionRegistration< TElastix >::New ( )
static

Method for creation through the object factory.

template<class TElastix >
void elastix::MultiResolutionRegistration< TElastix >::operator= ( const Self )
private

The private copy constructor.

template<class TElastix >
virtual void elastix::MultiResolutionRegistration< TElastix >::SetComponents ( void  )
protectedvirtual

Read the components from m_Elastix and set them in the Registration class.

template<class TElastix >
void elastix::MultiResolutionRegistration< TElastix >::UpdateMasks ( unsigned int  level)
protected

Function to update fixed and moving masks.



Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo