go home Home | Main Page | Topics | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elastix::ReducedDimensionBSplineInterpolator< TElastix > Class Template Reference

#include <elxReducedDimensionBSplineInterpolator.h>

Detailed Description

template<typename 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 >:

Public Types

using ConstPointer = itk::SmartPointer<const Self>
using ITKBaseType = typename Superclass2::ITKBaseType
using Pointer = itk::SmartPointer<Self>
using Self = ReducedDimensionBSplineInterpolator
using Superclass1
using Superclass2 = InterpolatorBase<TElastix>
Public Types inherited from itk::ReducedDimensionBSplineInterpolateImageFunction< TImageType, TCoordinate, TCoefficientType >
using CoefficientDataType = TCoefficientType
using CoefficientFilter = MultiOrderBSplineDecompositionImageFilter<TImageType, 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<TImageType, TCoordinate>
Public Types inherited from elastix::InterpolatorBase< TElastix >
using CoordinateType = ElastixBase::CoordinateType
using ElastixType
using InputImageType = typename ElastixType::MovingImageType
using ITKBaseType = itk::InterpolateImageFunction<InputImageType, CoordinateType>
using RegistrationType
using Self = InterpolatorBase
using Superclass = BaseComponentSE<TElastix>
Public Types inherited from elastix::BaseComponentSE< TElastix >
using ElastixType = TElastix
using RegistrationType = typename ElastixType::RegistrationBaseType
using Self = BaseComponentSE
using Superclass = BaseComponent

Public Member Functions

void BeforeEachResolution () override
 elxClassNameMacro ("ReducedDimensionBSplineInterpolator")
 ITK_DISALLOW_COPY_AND_MOVE (ReducedDimensionBSplineInterpolator)
 itkOverrideGetNameOfClassMacro (ReducedDimensionBSplineInterpolator)
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass1::ImageDimension)
Public Member Functions inherited from itk::ReducedDimensionBSplineInterpolateImageFunction< TImageType, TCoordinate, TCoefficientType >
OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const override
CovariantVectorType EvaluateDerivative (const PointType &point) const
CovariantVectorType EvaluateDerivativeAtContinuousIndex (const ContinuousIndexType &x) const
virtual int GetSplineOrder () const
virtual bool GetUseImageDirection () const
 ITK_DISALLOW_COPY_AND_MOVE (ReducedDimensionBSplineInterpolateImageFunction)
 itkOverrideGetNameOfClassMacro (ReducedDimensionBSplineInterpolateImageFunction)
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension)
void SetInputImage (const TImageType *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
 ITK_DISALLOW_COPY_AND_MOVE (InterpolatorBase)
 itkOverrideGetNameOfClassMacro (InterpolatorBase)
Public Member Functions inherited from elastix::BaseComponentSE< TElastix >
void AddTargetCellToIterationInfo (const char *const name)
const ConfigurationGetConfiguration () const
ElastixTypeGetElastix () const
auto & GetIterationInfoAt (const char *const name)
itk::Statistics::MersenneTwisterRandomVariateGenerator & GetRandomVariateGenerator ()
RegistrationTypeGetRegistration () const
 ITK_DISALLOW_COPY_AND_MOVE (BaseComponentSE)
void RemoveTargetCellFromIterationInfo (const char *const name)
void SetConfiguration (const 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 BeforeEachResolutionBase ()
virtual void BeforeRegistration ()
virtual void BeforeRegistrationBase ()
virtual const char * elxGetClassName () const
const char * GetComponentLabel () const
 ITK_DISALLOW_COPY_AND_MOVE (BaseComponent)
 itkVirtualGetNameOfClassMacro (BaseComponent)
void SetComponentLabel (const char *label, unsigned int idx)

Static Public Member Functions

static Pointer New ()
Static Public Member Functions inherited from itk::ReducedDimensionBSplineInterpolateImageFunction< TImageType, TCoordinate, TCoefficientType >
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< TImageType, TCoordinate, TCoefficientType >
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< TImageType, TCoordinate, TCoefficientType >
CoefficientImageType::ConstPointer m_Coefficients {}
TImageType::SizeType m_DataLength {}
unsigned int m_SplineOrder {}
Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
Configuration::ConstPointer m_Configuration {}
itk::WeakPointer< TElastix > m_Elastix {}
RegistrationTypem_Registration {}

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 66 of file elxReducedDimensionBSplineInterpolator.h.

◆ ITKBaseType

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

Definition at line 98 of file elxReducedDimensionBSplineInterpolator.h.

◆ Pointer

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

Definition at line 65 of file elxReducedDimensionBSplineInterpolator.h.

◆ Self

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

Standard ITK-stuff.

Definition at line 59 of file elxReducedDimensionBSplineInterpolator.h.

◆ Superclass1

template<typename TElastix>
using elastix::ReducedDimensionBSplineInterpolator< TElastix >::Superclass1

◆ Superclass2

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

Definition at line 64 of file elxReducedDimensionBSplineInterpolator.h.

Constructor & Destructor Documentation

◆ ReducedDimensionBSplineInterpolator()

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

The constructor.

◆ ~ReducedDimensionBSplineInterpolator()

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

The destructor.

Member Function Documentation

◆ BeforeEachResolution()

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

Execute stuff before each new pyramid resolution:

  • Set the spline order.

Reimplemented from elastix::BaseComponent.

◆ elxClassNameMacro()

template<typename 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")

◆ ITK_DISALLOW_COPY_AND_MOVE()

template<typename TElastix>
elastix::ReducedDimensionBSplineInterpolator< TElastix >::ITK_DISALLOW_COPY_AND_MOVE ( ReducedDimensionBSplineInterpolator< TElastix > )

◆ itkOverrideGetNameOfClassMacro()

template<typename TElastix>
elastix::ReducedDimensionBSplineInterpolator< TElastix >::itkOverrideGetNameOfClassMacro ( ReducedDimensionBSplineInterpolator< TElastix > )

Run-time type information (and related methods).

◆ itkStaticConstMacro()

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

Get the ImageDimension.

◆ New()

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

Method for creation through the object factory.

Member Data Documentation

◆ elxOverrideGetSelfMacro

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

Definition at line 113 of file elxReducedDimensionBSplineInterpolator.h.



Generated on 26-02-2026 for elastix by doxygen 1.16.1 (669aeeefca743c148e2d935b3d3c69535c7491e6) elastix logo