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

#include <elxRDBSplineResampleInterpolator.h>

Detailed Description

template<class TElastix>
class elastix::ReducedDimensionBSplineResampleInterpolator< TElastix >

A resample-interpolator based on B-splines which ignores the last dimension.

The parameters used in this class are:

Parameters:

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

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

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

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

If you are in memory problems, you may use the LinearResampleInterpolator, or the NearestNeighborResampleInterpolator. Note that the former will also interpolate in the last dimension.

See also
ReducedDimensionBSplineResampleInterpolatorFloat

Definition at line 54 of file elxRDBSplineResampleInterpolator.h.

+ Inheritance diagram for elastix::ReducedDimensionBSplineResampleInterpolator< 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 ReducedDimensionBSplineResampleInterpolator Self
 
typedef itk::BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, doubleSuperclass1
 
typedef ResampleInterpolatorBase< TElastix > Superclass2
 
- Public Types inherited from itk::ReducedDimensionBSplineInterpolateImageFunction< ResampleInterpolatorBase< TElastix >::InputImageType, ResampleInterpolatorBase< TElastix >::CoordRepType, double >
typedef double CoefficientDataType
 
typedef MultiOrderBSplineDecompositionImageFilter< ResampleInterpolatorBase< TElastix >::InputImageType, CoefficientImageTypeCoefficientFilter
 
typedef CoefficientFilter::Pointer CoefficientFilterPointer
 
typedef Image< CoefficientDataType, itkGetStaticConstMacro(ImageDimension) > CoefficientImageType
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::ContinuousIndexType ContinuousIndexType
 
typedef CovariantVector< OutputType, itkGetStaticConstMacro(ImageDimension) > CovariantVectorType
 
typedef Superclass::IndexType IndexType
 
typedef Superclass::InputImageType InputImageType
 
typedef ImageLinearIteratorWithIndex< ResampleInterpolatorBase< TElastix >::InputImageTypeIterator
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::PointType PointType
 
typedef ReducedDimensionBSplineInterpolateImageFunction Self
 
using SizeType = typename TImageType::SizeType
 
typedef InterpolateImageFunction< ResampleInterpolatorBase< TElastix >::InputImageType, ResampleInterpolatorBase< TElastix >::CoordRepType > Superclass
 
- 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
 
 elxClassNameMacro ("FinalReducedDimensionBSplineInterpolator")
 
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 itk::ReducedDimensionBSplineInterpolateImageFunction< ResampleInterpolatorBase< TElastix >::InputImageType, ResampleInterpolatorBase< 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
 
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension)
 
void SetInputImage (const ResampleInterpolatorBase< 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::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 itk::ReducedDimensionBSplineInterpolateImageFunction< ResampleInterpolatorBase< TElastix >::InputImageType, ResampleInterpolatorBase< TElastix >::CoordRepType, double >
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

 ReducedDimensionBSplineResampleInterpolator ()
 
 ~ReducedDimensionBSplineResampleInterpolator () override
 
- Protected Member Functions inherited from itk::ReducedDimensionBSplineInterpolateImageFunction< ResampleInterpolatorBase< TElastix >::InputImageType, ResampleInterpolatorBase< TElastix >::CoordRepType, double >
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ReducedDimensionBSplineInterpolateImageFunction ()
 
 ~ReducedDimensionBSplineInterpolateImageFunction () 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

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

Additional Inherited Members

- Protected Attributes inherited from itk::ReducedDimensionBSplineInterpolateImageFunction< ResampleInterpolatorBase< TElastix >::InputImageType, ResampleInterpolatorBase< TElastix >::CoordRepType, double >
CoefficientImageType::ConstPointer m_Coefficients
 
TImageType::SizeType m_DataLength
 
std::vector< CoefficientDataTypem_Scratch
 
unsigned int m_SplineOrder
 
- 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::ReducedDimensionBSplineResampleInterpolator< TElastix >::CoefficientDataType

Definition at line 96 of file elxRDBSplineResampleInterpolator.h.

◆ CoefficientFilter

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

Definition at line 98 of file elxRDBSplineResampleInterpolator.h.

◆ CoefficientFilterPointer

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

Definition at line 99 of file elxRDBSplineResampleInterpolator.h.

◆ CoefficientImageType

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

Definition at line 97 of file elxRDBSplineResampleInterpolator.h.

◆ ConfigurationPointer

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

Definition at line 106 of file elxRDBSplineResampleInterpolator.h.

◆ ConfigurationType

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

Definition at line 105 of file elxRDBSplineResampleInterpolator.h.

◆ ConstPointer

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

Definition at line 72 of file elxRDBSplineResampleInterpolator.h.

◆ ContinuousIndexType

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

Definition at line 93 of file elxRDBSplineResampleInterpolator.h.

◆ CovariantVectorType

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

Definition at line 100 of file elxRDBSplineResampleInterpolator.h.

◆ ElastixPointer

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

Definition at line 104 of file elxRDBSplineResampleInterpolator.h.

◆ ElastixType

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

Typedef's from ResampleInterpolatorBase.

Definition at line 103 of file elxRDBSplineResampleInterpolator.h.

◆ IndexType

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

Definition at line 92 of file elxRDBSplineResampleInterpolator.h.

◆ InputImageType

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

Definition at line 91 of file elxRDBSplineResampleInterpolator.h.

◆ Iterator

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

Definition at line 95 of file elxRDBSplineResampleInterpolator.h.

◆ ITKBaseType

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

Definition at line 109 of file elxRDBSplineResampleInterpolator.h.

◆ OutputType

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

Typedef's inherited from the superclass.

Definition at line 90 of file elxRDBSplineResampleInterpolator.h.

◆ Pointer

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

Definition at line 71 of file elxRDBSplineResampleInterpolator.h.

◆ PointType

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

Definition at line 94 of file elxRDBSplineResampleInterpolator.h.

◆ RegistrationPointer

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

Definition at line 108 of file elxRDBSplineResampleInterpolator.h.

◆ RegistrationType

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

Definition at line 107 of file elxRDBSplineResampleInterpolator.h.

◆ Self

Standard ITK-stuff.

Definition at line 65 of file elxRDBSplineResampleInterpolator.h.

◆ Superclass1

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

Definition at line 69 of file elxRDBSplineResampleInterpolator.h.

◆ Superclass2

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

Definition at line 70 of file elxRDBSplineResampleInterpolator.h.

Constructor & Destructor Documentation

◆ ReducedDimensionBSplineResampleInterpolator() [1/2]

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

The constructor.

Definition at line 125 of file elxRDBSplineResampleInterpolator.h.

◆ ~ReducedDimensionBSplineResampleInterpolator()

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

The destructor.

Definition at line 127 of file elxRDBSplineResampleInterpolator.h.

◆ ReducedDimensionBSplineResampleInterpolator() [2/2]

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

The private constructor.

Member Function Documentation

◆ BeforeRegistration()

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

Execute stuff before the actual registration:

  • Set the spline order.

Reimplemented from elastix::BaseComponent.

◆ elxClassNameMacro()

template<class TElastix >
elastix::ReducedDimensionBSplineResampleInterpolator< TElastix >::elxClassNameMacro ( "FinalReducedDimensionBSplineInterpolator"  )

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::ReducedDimensionBSplineResampleInterpolator< TElastix >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from elastix::ResampleInterpolatorBase< TElastix >.

◆ itkStaticConstMacro()

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

Dimension of the image.

◆ New()

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

Method for creation through the object factory.

◆ operator=()

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

The private copy constructor.

◆ ReadFromFile()

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

Function to read transform-parameters from a file.

Reimplemented from elastix::ResampleInterpolatorBase< TElastix >.

◆ WriteToFile()

template<class TElastix >
void elastix::ReducedDimensionBSplineResampleInterpolator< 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