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 | Protected Member Functions | Private Member Functions
elastix::MovingImagePyramidBase< TElastix > Class Template Reference

#include <elxMovingImagePyramidBase.h>

Detailed Description

template<class TElastix>
class elastix::MovingImagePyramidBase< TElastix >

This class is the elastix base class for all MovingImagePyramids.

This class contains all the common functionality for MovingImagePyramids.

Parameters:

MovingImagePyramidSchedule: downsampling factors for the image pyramid.
For each dimension, for each resolution level, the downsampling factor of the moving image can be specified.
Syntax for 2D images:
(MovingImagePyramidSchedule <reslevel0,dim0> <reslevel0,dim1> <reslevel1,dim0> <reslevel1,dim1> ...) example: (MovingImagePyramidSchedule 4 4 2 2 1 1)
Default: isotropic, halved in each resolution, so, like in the example. If ImagePyramidSchedule is specified, that schedule is used for both fixed and moving image pyramid.

ImagePyramidSchedule: downsampling factors for fixed and moving image pyramids.
example: (ImagePyramidSchedule 4 4 2 2 1 1)
Used as a default when MovingImagePyramidSchedule is not specified. If both are omitted, a default schedule is assumed: isotropic, halved in each resolution, so, like in the example.

WritePyramidImagesAfterEachResolution: ...
example: (WritePyramidImagesAfterEachResolution "true")
default "false".

Definition at line 60 of file elxMovingImagePyramidBase.h.

+ Inheritance diagram for elastix::MovingImagePyramidBase< TElastix >:

Public Types

typedef Superclass::ConfigurationPointer ConfigurationPointer
 
typedef Superclass::ConfigurationType ConfigurationType
 
typedef Superclass::ElastixPointer ElastixPointer
 
typedef Superclass::ElastixType ElastixType
 
typedef ElastixType::MovingImageType InputImageType
 
typedef itk::MultiResolutionPyramidImageFilter< InputImageType, OutputImageTypeITKBaseType
 
typedef ElastixType::MovingImageType OutputImageType
 
typedef Superclass::RegistrationPointer RegistrationPointer
 
typedef Superclass::RegistrationType RegistrationType
 
typedef ITKBaseType::ScheduleType ScheduleType
 
typedef MovingImagePyramidBase Self
 
typedef BaseComponentSE< TElastix > Superclass
 
- Public Types inherited from elastix::BaseComponentSE< TElastix >
typedef Configuration::Pointer ConfigurationPointer
 
typedef Configuration ConfigurationType
 
typedef itk::WeakPointer< ElastixTypeElastixPointer
 
typedef TElastix ElastixType
 
typedef RegistrationTypeRegistrationPointer
 
typedef ElastixType::RegistrationBaseType RegistrationType
 
typedef BaseComponentSE Self
 
typedef BaseComponent Superclass
 

Public Member Functions

void BeforeEachResolutionBase (void) override
 
void BeforeRegistrationBase (void) override
 
virtual ITKBaseTypeGetAsITKBaseType (void)
 
virtual const ITKBaseTypeGetAsITKBaseType (void) const
 
virtual const char * GetClassName () const
 
virtual void SetMovingSchedule (void)
 
virtual void WritePyramidImage (const std::string &filename, const unsigned int &level)
 
- Public Member Functions inherited from elastix::BaseComponentSE< TElastix >
ConfigurationTypeGetConfiguration (void) const
 
ElastixTypeGetElastix (void) const
 
RegistrationPointer GetRegistration (void) const
 
 ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponentSE)
 
void SetConfiguration (ConfigurationType *_arg)
 
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 BeforeEachResolution (void)
 
virtual void BeforeEachResolutionBase (void)
 
virtual void BeforeRegistration (void)
 
virtual void BeforeRegistrationBase (void)
 
virtual const char * elxGetClassName (void) const
 
const char * GetComponentLabel (void) const
 
 ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponent)
 
 itkTypeMacroNoParent (BaseComponent)
 
void SetComponentLabel (const char *label, unsigned int idx)
 

Protected Member Functions

 MovingImagePyramidBase ()
 
 ~MovingImagePyramidBase () override
 
- Protected Member Functions inherited from elastix::BaseComponentSE< TElastix >
 BaseComponentSE ()=default
 
 ~BaseComponentSE () override=default
 
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()=default
 
virtual ~BaseComponent ()=default
 

Private Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from elastix::BaseComponent
static std::string ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision)
 
static void InitializeElastixExecutable ()
 
static bool IsElastixLibrary ()
 
- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration {}
 
ElastixPointer m_Elastix {}
 
RegistrationPointer m_Registration {}
 

Member Typedef Documentation

◆ ConfigurationPointer

template<class TElastix >
typedef Superclass::ConfigurationPointer elastix::MovingImagePyramidBase< TElastix >::ConfigurationPointer

Definition at line 75 of file elxMovingImagePyramidBase.h.

◆ ConfigurationType

template<class TElastix >
typedef Superclass::ConfigurationType elastix::MovingImagePyramidBase< TElastix >::ConfigurationType

Definition at line 74 of file elxMovingImagePyramidBase.h.

◆ ElastixPointer

template<class TElastix >
typedef Superclass::ElastixPointer elastix::MovingImagePyramidBase< TElastix >::ElastixPointer

Definition at line 73 of file elxMovingImagePyramidBase.h.

◆ ElastixType

template<class TElastix >
typedef Superclass::ElastixType elastix::MovingImagePyramidBase< TElastix >::ElastixType

Typedefs inherited from the superclass.

Definition at line 72 of file elxMovingImagePyramidBase.h.

◆ InputImageType

template<class TElastix >
typedef ElastixType::MovingImageType elastix::MovingImagePyramidBase< TElastix >::InputImageType

Typedefs inherited from Elastix.

Definition at line 80 of file elxMovingImagePyramidBase.h.

◆ ITKBaseType

template<class TElastix >
typedef itk::MultiResolutionPyramidImageFilter< InputImageType, OutputImageType > elastix::MovingImagePyramidBase< TElastix >::ITKBaseType

Other typedef's.

Definition at line 85 of file elxMovingImagePyramidBase.h.

◆ OutputImageType

template<class TElastix >
typedef ElastixType::MovingImageType elastix::MovingImagePyramidBase< TElastix >::OutputImageType

Definition at line 81 of file elxMovingImagePyramidBase.h.

◆ RegistrationPointer

template<class TElastix >
typedef Superclass::RegistrationPointer elastix::MovingImagePyramidBase< TElastix >::RegistrationPointer

Definition at line 77 of file elxMovingImagePyramidBase.h.

◆ RegistrationType

template<class TElastix >
typedef Superclass::RegistrationType elastix::MovingImagePyramidBase< TElastix >::RegistrationType

Definition at line 76 of file elxMovingImagePyramidBase.h.

◆ ScheduleType

template<class TElastix >
typedef ITKBaseType::ScheduleType elastix::MovingImagePyramidBase< TElastix >::ScheduleType

Typedef's from ITKBaseType.

Definition at line 88 of file elxMovingImagePyramidBase.h.

◆ Self

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

Standard ITK-stuff.

Definition at line 65 of file elxMovingImagePyramidBase.h.

◆ Superclass

template<class TElastix >
typedef BaseComponentSE< TElastix > elastix::MovingImagePyramidBase< TElastix >::Superclass

Definition at line 66 of file elxMovingImagePyramidBase.h.

Constructor & Destructor Documentation

◆ MovingImagePyramidBase() [1/2]

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

The constructor.

Definition at line 124 of file elxMovingImagePyramidBase.h.

◆ ~MovingImagePyramidBase()

template<class TElastix >
elastix::MovingImagePyramidBase< TElastix >::~MovingImagePyramidBase ( )
inlineoverrideprotected

The destructor.

Definition at line 126 of file elxMovingImagePyramidBase.h.

◆ MovingImagePyramidBase() [2/2]

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

The private constructor.

Member Function Documentation

◆ BeforeEachResolutionBase()

template<class TElastix >
void elastix::MovingImagePyramidBase< TElastix >::BeforeEachResolutionBase ( void  )
overridevirtual

Execute stuff before each resolution:

  • Write the pyramid image to file.

Reimplemented from elastix::BaseComponent.

◆ BeforeRegistrationBase()

template<class TElastix >
void elastix::MovingImagePyramidBase< TElastix >::BeforeRegistrationBase ( void  )
overridevirtual

Execute stuff before the actual registration:

  • Set the schedule of the moving image pyramid.

Reimplemented from elastix::BaseComponent.

◆ GetAsITKBaseType() [1/2]

template<class TElastix >
virtual ITKBaseType * elastix::MovingImagePyramidBase< TElastix >::GetAsITKBaseType ( void  )
inlinevirtual

Cast to ITKBaseType.

Definition at line 91 of file elxMovingImagePyramidBase.h.

◆ GetAsITKBaseType() [2/2]

template<class TElastix >
virtual const ITKBaseType * elastix::MovingImagePyramidBase< TElastix >::GetAsITKBaseType ( void  ) const
inlinevirtual

Cast to ITKBaseType, to use in const functions.

Definition at line 98 of file elxMovingImagePyramidBase.h.

◆ GetClassName()

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

◆ operator=()

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

The private copy constructor.

◆ SetMovingSchedule()

template<class TElastix >
virtual void elastix::MovingImagePyramidBase< TElastix >::SetMovingSchedule ( void  )
virtual

Method for setting the schedule.

Reimplemented in elastix::MovingGenericPyramid< TElastix >.

◆ WritePyramidImage()

template<class TElastix >
virtual void elastix::MovingImagePyramidBase< TElastix >::WritePyramidImage ( const std::string &  filename,
const unsigned int level 
)
virtual

Method to write the pyramid image.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo