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

#include <elxBSplineInterpolatorFloat.h>

Detailed Description

template<class TElastix>
class elastix::BSplineInterpolatorFloat< TElastix >

An interpolator based on the itk::BSplineInterpolateImageFunction.

This interpolator interpolates images with an underlying B-spline polynomial.

NB: BSplineInterpolation with order 1 is slower than using a LinearInterpolator, but it determines the derivative slightly more accurate at grid points. That's why the registration results can be slightly different.

The parameters used in this class are:

Parameters:

Interpolator: Select this interpolator as follows:
(Interpolator "BSplineInterpolatorFloat")

BSplineInterpolationOrder: the order of the B-spline polynomial.
example: (BSplineInterpolationOrder 3 2 3)
The default order is 1. The parameter can be specified for each resolution.
If only given for one resolution, that value is used for the other resolutions as well.

Definition at line 50 of file elxBSplineInterpolatorFloat.h.

+ Inheritance diagram for elastix::BSplineInterpolatorFloat< 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 itk::SmartPointer< SelfPointer
 
typedef Superclass1::PointType PointType
 
typedef Superclass2::RegistrationPointer RegistrationPointer
 
typedef Superclass2::RegistrationType RegistrationType
 
typedef BSplineInterpolatorFloat Self
 
typedef itk::BSplineInterpolateImageFunction< typename InterpolatorBase< TElastix >::InputImageType, typename InterpolatorBase< TElastix >::CoordRepType, floatSuperclass1
 
typedef InterpolatorBase< TElastix > Superclass2
 
- Public Types inherited from elastix::InterpolatorBase< 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 Superclass::RegistrationPointer RegistrationPointer
 
typedef Superclass::RegistrationType RegistrationType
 
typedef InterpolatorBase 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 BeforeEachResolution (void) override
 
 elxClassNameMacro ("BSplineInterpolatorFloat")
 
virtual const char * GetClassName () const
 
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass1::ImageDimension)
 
- Public Member Functions inherited from elastix::InterpolatorBase< TElastix >
virtual ITKBaseTypeGetAsITKBaseType (void)
 
virtual const ITKBaseTypeGetAsITKBaseType (void) const
 
virtual const char * GetClassName () 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

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

 BSplineInterpolatorFloat (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::BSplineInterpolatorFloat< TElastix >::CoefficientDataType

Definition at line 93 of file elxBSplineInterpolatorFloat.h.

◆ CoefficientFilter

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

Definition at line 95 of file elxBSplineInterpolatorFloat.h.

◆ CoefficientFilterPointer

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

Definition at line 96 of file elxBSplineInterpolatorFloat.h.

◆ CoefficientImageType

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

Definition at line 94 of file elxBSplineInterpolatorFloat.h.

◆ ConfigurationPointer

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

Definition at line 103 of file elxBSplineInterpolatorFloat.h.

◆ ConfigurationType

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

Definition at line 102 of file elxBSplineInterpolatorFloat.h.

◆ ConstPointer

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

Definition at line 69 of file elxBSplineInterpolatorFloat.h.

◆ ContinuousIndexType

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

Definition at line 90 of file elxBSplineInterpolatorFloat.h.

◆ CovariantVectorType

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

Definition at line 97 of file elxBSplineInterpolatorFloat.h.

◆ ElastixPointer

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

Definition at line 101 of file elxBSplineInterpolatorFloat.h.

◆ ElastixType

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

Typedefs inherited from Elastix.

Definition at line 100 of file elxBSplineInterpolatorFloat.h.

◆ IndexType

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

Definition at line 89 of file elxBSplineInterpolatorFloat.h.

◆ InputImageType

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

Definition at line 88 of file elxBSplineInterpolatorFloat.h.

◆ Iterator

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

Definition at line 92 of file elxBSplineInterpolatorFloat.h.

◆ ITKBaseType

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

Definition at line 106 of file elxBSplineInterpolatorFloat.h.

◆ OutputType

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

Typedefs inherited from the superclass.

Definition at line 87 of file elxBSplineInterpolatorFloat.h.

◆ Pointer

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

Definition at line 68 of file elxBSplineInterpolatorFloat.h.

◆ PointType

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

Definition at line 91 of file elxBSplineInterpolatorFloat.h.

◆ RegistrationPointer

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

Definition at line 105 of file elxBSplineInterpolatorFloat.h.

◆ RegistrationType

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

Definition at line 104 of file elxBSplineInterpolatorFloat.h.

◆ Self

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

Standard ITK-stuff.

Definition at line 62 of file elxBSplineInterpolatorFloat.h.

◆ Superclass1

template<class TElastix >
typedef itk::BSplineInterpolateImageFunction< typename InterpolatorBase< TElastix >::InputImageType, typename InterpolatorBase< TElastix >::CoordRepType, float > elastix::BSplineInterpolatorFloat< TElastix >::Superclass1

Definition at line 66 of file elxBSplineInterpolatorFloat.h.

◆ Superclass2

template<class TElastix >
typedef InterpolatorBase< TElastix > elastix::BSplineInterpolatorFloat< TElastix >::Superclass2

Definition at line 67 of file elxBSplineInterpolatorFloat.h.

Constructor & Destructor Documentation

◆ BSplineInterpolatorFloat() [1/2]

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

The constructor.

Definition at line 116 of file elxBSplineInterpolatorFloat.h.

◆ ~BSplineInterpolatorFloat()

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

The destructor.

Definition at line 118 of file elxBSplineInterpolatorFloat.h.

◆ BSplineInterpolatorFloat() [2/2]

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

The private constructor.

Member Function Documentation

◆ BeforeEachResolution()

template<class TElastix >
void elastix::BSplineInterpolatorFloat< TElastix >::BeforeEachResolution ( void  )
overridevirtual

Execute stuff before each new pyramid resolution:

  • Set the spline order.

Reimplemented from elastix::BaseComponent.

◆ elxClassNameMacro()

template<class TElastix >
elastix::BSplineInterpolatorFloat< TElastix >::elxClassNameMacro ( "BSplineInterpolatorFloat< TElastix >"  )

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

◆ GetClassName()

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

Run-time type information (and related methods).

Reimplemented from elastix::InterpolatorBase< TElastix >.

◆ itkStaticConstMacro()

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

Get the ImageDimension.

◆ New()

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

Method for creation through the object factory.

◆ operator=()

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

The private copy constructor.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo