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

#include <elxFixedGenericPyramid.h>

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

Public Types

typedef
Superclass2::ConfigurationPointer 
ConfigurationPointer
 
typedef
Superclass2::ConfigurationType 
ConfigurationType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef Superclass2::ElastixPointer ElastixPointer
 
typedef Superclass2::ElastixType ElastixType
 
typedef
Superclass1::InputImageConstPointer 
InputImageConstPointer
 
typedef
Superclass1::InputImagePointer 
InputImagePointer
 
typedef Superclass1::InputImageType InputImageType
 
typedef Superclass2::ITKBaseType ITKBaseType
 
typedef
Superclass1::OutputImagePointer 
OutputImagePointer
 
typedef
Superclass1::OutputImageType 
OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
Superclass2::RegistrationPointer 
RegistrationPointer
 
typedef
Superclass2::RegistrationType 
RegistrationType
 
typedef
Superclass1::RescaleScheduleType 
RescaleScheduleType
 
typedef Superclass1::ScheduleType ScheduleType
 
typedef FixedGenericPyramid Self
 
typedef
Superclass1::SmoothingScheduleType 
SmoothingScheduleType
 
typedef
itk::GenericMultiResolutionPyramidImageFilter
< typename
FixedImagePyramidBase
< TElastix >::InputImageType,
typename FixedImagePyramidBase
< TElastix >::OutputImageType
Superclass1
 
typedef FixedImagePyramidBase
< TElastix > 
Superclass2
 
- Public Types inherited from itk::GenericMultiResolutionPyramidImageFilter< FixedImagePyramidBase< TElastix >::InputImageType, FixedImagePyramidBase< TElastix >::OutputImageType >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::InputImageConstPointer 
InputImageConstPointer
 
typedef
Superclass::InputImagePointer 
InputImagePointer
 
typedef Superclass::InputImageType InputImageType
 
typedef
Superclass::OutputImagePointer 
OutputImagePointer
 
typedef Superclass::OutputImageType OutputImageType
 
typedef InputImageType::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef SigmaArrayType RescaleFactorArrayType
 
typedef ScheduleType RescaleScheduleType
 
typedef NumericTraits
< PixelType >::ScalarRealType 
ScalarRealType
 
typedef Superclass::ScheduleType ScheduleType
 
typedef
GenericMultiResolutionPyramidImageFilter 
Self
 
typedef FixedArray
< ScalarRealType,
itkGetStaticConstMacro(ImageDimension) > 
SigmaArrayType
 
typedef Array2D< ScalarRealTypeSmoothingScheduleType
 
typedef
Superclass::InputImageType::SpacingType 
SpacingType
 
typedef
MultiResolutionPyramidImageFilter
< FixedImagePyramidBase
< TElastix >::InputImageType,
FixedImagePyramidBase
< TElastix >::OutputImageType
Superclass
 
typedef Superclass::Superclass SuperSuperclass
 
- Public Types inherited from elastix::FixedImagePyramidBase< TElastix >
typedef
Superclass::ConfigurationPointer 
ConfigurationPointer
 
typedef
Superclass::ConfigurationType 
ConfigurationType
 
typedef Superclass::ElastixPointer ElastixPointer
 
typedef Superclass::ElastixType ElastixType
 
typedef ElastixType::FixedImageType InputImageType
 
typedef
itk::MultiResolutionPyramidImageFilter
< InputImageType,
OutputImageType
ITKBaseType
 
typedef ElastixType::FixedImageType OutputImageType
 
typedef
Superclass::RegistrationPointer 
RegistrationPointer
 
typedef
Superclass::RegistrationType 
RegistrationType
 
typedef ITKBaseType::ScheduleType ScheduleType
 
typedef FixedImagePyramidBase Self
 
typedef BaseComponentSE< TElastix > Superclass
 
- 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 AfterEachResolution (void)
 
virtual void BeforeEachResolution (void)
 
 elxClassNameMacro ("FixedGenericImagePyramid")
 
virtual const char * GetClassName () const
 
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass1::ImageDimension)
 
virtual void SetFixedSchedule (void)
 
- Public Member Functions inherited from itk::GenericMultiResolutionPyramidImageFilter< FixedImagePyramidBase< TElastix >::InputImageType, FixedImagePyramidBase< TElastix >::OutputImageType >
virtual void ComputeOnlyForCurrentLevelOff ()
 
virtual void ComputeOnlyForCurrentLevelOn ()
 
virtual bool GetComputeOnlyForCurrentLevel () const
 
virtual const unsigned intGetCurrentLevel ()
 
const RescaleScheduleTypeGetRescaleSchedule (void) const
 
virtual const
SmoothingScheduleType
GetSmoothingSchedule ()
 
virtual bool GetUseMultiResolutionRescaleSchedule () const
 
virtual bool GetUseMultiResolutionSmoothingSchedule () const
 
 itkStaticConstMacro (ImageDimension, unsigned int, FixedImagePyramidBase< TElastix >::InputImageType::ImageDimension)
 
 itkStaticConstMacro (OutputImageDimension, unsigned int, FixedImagePyramidBase< TElastix >::OutputImageType::ImageDimension)
 
virtual void SetComputeOnlyForCurrentLevel (const bool _arg)
 
virtual void SetCurrentLevel (unsigned int level)
 
virtual void SetNumberOfLevels (unsigned int num)
 
virtual void SetRescaleSchedule (const RescaleScheduleType &schedule)
 
virtual void SetSchedule (const ScheduleType &schedule)
 
virtual void SetSmoothingSchedule (const SmoothingScheduleType &schedule)
 
virtual void SetUseMultiResolutionRescaleSchedule (bool _arg)
 
virtual void SetUseMultiResolutionSmoothingSchedule (bool _arg)
 
virtual void UseMultiResolutionRescaleScheduleOff ()
 
virtual void UseMultiResolutionRescaleScheduleOn ()
 
virtual void UseMultiResolutionSmoothingScheduleOff ()
 
virtual void UseMultiResolutionSmoothingScheduleOn ()
 
- Public Member Functions inherited from elastix::FixedImagePyramidBase< TElastix >
virtual void BeforeEachResolutionBase (void)
 
virtual void BeforeRegistrationBase (void)
 
virtual ITKBaseTypeGetAsITKBaseType (void)
 
virtual const ITKBaseTypeGetAsITKBaseType (void) const
 
virtual void WritePyramidImage (const std::string &filename, const unsigned int &level)
 
- 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 AfterEachResolutionBase (void)
 
virtual void AfterRegistration (void)
 
virtual void AfterRegistrationBase (void)
 
virtual int BeforeAll (void)
 
virtual int BeforeAllBase (void)
 
virtual void BeforeRegistration (void)
 
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::GenericMultiResolutionPyramidImageFilter< FixedImagePyramidBase< TElastix >::InputImageType, FixedImagePyramidBase< TElastix >::OutputImageType >
static Pointer New ()
 

Protected Member Functions

 FixedGenericPyramid ()
 
virtual ~FixedGenericPyramid ()
 
- Protected Member Functions inherited from itk::GenericMultiResolutionPyramidImageFilter< FixedImagePyramidBase< TElastix >::InputImageType, FixedImagePyramidBase< TElastix >::OutputImageType >
virtual void GenerateData (void)
 
virtual void GenerateInputRequestedRegion (void)
 
virtual void GenerateOutputInformation (void)
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
 GenericMultiResolutionPyramidImageFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
void ReleaseOutputs (void)
 
 ~GenericMultiResolutionPyramidImageFilter ()
 
- Protected Member Functions inherited from elastix::FixedImagePyramidBase< TElastix >
 FixedImagePyramidBase ()
 
virtual ~FixedImagePyramidBase ()
 
- Protected Member Functions inherited from elastix::BaseComponentSE< TElastix >
 BaseComponentSE ()
 
virtual ~BaseComponentSE ()
 
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()
 
virtual ~BaseComponent ()
 

Private Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from itk::GenericMultiResolutionPyramidImageFilter< FixedImagePyramidBase< TElastix >::InputImageType, FixedImagePyramidBase< TElastix >::OutputImageType >
bool m_ComputeOnlyForCurrentLevel
 
unsigned int m_CurrentLevel
 
SmoothingScheduleType m_SmoothingSchedule
 
bool m_SmoothingScheduleDefined
 
bool m_UseMultiResolutionRescaleSchedule
 
bool m_UseMultiResolutionSmoothingSchedule
 
- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration
 
ElastixPointer m_Elastix
 
RegistrationPointer m_Registration
 

Detailed Description

template<class TElastix>
class elastix::FixedGenericPyramid< TElastix >

A pyramid based on the itk::GenericMultiResolutionPyramidImageFilter.

It is generic since it has all functionality that the FixedRecursivePyramid, FixedShrinkingPyramid and FixedSmoothingPyramid have together. This pyramid has two separate schedules: one for size rescaling and one for the Gaussian smoothing factor sigma. In addition, it has an option to compute pyramid output per resolution, and not all at once, to reduce memory consumption.

The parameters used in this class are:

Parameters:

FixedImagePyramid: Select this pyramid as follows:
(FixedImagePyramid "FixedGenericImagePyramid")

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

ImagePyramidRescaleSchedule: rescale schedule for both pyramids

ImagePyramidSchedule: same as ImagePyramidRescaleSchedule

FixedImagePyramidSchedule: same as FixedImagePyramidRescaleSchedule

FixedImagePyramidSmoothingSchedule: sigma's for smoothing the fixed image pyramid.
For each dimension, for each resolution level, the sigma of the fixed image can be specified.
Syntax for 2D images:
(FixedImagePyramidSmoothingSchedule <reslevel0,dim0> <reslevel0,dim1> <reslevel1,dim0> <reslevel1,dim1> ...)
example: (FixedImagePyramidSmoothingSchedule 4 4 2 2 1 1)
Default: 0.5 x rescale_factor x fixed_image_spacing.
If ImagePyramidSmoothingSchedule is specified, that schedule is used for both fixed and moving image pyramid.

ImagePyramidSmoothingSchedule: smoothing schedule for both pyramids

ComputePyramidImagesPerResolution: Flag to specify if all resolution levels are computed at once, or per resolution. Latter saves memory.
example: (ComputePyramidImagesPerResolution "true")
Default false.

ImagePyramidUseShrinkImageFilter: Flag to specify if the ShrinkingImageFilter is used for rescaling the image, or the ResampleImageFilter. Skrinker is faster.
example: (ImagePyramidUseShrinkImageFilter "true")
Default false, so by default the resampler is used.

Definition at line 69 of file elxFixedGenericPyramid.h.

Member Typedef Documentation

Definition at line 115 of file elxFixedGenericPyramid.h.

template<class TElastix >
typedef Superclass2::ConfigurationType elastix::FixedGenericPyramid< TElastix >::ConfigurationType

Definition at line 114 of file elxFixedGenericPyramid.h.

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

Definition at line 84 of file elxFixedGenericPyramid.h.

template<class TElastix >
typedef Superclass2::ElastixPointer elastix::FixedGenericPyramid< TElastix >::ElastixPointer

Definition at line 113 of file elxFixedGenericPyramid.h.

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

Typedefs inherited from Elastix.

Definition at line 112 of file elxFixedGenericPyramid.h.

Definition at line 106 of file elxFixedGenericPyramid.h.

template<class TElastix >
typedef Superclass1::InputImagePointer elastix::FixedGenericPyramid< TElastix >::InputImagePointer

Definition at line 104 of file elxFixedGenericPyramid.h.

template<class TElastix >
typedef Superclass1::InputImageType elastix::FixedGenericPyramid< TElastix >::InputImageType

Typedefs inherited from the superclass.

Definition at line 102 of file elxFixedGenericPyramid.h.

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

Definition at line 118 of file elxFixedGenericPyramid.h.

Definition at line 105 of file elxFixedGenericPyramid.h.

template<class TElastix >
typedef Superclass1::OutputImageType elastix::FixedGenericPyramid< TElastix >::OutputImageType

Definition at line 103 of file elxFixedGenericPyramid.h.

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

Definition at line 83 of file elxFixedGenericPyramid.h.

Definition at line 117 of file elxFixedGenericPyramid.h.

template<class TElastix >
typedef Superclass2::RegistrationType elastix::FixedGenericPyramid< TElastix >::RegistrationType

Definition at line 116 of file elxFixedGenericPyramid.h.

Definition at line 108 of file elxFixedGenericPyramid.h.

template<class TElastix >
typedef Superclass1::ScheduleType elastix::FixedGenericPyramid< TElastix >::ScheduleType

Definition at line 107 of file elxFixedGenericPyramid.h.

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

Standard ITK-stuff.

Definition at line 78 of file elxFixedGenericPyramid.h.

Definition at line 109 of file elxFixedGenericPyramid.h.

Definition at line 81 of file elxFixedGenericPyramid.h.

template<class TElastix >
typedef FixedImagePyramidBase< TElastix > elastix::FixedGenericPyramid< TElastix >::Superclass2

Definition at line 82 of file elxFixedGenericPyramid.h.

Constructor & Destructor Documentation

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

The constructor.

Definition at line 134 of file elxFixedGenericPyramid.h.

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

The destructor.

Definition at line 136 of file elxFixedGenericPyramid.h.

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

The private constructor.

Member Function Documentation

template<class TElastix >
virtual void elastix::FixedGenericPyramid< TElastix >::AfterEachResolution ( void  )
virtual

Reimplemented from elastix::BaseComponent.

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

Update the current resolution level.

Reimplemented from elastix::BaseComponent.

template<class TElastix >
elastix::FixedGenericPyramid< TElastix >::elxClassNameMacro ( "FixedGenericImagePyramid"  )

Name of this class. Use this name in the parameter file to select this specific pyramid.
example: (FixedImagePyramid "FixedGenericImagePyramid")

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

Run-time type information (and related methods).

Reimplemented from elastix::FixedImagePyramidBase< TElastix >.

template<class TElastix >
elastix::FixedGenericPyramid< TElastix >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
Superclass1::ImageDimension   
)

Get the ImageDimension.

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

Method for creation through the object factory.

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

The private copy constructor.

template<class TElastix >
virtual void elastix::FixedGenericPyramid< TElastix >::SetFixedSchedule ( void  )
virtual

Method for setting the schedule. Override from FixedImagePyramidBase, since we now have two schedules, rescaling and smoothing.

Reimplemented from elastix::FixedImagePyramidBase< TElastix >.



Generated on 27-04-2014 for elastix by doxygen 1.8.6 elastix logo