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

#include <elxReducedDimensionBSplineInterpolator.h>

Detailed Description

template<class TElastix>
class elastix::ReducedDimensionBSplineInterpolator< TElastix >

An interpolator based on the itkReducedDimensionBSplineInterpolateImageFunction.

This interpolator interpolates images with an underlying B-spline polynomial. It only interpolates in the InputImageDimension - 1 dimensions of the image.

The parameters used in this class are:

Parameters:

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

BSplineInterpolationOrder: the order of the B-spline polynomial.
example: (BSplineInterpolationOrder 1 1 1)
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.
Currently only first order B-spline interpolation is supported.

Definition at line 48 of file elxReducedDimensionBSplineInterpolator.h.

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

Public Types

using CoefficientDataType = TCoefficientType
 
using CoefficientFilter = MultiOrderBSplineDecompositionImageFilter< TImageType, CoefficientImageType >
 
using CoefficientFilterPointer = typename CoefficientFilter::Pointer
 
using CoefficientImageType = Image< CoefficientDataType, Self::ImageDimension >
 
using ConstPointer = itk::SmartPointer< const Self >
 
using CovariantVectorType = CovariantVector< OutputType, Self::ImageDimension >
 
using ITKBaseType = typename Superclass2::ITKBaseType
 
using Pointer = itk::SmartPointer< Self >
 
using Self = ReducedDimensionBSplineInterpolator
 
using Superclass1 = itk::ReducedDimensionBSplineInterpolateImageFunction< typename InterpolatorBase< TElastix >::InputImageType, typename InterpolatorBase< TElastix >::CoordRepType, double >
 
using Superclass2 = InterpolatorBase< TElastix >
 
- Public Types inherited from itk::ReducedDimensionBSplineInterpolateImageFunction< InterpolatorBase< TElastix >::InputImageType, InterpolatorBase< TElastix >::CoordRepType, double >
using CoefficientDataType = double
 
using CoefficientFilter = MultiOrderBSplineDecompositionImageFilter< InterpolatorBase< TElastix >::InputImageType, CoefficientImageType >
 
using CoefficientFilterPointer = typename CoefficientFilter::Pointer
 
using CoefficientImageType = Image< CoefficientDataType, Self::ImageDimension >
 
using ConstPointer = SmartPointer< const Self >
 
using CovariantVectorType = CovariantVector< OutputType, Self::ImageDimension >
 
using Pointer = SmartPointer< Self >
 
using Self = ReducedDimensionBSplineInterpolateImageFunction
 
using SizeType = typename TImageType::SizeType
 
using Superclass = InterpolateImageFunction< InterpolatorBase< TElastix >::InputImageType, InterpolatorBase< TElastix >::CoordRepType >
 
- 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 ("ReducedDimensionBSplineInterpolator")
 
virtual const char * GetClassName () const
 
 ITK_DISALLOW_COPY_AND_MOVE (ReducedDimensionBSplineInterpolator)
 
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass1::ImageDimension)
 
- Public Member Functions inherited from itk::ReducedDimensionBSplineInterpolateImageFunction< InterpolatorBase< TElastix >::InputImageType, InterpolatorBase< TElastix >::CoordRepType, double >
OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const override
 
CovariantVectorType EvaluateDerivative (const PointType &point) const
 
CovariantVectorType EvaluateDerivativeAtContinuousIndex (const ContinuousIndexType &x) const
 
virtual const char * GetClassName () const
 
virtual int GetSplineOrder () const
 
virtual bool GetUseImageDirection () const
 
 ITK_DISALLOW_COPY_AND_MOVE (ReducedDimensionBSplineInterpolateImageFunction)
 
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension)
 
void SetInputImage (const InterpolatorBase< TElastix >::InputImageType *inputData) override
 
void SetSplineOrder (unsigned int SplineOrder)
 
virtual void SetUseImageDirection (bool _arg)
 
virtual void UseImageDirectionOff ()
 
virtual void UseImageDirectionOn ()
 
- 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 itk::ReducedDimensionBSplineInterpolateImageFunction< InterpolatorBase< TElastix >::InputImageType, InterpolatorBase< TElastix >::CoordRepType, double >
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

 ReducedDimensionBSplineInterpolator ()=default
 
 ~ReducedDimensionBSplineInterpolator () override=default
 
- Protected Member Functions inherited from itk::ReducedDimensionBSplineInterpolateImageFunction< InterpolatorBase< TElastix >::InputImageType, InterpolatorBase< TElastix >::CoordRepType, double >
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ReducedDimensionBSplineInterpolateImageFunction ()
 
 ~ReducedDimensionBSplineInterpolateImageFunction () 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 itk::ReducedDimensionBSplineInterpolateImageFunction< InterpolatorBase< TElastix >::InputImageType, InterpolatorBase< TElastix >::CoordRepType, double >
CoefficientImageType::ConstPointer m_Coefficients
 
TImageType::SizeType m_DataLength
 
unsigned int m_SplineOrder
 
- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration {}
 
itk::WeakPointer< TElastix > m_Elastix {}
 
RegistrationTypem_Registration {}
 

Member Typedef Documentation

◆ CoefficientDataType

template<class TElastix >
using itk::ReducedDimensionBSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::CoefficientDataType = TCoefficientType

Internal Coefficient typedef support

Definition at line 124 of file itkReducedDimensionBSplineInterpolateImageFunction.h.

◆ CoefficientFilter

template<class TElastix >
using itk::ReducedDimensionBSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::CoefficientFilter = MultiOrderBSplineDecompositionImageFilter<TImageType, CoefficientImageType>

Define filter for calculating the BSpline coefficients

Definition at line 128 of file itkReducedDimensionBSplineInterpolateImageFunction.h.

◆ CoefficientFilterPointer

template<class TElastix >
using itk::ReducedDimensionBSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::CoefficientFilterPointer = typename CoefficientFilter::Pointer

◆ CoefficientImageType

template<class TElastix >
using itk::ReducedDimensionBSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::CoefficientImageType = Image<CoefficientDataType, Self::ImageDimension>

◆ ConstPointer

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

Definition at line 66 of file elxReducedDimensionBSplineInterpolator.h.

◆ CovariantVectorType

template<class TElastix >
using itk::ReducedDimensionBSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::CovariantVectorType = CovariantVector<OutputType, Self::ImageDimension>

Derivative typedef support

Definition at line 144 of file itkReducedDimensionBSplineInterpolateImageFunction.h.

◆ ITKBaseType

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

Definition at line 98 of file elxReducedDimensionBSplineInterpolator.h.

◆ Pointer

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

Definition at line 65 of file elxReducedDimensionBSplineInterpolator.h.

◆ Self

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

Standard ITK-stuff.

Definition at line 59 of file elxReducedDimensionBSplineInterpolator.h.

◆ Superclass1

Definition at line 60 of file elxReducedDimensionBSplineInterpolator.h.

◆ Superclass2

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

Definition at line 64 of file elxReducedDimensionBSplineInterpolator.h.

Constructor & Destructor Documentation

◆ ReducedDimensionBSplineInterpolator()

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

The constructor.

◆ ~ReducedDimensionBSplineInterpolator()

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

The destructor.

Member Function Documentation

◆ BeforeEachResolution()

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

Execute stuff before each new pyramid resolution:

  • Set the spline order.

Reimplemented from elastix::BaseComponent.

◆ elxClassNameMacro()

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

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

◆ GetClassName()

template<class TElastix >
virtual const char * elastix::ReducedDimensionBSplineInterpolator< 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::ReducedDimensionBSplineInterpolator< TElastix >::ITK_DISALLOW_COPY_AND_MOVE ( ReducedDimensionBSplineInterpolator< TElastix >  )

◆ itkStaticConstMacro()

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

Get the ImageDimension.

◆ New()

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

Method for creation through the object factory.

Field Documentation

◆ elxOverrideGetSelfMacro

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

Definition at line 113 of file elxReducedDimensionBSplineInterpolator.h.



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