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

#include <elxResamplerBase.h>

Detailed Description

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

Definition at line 74 of file elxResamplerBase.h.

Inheritance diagram for elastix::ResamplerBase< TElastix >:
Inheritance 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 itk::ResampleImageFilter< InputImageType, OutputImageType, CoordRepTypeITKBaseType
 
typedef ITKBaseType::OriginPointType OriginPointType
 
typedef ElastixType::MovingImageType OutputImageType
 
typedef ITKBaseType::PixelType OutputPixelType
 
typedef ElastixType::ParameterMapType ParameterMapType
 
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 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 AfterEachIterationBase (void)
 
virtual void AfterEachResolutionBase (void)
 
virtual void AfterRegistrationBase (void)
 
virtual int BeforeAllTransformix (void)
 
virtual void BeforeRegistrationBase (void)
 
virtual void CreateItkResultImage (void)
 
virtual void CreateTransformParametersMap (ParameterMapType *paramsMap) const
 
virtual ITKBaseTypeGetAsITKBaseType (void)
 
virtual const ITKBaseTypeGetAsITKBaseType (void) const
 
virtual const char * GetClassName () const
 
 itkStaticConstMacro (ImageDimension, unsigned int, OutputImageType::ImageDimension)
 
virtual void ReadFromFile (void)
 
virtual void ResampleAndWriteResultImage (const char *filename, const bool &showProgress=true)
 
virtual void WriteResultImage (OutputImageType *imageimage, const char *filename, const bool &showProgress=true)
 
virtual void WriteToFile (void) 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 AfterEachResolution (void)
 
virtual void AfterRegistration (void)
 
virtual int BeforeAll (void)
 
virtual int BeforeAllBase (void)
 
virtual void BeforeEachResolution (void)
 
virtual void BeforeEachResolutionBase (void)
 
virtual void BeforeRegistration (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)
 

Protected Member Functions

 ResamplerBase ()
 
virtual void SetComponents (void)
 
virtual ~ResamplerBase ()
 
- Protected Member Functions inherited from elastix::BaseComponentSE< TElastix >
 BaseComponentSE ()
 
virtual ~BaseComponentSE ()
 
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()
 
virtual ~BaseComponent ()
 

Protected Attributes

bool m_ShowProgress
 
- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration
 
ElastixPointer m_Elastix
 
RegistrationPointer m_Registration
 

Private Member Functions

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

Member Typedef Documentation

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

Definition at line 89 of file elxResamplerBase.h.

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

Definition at line 88 of file elxResamplerBase.h.

template<class TElastix>
typedef ElastixType::CoordRepType elastix::ResamplerBase< TElastix >::CoordRepType

Definition at line 98 of file elxResamplerBase.h.

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

Definition at line 110 of file elxResamplerBase.h.

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

Definition at line 87 of file elxResamplerBase.h.

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

Typedef's from superclass.

Definition at line 83 of file elxResamplerBase.h.

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

Definition at line 108 of file elxResamplerBase.h.

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!

Definition at line 95 of file elxResamplerBase.h.

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

Definition at line 106 of file elxResamplerBase.h.

template<class TElastix>
typedef itk::ResampleImageFilter< InputImageType, OutputImageType, CoordRepType > elastix::ResamplerBase< TElastix >::ITKBaseType

Other typedef's.

Definition at line 102 of file elxResamplerBase.h.

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

Definition at line 111 of file elxResamplerBase.h.

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

Definition at line 96 of file elxResamplerBase.h.

template<class TElastix>
typedef ITKBaseType::PixelType elastix::ResamplerBase< TElastix >::OutputPixelType

Definition at line 112 of file elxResamplerBase.h.

template<class TElastix>
typedef ElastixType::ParameterMapType elastix::ResamplerBase< TElastix >::ParameterMapType

Typedef that is used in the elastix dll version.

Definition at line 115 of file elxResamplerBase.h.

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

Typedef for the ProgressCommand.

Definition at line 118 of file elxResamplerBase.h.

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

Definition at line 91 of file elxResamplerBase.h.

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

Definition at line 90 of file elxResamplerBase.h.

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

Standard ITK stuff.

Definition at line 79 of file elxResamplerBase.h.

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

Definition at line 107 of file elxResamplerBase.h.

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

Definition at line 109 of file elxResamplerBase.h.

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

Definition at line 80 of file elxResamplerBase.h.

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

Typedef's from ResampleImageFiler.

Definition at line 105 of file elxResamplerBase.h.

Constructor & Destructor Documentation

template<class TElastix>
elastix::ResamplerBase< TElastix >::ResamplerBase ( )
protected

The constructor.

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

The destructor.

Definition at line 190 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 >::AfterEachIterationBase ( void  )
virtual

Execute stuff after each iteration:

  • Write the resulting output image.

Reimplemented from elastix::BaseComponent.

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  )
inlinevirtual

Execute stuff before the actual transformation:

  • nothing here

Definition at line 141 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 void elastix::ResamplerBase< TElastix >::CreateItkResultImage ( void  )
virtual

Function to create the result image in the format of an itk::Image.

template<class TElastix>
virtual void elastix::ResamplerBase< TElastix >::CreateTransformParametersMap ( ParameterMapType paramsMap) const
virtual

Function to create transform-parameters map.

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

Cast to ITKBaseType.

Definition at line 125 of file elxResamplerBase.h.

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

Cast to ITKBaseType, to use in const functions.

Definition at line 132 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::OpenCLResampler< TElastix >, 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::OpenCLResampler< TElastix >, and elastix::CUDAResampler< TElastix >.

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

Release memory.

template<class TElastix>
virtual void elastix::ResamplerBase< TElastix >::ResampleAndWriteResultImage ( const char *  filename,
const bool showProgress = true 
)
virtual

Function to perform resample and write the result output image to a file.

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

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

template<class TElastix>
virtual void elastix::ResamplerBase< TElastix >::WriteResultImage ( OutputImageType imageimage,
const char *  filename,
const bool showProgress = true 
)
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::OpenCLResampler< TElastix >, and elastix::CUDAResampler< TElastix >.

Field Documentation

template<class TElastix>
bool elastix::ResamplerBase< TElastix >::m_ShowProgress
protected

Variable that defines to print the progress or not.

Definition at line 196 of file elxResamplerBase.h.



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