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 Attributes
elastix::BSplineInterpolator< TElastix > Class Template Reference

#include <elxBSplineInterpolator.h>

Detailed Description

template<class TElastix>
class elastix::BSplineInterpolator< TElastix >

An interpolator based on the itkBSplineInterpolateImageFunction.

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 "BSplineInterpolator")

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 elxBSplineInterpolator.h.

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

Public Types

using ConstPointer = itk::SmartPointer< const Self >
 
using ITKBaseType = typename Superclass2::ITKBaseType
 
using Pointer = itk::SmartPointer< Self >
 
using Self = BSplineInterpolator
 
using Superclass1 = itk::BSplineInterpolateImageFunction< typename InterpolatorBase< TElastix >::InputImageType, typename InterpolatorBase< TElastix >::CoordRepType, double >
 
using Superclass2 = InterpolatorBase< TElastix >
 
- Public Types inherited from elastix::InterpolatorBase< TElastix >
using CoordRepType = ElastixBase::CoordRepType
 
using ElastixType = TElastix
 
using InputImageType = typename ElastixType::MovingImageType
 
using ITKBaseType = itk::InterpolateImageFunction< InputImageType, CoordRepType >
 
using RegistrationType = typename ElastixType::RegistrationBaseType
 
using Self = InterpolatorBase
 
using Superclass = BaseComponentSE< TElastix >
 
- Public Types inherited from elastix::BaseComponentSE< TElastix >
using ConfigurationPointer = Configuration::Pointer
 
using ElastixType = TElastix
 
using RegistrationType = typename ElastixType::RegistrationBaseType
 
using Self = BaseComponentSE
 
using Superclass = BaseComponent
 

Public Member Functions

void BeforeEachResolution () override
 
 elxClassNameMacro ("BSplineInterpolator")
 
virtual const char * GetClassName () const
 
 ITK_DISALLOW_COPY_AND_MOVE (BSplineInterpolator)
 
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass1::ImageDimension)
 
- Public Member Functions inherited from elastix::InterpolatorBase< TElastix >
ITKBaseTypeGetAsITKBaseType ()
 
const ITKBaseTypeGetAsITKBaseType () const
 
virtual const char * GetClassName () const
 
 ITK_DISALLOW_COPY_AND_MOVE (InterpolatorBase)
 
- Public Member Functions inherited from elastix::BaseComponentSE< TElastix >
void AddTargetCellToIterationInfo (const char *const name)
 
ConfigurationGetConfiguration () const
 
ElastixTypeGetElastix () const
 
xl::xoutbaseGetIterationInfoAt (const char *const name)
 
RegistrationTypeGetRegistration () const
 
 ITK_DISALLOW_COPY_AND_MOVE (BaseComponentSE)
 
int RemoveTargetCellFromIterationInfo (const char *const name)
 
void SetConfiguration (Configuration *_arg)
 
void SetElastix (ElastixType *_arg)
 
- Public Member Functions inherited from elastix::BaseComponent
virtual void AfterEachIteration ()
 
virtual void AfterEachIterationBase ()
 
virtual void AfterEachResolution ()
 
virtual void AfterEachResolutionBase ()
 
virtual void AfterRegistration ()
 
virtual void AfterRegistrationBase ()
 
virtual int BeforeAll ()
 
virtual int BeforeAllBase ()
 
virtual void BeforeEachResolution ()
 
virtual void BeforeEachResolutionBase ()
 
virtual void BeforeRegistration ()
 
virtual void BeforeRegistrationBase ()
 
virtual const char * elxGetClassName () const
 
const char * GetComponentLabel () const
 
 ITK_DISALLOW_COPY_AND_MOVE (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
template<typename TBaseComponent >
static auto AsITKBaseType (TBaseComponent *const baseComponent) -> decltype(baseComponent->GetAsITKBaseType())
 
static void InitializeElastixExecutable ()
 
static bool IsElastixLibrary ()
 

Protected Member Functions

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

 elxOverrideGetSelfMacro
 

Additional Inherited Members

- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration {}
 
itk::WeakPointer< TElastix > m_Elastix {}
 
RegistrationTypem_Registration {}
 

Member Typedef Documentation

◆ ConstPointer

template<class TElastix >
using elastix::BSplineInterpolator< TElastix >::ConstPointer = itk::SmartPointer<const Self>

Definition at line 67 of file elxBSplineInterpolator.h.

◆ ITKBaseType

template<class TElastix >
using elastix::BSplineInterpolator< TElastix >::ITKBaseType = typename Superclass2::ITKBaseType

Definition at line 100 of file elxBSplineInterpolator.h.

◆ Pointer

template<class TElastix >
using elastix::BSplineInterpolator< TElastix >::Pointer = itk::SmartPointer<Self>

Definition at line 66 of file elxBSplineInterpolator.h.

◆ Self

template<class TElastix >
using elastix::BSplineInterpolator< TElastix >::Self = BSplineInterpolator

Standard ITK-stuff.

Definition at line 61 of file elxBSplineInterpolator.h.

◆ Superclass1

template<class TElastix >
using elastix::BSplineInterpolator< TElastix >::Superclass1 = itk::BSplineInterpolateImageFunction<typename InterpolatorBase<TElastix>::InputImageType, typename InterpolatorBase<TElastix>::CoordRepType, double>

Definition at line 62 of file elxBSplineInterpolator.h.

◆ Superclass2

template<class TElastix >
using elastix::BSplineInterpolator< TElastix >::Superclass2 = InterpolatorBase<TElastix>

Definition at line 65 of file elxBSplineInterpolator.h.

Constructor & Destructor Documentation

◆ BSplineInterpolator()

template<class TElastix >
elastix::BSplineInterpolator< TElastix >::BSplineInterpolator ( )
protecteddefault

The constructor.

◆ ~BSplineInterpolator()

template<class TElastix >
elastix::BSplineInterpolator< TElastix >::~BSplineInterpolator ( )
overrideprotecteddefault

The destructor.

Member Function Documentation

◆ BeforeEachResolution()

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

Execute stuff before each new pyramid resolution:

  • Set the spline order.

Reimplemented from elastix::BaseComponent.

◆ elxClassNameMacro()

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

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

◆ GetClassName()

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

Run-time type information (and related methods).

Reimplemented from elastix::InterpolatorBase< TElastix >.

◆ ITK_DISALLOW_COPY_AND_MOVE()

template<class TElastix >
elastix::BSplineInterpolator< TElastix >::ITK_DISALLOW_COPY_AND_MOVE ( BSplineInterpolator< TElastix >  )

◆ itkStaticConstMacro()

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

Get the ImageDimension.

◆ New()

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

Method for creation through the object factory.

Field Documentation

◆ elxOverrideGetSelfMacro

template<class TElastix >
elastix::BSplineInterpolator< TElastix >::elxOverrideGetSelfMacro
private

Definition at line 115 of file elxBSplineInterpolator.h.



Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo