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

#include <elxBSplineResampleInterpolator.h>

Detailed Description

template<class TElastix>
class elastix::BSplineResampleInterpolator< TElastix >

A resample-interpolator based on B-splines.

The parameters used in this class are:

Parameters:

ResampleInterpolator: Select this resample interpolator as follows:
(ResampleInterpolator "FinalBSplineInterpolator")

FinalBSplineInterpolationOrder: the order of the B-spline used to resample the deformed moving image; possible values: (0-5)
example: (FinalBSplineInterpolationOrder 3)
Default: 3.

The transform parameters necessary for transformix, additionally defined by this class, are:

Transform Parameters:
FinalBSplineInterpolationOrder: the order of the B-spline used to resample the deformed moving image; possible values: (0-5)
example: (FinalBSplineInterpolationOrder 3)
Default: 3.

With very large images, memory problems may be avoided by using the BSplineResampleInterpolatorFloat. The differences of the result are generally negligible. If you are really in memory problems, you may use the LinearResampleInterpolator, or the NearestNeighborResampleInterpolator.

See also
BSplineResampleInterpolatorFloat

Definition at line 54 of file elxBSplineResampleInterpolator.h.

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

Public Types

typedef Superclass1::CoefficientDataType CoefficientDataType
 
typedef Superclass1::CoefficientFilter CoefficientFilter
 
typedef Superclass1::CoefficientFilterPointer CoefficientFilterPointer
 
typedef Superclass1::CoefficientImageType CoefficientImageType
 
typedef Superclass2::ConfigurationPointer ConfigurationPointer
 
typedef Superclass2::ConfigurationType ConfigurationType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass1::ContinuousIndexType ContinuousIndexType
 
typedef Superclass1::CovariantVectorType CovariantVectorType
 
typedef Superclass2::ElastixPointer ElastixPointer
 
typedef Superclass2::ElastixType ElastixType
 
typedef Superclass1::IndexType IndexType
 
typedef Superclass1::InputImageType InputImageType
 
typedef Superclass1::Iterator Iterator
 
typedef Superclass2::ITKBaseType ITKBaseType
 
typedef Superclass1::OutputType OutputType
 
typedef Superclass2::ParameterMapType ParameterMapType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass1::PointType PointType
 
typedef Superclass2::RegistrationPointer RegistrationPointer
 
typedef Superclass2::RegistrationType RegistrationType
 
typedef BSplineResampleInterpolator Self
 
typedef itk::BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, doubleSuperclass1
 
typedef ResampleInterpolatorBase< TElastix > Superclass2
 
- Public Types inherited from elastix::ResampleInterpolatorBase< TElastix >
typedef Superclass::ConfigurationPointer ConfigurationPointer
 
typedef Superclass::ConfigurationType ConfigurationType
 
typedef ElastixType::CoordRepType CoordRepType
 
typedef Superclass::ElastixPointer ElastixPointer
 
typedef Superclass::ElastixType ElastixType
 
typedef ElastixType::MovingImageType InputImageType
 
typedef itk::InterpolateImageFunction< InputImageType, CoordRepTypeITKBaseType
 
typedef ElastixType::ParameterMapType ParameterMapType
 
typedef Superclass::RegistrationPointer RegistrationPointer
 
typedef Superclass::RegistrationType RegistrationType
 
typedef ResampleInterpolatorBase 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 BeforeRegistration (void) override
 
void CreateTransformParametersMap (ParameterMapType *paramsMap) const override
 
 elxClassNameMacro ("FinalBSplineInterpolator")
 
virtual const char * GetClassName () const
 
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass1::ImageDimension)
 
void ReadFromFile (void) override
 
void WriteToFile (void) const override
 
- Public Member Functions inherited from elastix::ResampleInterpolatorBase< TElastix >
virtual int BeforeAllTransformix (void)
 
virtual void CreateTransformParametersMap (ParameterMapType *paramsMap) const
 
virtual ITKBaseTypeGetAsITKBaseType (void)
 
virtual const ITKBaseTypeGetAsITKBaseType (void) const
 
virtual const char * GetClassName () const
 
virtual void ReadFromFile (void)
 
virtual void WriteToFile (void) const
 
- 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)
 

Static Public Member Functions

static Pointer New ()
 
- 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 Member Functions

 BSplineResampleInterpolator ()
 
 ~BSplineResampleInterpolator () override
 
- Protected Member Functions inherited from elastix::ResampleInterpolatorBase< TElastix >
 ResampleInterpolatorBase ()
 
 ~ResampleInterpolatorBase () 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

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

Additional Inherited Members

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

Member Typedef Documentation

◆ CoefficientDataType

template<class TElastix >
typedef Superclass1::CoefficientDataType elastix::BSplineResampleInterpolator< TElastix >::CoefficientDataType

Definition at line 96 of file elxBSplineResampleInterpolator.h.

◆ CoefficientFilter

template<class TElastix >
typedef Superclass1::CoefficientFilter elastix::BSplineResampleInterpolator< TElastix >::CoefficientFilter

Definition at line 98 of file elxBSplineResampleInterpolator.h.

◆ CoefficientFilterPointer

template<class TElastix >
typedef Superclass1::CoefficientFilterPointer elastix::BSplineResampleInterpolator< TElastix >::CoefficientFilterPointer

Definition at line 99 of file elxBSplineResampleInterpolator.h.

◆ CoefficientImageType

template<class TElastix >
typedef Superclass1::CoefficientImageType elastix::BSplineResampleInterpolator< TElastix >::CoefficientImageType

Definition at line 97 of file elxBSplineResampleInterpolator.h.

◆ ConfigurationPointer

template<class TElastix >
typedef Superclass2::ConfigurationPointer elastix::BSplineResampleInterpolator< TElastix >::ConfigurationPointer

Definition at line 106 of file elxBSplineResampleInterpolator.h.

◆ ConfigurationType

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

Definition at line 105 of file elxBSplineResampleInterpolator.h.

◆ ConstPointer

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

Definition at line 72 of file elxBSplineResampleInterpolator.h.

◆ ContinuousIndexType

template<class TElastix >
typedef Superclass1::ContinuousIndexType elastix::BSplineResampleInterpolator< TElastix >::ContinuousIndexType

Definition at line 93 of file elxBSplineResampleInterpolator.h.

◆ CovariantVectorType

template<class TElastix >
typedef Superclass1::CovariantVectorType elastix::BSplineResampleInterpolator< TElastix >::CovariantVectorType

Definition at line 100 of file elxBSplineResampleInterpolator.h.

◆ ElastixPointer

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

Definition at line 104 of file elxBSplineResampleInterpolator.h.

◆ ElastixType

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

Typedef's from ResampleInterpolatorBase.

Definition at line 103 of file elxBSplineResampleInterpolator.h.

◆ IndexType

template<class TElastix >
typedef Superclass1::IndexType elastix::BSplineResampleInterpolator< TElastix >::IndexType

Definition at line 92 of file elxBSplineResampleInterpolator.h.

◆ InputImageType

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

Definition at line 91 of file elxBSplineResampleInterpolator.h.

◆ Iterator

template<class TElastix >
typedef Superclass1::Iterator elastix::BSplineResampleInterpolator< TElastix >::Iterator

Definition at line 95 of file elxBSplineResampleInterpolator.h.

◆ ITKBaseType

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

Definition at line 109 of file elxBSplineResampleInterpolator.h.

◆ OutputType

template<class TElastix >
typedef Superclass1::OutputType elastix::BSplineResampleInterpolator< TElastix >::OutputType

Typedef's inherited from the superclass.

Definition at line 90 of file elxBSplineResampleInterpolator.h.

◆ ParameterMapType

template<class TElastix >
typedef Superclass2::ParameterMapType elastix::BSplineResampleInterpolator< TElastix >::ParameterMapType

Typedef that is used in the elastix dll version.

Definition at line 112 of file elxBSplineResampleInterpolator.h.

◆ Pointer

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

Definition at line 71 of file elxBSplineResampleInterpolator.h.

◆ PointType

template<class TElastix >
typedef Superclass1::PointType elastix::BSplineResampleInterpolator< TElastix >::PointType

Definition at line 94 of file elxBSplineResampleInterpolator.h.

◆ RegistrationPointer

template<class TElastix >
typedef Superclass2::RegistrationPointer elastix::BSplineResampleInterpolator< TElastix >::RegistrationPointer

Definition at line 108 of file elxBSplineResampleInterpolator.h.

◆ RegistrationType

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

Definition at line 107 of file elxBSplineResampleInterpolator.h.

◆ Self

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

Standard ITK-stuff.

Definition at line 65 of file elxBSplineResampleInterpolator.h.

◆ Superclass1

template<class TElastix >
typedef itk::BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, double > elastix::BSplineResampleInterpolator< TElastix >::Superclass1

Definition at line 69 of file elxBSplineResampleInterpolator.h.

◆ Superclass2

template<class TElastix >
typedef ResampleInterpolatorBase< TElastix > elastix::BSplineResampleInterpolator< TElastix >::Superclass2

Definition at line 70 of file elxBSplineResampleInterpolator.h.

Constructor & Destructor Documentation

◆ BSplineResampleInterpolator() [1/2]

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

The constructor.

Definition at line 131 of file elxBSplineResampleInterpolator.h.

◆ ~BSplineResampleInterpolator()

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

The destructor.

Definition at line 133 of file elxBSplineResampleInterpolator.h.

◆ BSplineResampleInterpolator() [2/2]

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

The private constructor.

Member Function Documentation

◆ BeforeRegistration()

template<class TElastix >
void elastix::BSplineResampleInterpolator< TElastix >::BeforeRegistration ( void  )
overridevirtual

Execute stuff before the actual registration:

  • Set the spline order.

Reimplemented from elastix::BaseComponent.

◆ CreateTransformParametersMap()

template<class TElastix >
void elastix::BSplineResampleInterpolator< TElastix >::CreateTransformParametersMap ( ParameterMapType paramsMap) const
overridevirtual

Function to create transform parameters map.

Reimplemented from elastix::ResampleInterpolatorBase< TElastix >.

◆ elxClassNameMacro()

template<class TElastix >
elastix::BSplineResampleInterpolator< TElastix >::elxClassNameMacro ( "FinalBSplineInterpolator"  )

Name of this class. Use this name in the parameter file to select this specific resample interpolator.
example: (ResampleInterpolator "FinalBSplineInterpolator")

◆ GetClassName()

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

Run-time type information (and related methods).

Reimplemented from elastix::ResampleInterpolatorBase< TElastix >.

◆ itkStaticConstMacro()

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

Dimension of the image.

◆ New()

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

Method for creation through the object factory.

◆ operator=()

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

The private copy constructor.

◆ ReadFromFile()

template<class TElastix >
void elastix::BSplineResampleInterpolator< TElastix >::ReadFromFile ( void  )
overridevirtual

Function to read transform-parameters from a file.

Reimplemented from elastix::ResampleInterpolatorBase< TElastix >.

◆ WriteToFile()

template<class TElastix >
void elastix::BSplineResampleInterpolator< TElastix >::WriteToFile ( void  ) const
overridevirtual

Function to write transform-parameters to a file.

Reimplemented from elastix::ResampleInterpolatorBase< TElastix >.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo