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::ResamplerBase< TElastix > Class Template Reference

#include <elxResamplerBase.h>

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

Public Types

typedef
Superclass::ConfigurationPointer 
ConfigurationPointer
typedef
Superclass::ConfigurationType 
ConfigurationType
typedef ElastixType::CoordRepType CoordRepType
typedef ITKBaseType::DirectionType DirectionType
typedef Superclass::ElastixPointer ElastixPointer
typedef Superclass::ElastixType ElastixType
typedef ITKBaseType::IndexType IndexType
typedef
ElastixType::MovingImageType 
InputImageType
typedef
ITKBaseType::InterpolatorType 
InterpolatorType
typedef ResampleImageFilter
< InputImageType,
OutputImageType, CoordRepType > 
ITKBaseType
typedef
ITKBaseType::OriginPointType 
OriginPointType
typedef
ElastixType::MovingImageType 
OutputImageType
typedef ITKBaseType::PixelType OutputPixelType
typedef elx::ProgressCommand ProgressCommandType
typedef
Superclass::RegistrationPointer 
RegistrationPointer
typedef
Superclass::RegistrationType 
RegistrationType
typedef ResamplerBase Self
typedef ITKBaseType::SizeType SizeType
typedef ITKBaseType::SpacingType SpacingType
typedef BaseComponentSE< TElastix > Superclass
typedef ITKBaseType::TransformType TransformType

Public Member Functions

virtual void AfterEachResolutionBase (void)
virtual void AfterRegistrationBase (void)
virtual int BeforeAllTransformix (void)
virtual void BeforeRegistrationBase (void)
virtual ITKBaseType * GetAsITKBaseType (void)
virtual const ITKBaseType * GetAsITKBaseType (void) const
virtual const char * GetClassName () const
 itkStaticConstMacro (ImageDimension, unsigned int, OutputImageType::ImageDimension)
virtual void ReadFromFile (void)
virtual void WriteResultImage (const char *filename)
virtual void WriteToFile (void) const

Protected Member Functions

 ResamplerBase ()
virtual void SetComponents (void)
virtual ~ResamplerBase ()

Private Member Functions

void operator= (const Self &)
void ReleaseMemory (void)
 ResamplerBase (const Self &)

Detailed Description

template<class TElastix>
class elastix::ResamplerBase< TElastix >

Definition at line 67 of file elxResamplerBase.h.


Member Typedef Documentation

template<class TElastix>
typedef Superclass::ConfigurationPointer elastix::ResamplerBase< TElastix >::ConfigurationPointer
template<class TElastix>
typedef Superclass::ConfigurationType elastix::ResamplerBase< TElastix >::ConfigurationType
template<class TElastix>
typedef ElastixType::CoordRepType elastix::ResamplerBase< TElastix >::CoordRepType

Definition at line 91 of file elxResamplerBase.h.

template<class TElastix>
typedef ITKBaseType::DirectionType elastix::ResamplerBase< TElastix >::DirectionType

Definition at line 103 of file elxResamplerBase.h.

template<class TElastix>
typedef Superclass::ElastixPointer elastix::ResamplerBase< TElastix >::ElastixPointer
template<class TElastix>
typedef Superclass::ElastixType elastix::ResamplerBase< TElastix >::ElastixType

Typedef's from superclass.

Reimplemented from elastix::BaseComponentSE< TElastix >.

Reimplemented in elastix::CUDAResampler< TElastix >, and elastix::MyStandardResampler< TElastix >.

Definition at line 76 of file elxResamplerBase.h.

template<class TElastix>
typedef ITKBaseType::IndexType elastix::ResamplerBase< TElastix >::IndexType
template<class TElastix>
typedef ElastixType::MovingImageType elastix::ResamplerBase< TElastix >::InputImageType

Typedef's from elastix. NB: it is assumed that fixed and moving image dimension are equal!

Reimplemented in elastix::CUDAResampler< TElastix >, and elastix::MyStandardResampler< TElastix >.

Definition at line 88 of file elxResamplerBase.h.

template<class TElastix>
typedef ITKBaseType::InterpolatorType elastix::ResamplerBase< TElastix >::InterpolatorType

Other typedef's.

Reimplemented in elastix::CUDAResampler< TElastix >, and elastix::MyStandardResampler< TElastix >.

Definition at line 95 of file elxResamplerBase.h.

template<class TElastix>
typedef ITKBaseType::OriginPointType elastix::ResamplerBase< TElastix >::OriginPointType
template<class TElastix>
typedef ElastixType::MovingImageType elastix::ResamplerBase< TElastix >::OutputImageType
template<class TElastix>
typedef ITKBaseType::PixelType elastix::ResamplerBase< TElastix >::OutputPixelType

Definition at line 105 of file elxResamplerBase.h.

template<class TElastix>
typedef elx::ProgressCommand elastix::ResamplerBase< TElastix >::ProgressCommandType

Typedef for the ProgressCommand.

Definition at line 108 of file elxResamplerBase.h.

template<class TElastix>
typedef Superclass::RegistrationPointer elastix::ResamplerBase< TElastix >::RegistrationPointer
template<class TElastix>
typedef Superclass::RegistrationType elastix::ResamplerBase< TElastix >::RegistrationType
template<class TElastix>
typedef ResamplerBase elastix::ResamplerBase< TElastix >::Self

Standard ITK stuff.

Reimplemented from elastix::BaseComponentSE< TElastix >.

Reimplemented in elastix::CUDAResampler< TElastix >, and elastix::MyStandardResampler< TElastix >.

Definition at line 72 of file elxResamplerBase.h.

template<class TElastix>
typedef ITKBaseType::SizeType elastix::ResamplerBase< TElastix >::SizeType
template<class TElastix>
typedef ITKBaseType::SpacingType elastix::ResamplerBase< TElastix >::SpacingType
template<class TElastix>
typedef BaseComponentSE<TElastix> elastix::ResamplerBase< TElastix >::Superclass

Reimplemented from elastix::BaseComponentSE< TElastix >.

Definition at line 73 of file elxResamplerBase.h.

template<class TElastix>
typedef ITKBaseType::TransformType elastix::ResamplerBase< TElastix >::TransformType

Typedef's from ResampleImageFiler.

Reimplemented in elastix::CUDAResampler< TElastix >, and elastix::MyStandardResampler< TElastix >.

Definition at line 98 of file elxResamplerBase.h.


Constructor & Destructor Documentation

template<class TElastix>
elastix::ResamplerBase< TElastix >::ResamplerBase ( ) [inline, protected]

The constructor.

Definition at line 161 of file elxResamplerBase.h.

template<class TElastix>
virtual elastix::ResamplerBase< TElastix >::~ResamplerBase ( ) [inline, protected, virtual]

The destructor.

Definition at line 163 of file elxResamplerBase.h.

template<class TElastix>
elastix::ResamplerBase< TElastix >::ResamplerBase ( const Self &  ) [private]

The private constructor.


Member Function Documentation

template<class TElastix>
virtual void elastix::ResamplerBase< TElastix >::AfterEachResolutionBase ( void  ) [virtual]

Execute stuff after each resolution:

  • Write the resulting output image.

Reimplemented from elastix::BaseComponent.

template<class TElastix>
virtual void elastix::ResamplerBase< TElastix >::AfterRegistrationBase ( void  ) [virtual]

Execute stuff after the registration:

  • Write the resulting output image.

Reimplemented from elastix::BaseComponent.

template<class TElastix>
virtual int elastix::ResamplerBase< TElastix >::BeforeAllTransformix ( void  ) [inline, virtual]

Execute stuff before the actual transformation:

  • nothing here

Definition at line 129 of file elxResamplerBase.h.

template<class TElastix>
virtual void elastix::ResamplerBase< TElastix >::BeforeRegistrationBase ( void  ) [virtual]

Execute stuff before the actual registration:

  • Set all components into the resampler, such as the transform interpolator, input.
  • Set output image information, such as size, spacing, etc.
  • Set the default pixel value.

Reimplemented from elastix::BaseComponent.

template<class TElastix>
virtual ITKBaseType* elastix::ResamplerBase< TElastix >::GetAsITKBaseType ( void  ) [inline, virtual]

Cast to ITKBaseType.

Definition at line 115 of file elxResamplerBase.h.

template<class TElastix>
virtual const ITKBaseType* elastix::ResamplerBase< TElastix >::GetAsITKBaseType ( void  ) const [inline, virtual]

Cast to ITKBaseType, to use in const functions.

Definition at line 121 of file elxResamplerBase.h.

template<class TElastix>
virtual const char* elastix::ResamplerBase< TElastix >::GetClassName ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented in elastix::CUDAResampler< TElastix >, and elastix::MyStandardResampler< TElastix >.

template<class TElastix>
elastix::ResamplerBase< TElastix >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
OutputImageType::ImageDimension   
)

Get the ImageDimension.

template<class TElastix>
void elastix::ResamplerBase< TElastix >::operator= ( const Self &  ) [private]

The private copy constructor.

template<class TElastix>
virtual void elastix::ResamplerBase< TElastix >::ReadFromFile ( void  ) [virtual]

Function to read transform-parameters from a file.

Reimplemented in elastix::CUDAResampler< TElastix >.

template<class TElastix>
void elastix::ResamplerBase< TElastix >::ReleaseMemory ( void  ) [private]

Release memory.

template<class TElastix>
virtual void elastix::ResamplerBase< TElastix >::SetComponents ( void  ) [protected, virtual]

Method that sets the transform, the interpolator and the inputImage.

template<class TElastix>
virtual void elastix::ResamplerBase< TElastix >::WriteResultImage ( const char *  filename) [virtual]

Function to write the result output image to a file.

template<class TElastix>
virtual void elastix::ResamplerBase< TElastix >::WriteToFile ( void  ) const [virtual]

Function to write transform-parameters to a file.

Reimplemented in elastix::CUDAResampler< TElastix >.



Generated on 11-05-2012 for elastix by doxygen 1.7.6.1 elastix logo