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

#include <elxBSplineResampleInterpolatorFloat.h>

Detailed Description

template<class TElastix>
class elastix::BSplineResampleInterpolatorFloat< TElastix >

A resample-interpolator based on B-splines.

Compared to the BSplineResampleInterpolator this class uses a float CoefficientType, instead of double. You can select this resample interpolator if memory burden is an issue.

The parameters used in this class are:

Parameters:

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

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

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

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

Definition at line 54 of file elxBSplineResampleInterpolatorFloat.h.

+ Inheritance diagram for elastix::BSplineResampleInterpolatorFloat< 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 BSplineResampleInterpolatorFloat Self
 
typedef itk::BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, floatSuperclass1
 
typedef ResampleInterpolatorBase< TElastix > Superclass2
 
- 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 ("FinalBSplineInterpolatorFloat")
 
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 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 elastix::BaseComponent
static std::string ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision)
 
static void InitializeElastixExecutable ()
 
static bool IsElastixLibrary ()
 

Protected Member Functions

 BSplineResampleInterpolatorFloat ()
 
 ~BSplineResampleInterpolatorFloat () 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

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

Definition at line 96 of file elxBSplineResampleInterpolatorFloat.h.

◆ CoefficientFilter

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

Definition at line 98 of file elxBSplineResampleInterpolatorFloat.h.

◆ CoefficientFilterPointer

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

Definition at line 99 of file elxBSplineResampleInterpolatorFloat.h.

◆ CoefficientImageType

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

Definition at line 97 of file elxBSplineResampleInterpolatorFloat.h.

◆ ConfigurationPointer

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

Definition at line 106 of file elxBSplineResampleInterpolatorFloat.h.

◆ ConfigurationType

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

Definition at line 105 of file elxBSplineResampleInterpolatorFloat.h.

◆ ConstPointer

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

Definition at line 72 of file elxBSplineResampleInterpolatorFloat.h.

◆ ContinuousIndexType

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

Definition at line 93 of file elxBSplineResampleInterpolatorFloat.h.

◆ CovariantVectorType

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

Definition at line 100 of file elxBSplineResampleInterpolatorFloat.h.

◆ ElastixPointer

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

Definition at line 104 of file elxBSplineResampleInterpolatorFloat.h.

◆ ElastixType

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

Typedef's from ResampleInterpolatorBase.

Definition at line 103 of file elxBSplineResampleInterpolatorFloat.h.

◆ IndexType

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

Definition at line 92 of file elxBSplineResampleInterpolatorFloat.h.

◆ InputImageType

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

Definition at line 91 of file elxBSplineResampleInterpolatorFloat.h.

◆ Iterator

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

Definition at line 95 of file elxBSplineResampleInterpolatorFloat.h.

◆ ITKBaseType

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

Definition at line 109 of file elxBSplineResampleInterpolatorFloat.h.

◆ OutputType

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

Typedef's inherited from the superclass.

Definition at line 90 of file elxBSplineResampleInterpolatorFloat.h.

◆ Pointer

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

Definition at line 71 of file elxBSplineResampleInterpolatorFloat.h.

◆ PointType

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

Definition at line 94 of file elxBSplineResampleInterpolatorFloat.h.

◆ RegistrationPointer

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

Definition at line 108 of file elxBSplineResampleInterpolatorFloat.h.

◆ RegistrationType

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

Definition at line 107 of file elxBSplineResampleInterpolatorFloat.h.

◆ Self

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

Standard ITK-stuff.

Definition at line 65 of file elxBSplineResampleInterpolatorFloat.h.

◆ Superclass1

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

Definition at line 69 of file elxBSplineResampleInterpolatorFloat.h.

◆ Superclass2

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

Definition at line 70 of file elxBSplineResampleInterpolatorFloat.h.

Constructor & Destructor Documentation

◆ BSplineResampleInterpolatorFloat() [1/2]

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

The constructor.

Definition at line 125 of file elxBSplineResampleInterpolatorFloat.h.

◆ ~BSplineResampleInterpolatorFloat()

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

The destructor.

Definition at line 127 of file elxBSplineResampleInterpolatorFloat.h.

◆ BSplineResampleInterpolatorFloat() [2/2]

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

The private constructor.

Member Function Documentation

◆ BeforeRegistration()

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

Execute stuff before the actual registration:

  • Set the spline order.

Reimplemented from elastix::BaseComponent.

◆ elxClassNameMacro()

template<class TElastix >
elastix::BSplineResampleInterpolatorFloat< TElastix >::elxClassNameMacro ( "FinalBSplineInterpolatorFloat"  )

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

◆ GetClassName()

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

Run-time type information (and related methods).

Reimplemented from elastix::ResampleInterpolatorBase< TElastix >.

◆ itkStaticConstMacro()

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

Dimension of the image.

◆ New()

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

Method for creation through the object factory.

◆ operator=()

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

The private copy constructor.

◆ ReadFromFile()

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

Function to read transform-parameters from a file.

Reimplemented from elastix::ResampleInterpolatorBase< TElastix >.

◆ WriteToFile()

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