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

#include <elxLinearInterpolator.h>

Detailed Description

template<class TElastix>
class elastix::LinearInterpolator< TElastix >

An interpolator based on the itk::AdvancedLinearInterpolateImageFunction.

This interpolator interpolates images using linear interpolation. In principle, this is the same as using the BSplineInterpolator with the setting (BSplineInterpolationOrder 1). However, the LinearInterpolator is significantly faster.

The parameters used in this class are:

Parameters:
Interpolator: Select this interpolator as follows:
(Interpolator "LinearInterpolator")

Definition at line 44 of file elxLinearInterpolator.h.

+ Inheritance diagram for elastix::LinearInterpolator< TElastix >:

Public Types

typedef Superclass2::ConfigurationPointer ConfigurationPointer
 
typedef Superclass2::ConfigurationType ConfigurationType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass1::ContinuousIndexType ContinuousIndexType
 
typedef Superclass2::ElastixPointer ElastixPointer
 
typedef Superclass2::ElastixType ElastixType
 
typedef Superclass1::IndexType IndexType
 
typedef Superclass1::InputImageType InputImageType
 
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 LinearInterpolator Self
 
typedef itk::AdvancedLinearInterpolateImageFunction< typename InterpolatorBase< TElastix >::InputImageType, typename InterpolatorBase< TElastix >::CoordRepTypeSuperclass1
 
typedef InterpolatorBase< TElastix > Superclass2
 
- Public Types inherited from itk::AdvancedLinearInterpolateImageFunction< InterpolatorBase< TElastix >::InputImageType, InterpolatorBase< TElastix >::CoordRepType >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::ContinuousIndexType ContinuousIndexType
 
typedef ContinuousIndexType::ValueType ContinuousIndexValueType
 
typedef CovariantVector< OutputType, itkGetStaticConstMacro(ImageDimension) > CovariantVectorType
 
typedef Superclass::IndexType IndexType
 
typedef InputImageType::SpacingType InputImageSpacingType
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::InputPixelType InputPixelType
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef AdvancedLinearInterpolateImageFunction Self
 
typedef LinearInterpolateImageFunction< InterpolatorBase< TElastix >::InputImageType, InterpolatorBase< TElastix >::CoordRepType > Superclass
 
- Public Types inherited from elastix::InterpolatorBase< 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 Superclass::RegistrationPointer RegistrationPointer
 
typedef Superclass::RegistrationType RegistrationType
 
typedef InterpolatorBase 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

 elxClassNameMacro ("LinearInterpolator")
 
virtual const char * GetClassName () const
 
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass1::ImageDimension)
 
- Public Member Functions inherited from itk::AdvancedLinearInterpolateImageFunction< InterpolatorBase< TElastix >::InputImageType, InterpolatorBase< TElastix >::CoordRepType >
CovariantVectorType EvaluateDerivativeAtContinuousIndex (const ContinuousIndexType &x) const
 
void EvaluateValueAndDerivativeAtContinuousIndex (const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
 
virtual const char * GetClassName () const
 
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension)
 
- Public Member Functions inherited from elastix::InterpolatorBase< TElastix >
virtual ITKBaseTypeGetAsITKBaseType (void)
 
virtual const ITKBaseTypeGetAsITKBaseType (void) const
 
virtual const char * GetClassName () 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::AdvancedLinearInterpolateImageFunction< InterpolatorBase< TElastix >::InputImageType, InterpolatorBase< TElastix >::CoordRepType >
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

 LinearInterpolator ()
 
 ~LinearInterpolator () override
 
- Protected Member Functions inherited from itk::AdvancedLinearInterpolateImageFunction< InterpolatorBase< TElastix >::InputImageType, InterpolatorBase< TElastix >::CoordRepType >
 AdvancedLinearInterpolateImageFunction ()
 
 ~AdvancedLinearInterpolateImageFunction () override
 
- Protected Member Functions inherited from elastix::InterpolatorBase< TElastix >
 InterpolatorBase ()
 
 ~InterpolatorBase () 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

 LinearInterpolator (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

◆ ConfigurationPointer

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

Definition at line 88 of file elxLinearInterpolator.h.

◆ ConfigurationType

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

Definition at line 87 of file elxLinearInterpolator.h.

◆ ConstPointer

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

Definition at line 60 of file elxLinearInterpolator.h.

◆ ContinuousIndexType

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

Definition at line 81 of file elxLinearInterpolator.h.

◆ ElastixPointer

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

Definition at line 86 of file elxLinearInterpolator.h.

◆ ElastixType

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

Typedefs inherited from Elastix.

Definition at line 85 of file elxLinearInterpolator.h.

◆ IndexType

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

Definition at line 80 of file elxLinearInterpolator.h.

◆ InputImageType

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

Definition at line 79 of file elxLinearInterpolator.h.

◆ ITKBaseType

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

Definition at line 91 of file elxLinearInterpolator.h.

◆ OutputType

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

Typedefs inherited from the superclass.

Definition at line 78 of file elxLinearInterpolator.h.

◆ Pointer

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

Definition at line 59 of file elxLinearInterpolator.h.

◆ PointType

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

Definition at line 82 of file elxLinearInterpolator.h.

◆ RegistrationPointer

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

Definition at line 90 of file elxLinearInterpolator.h.

◆ RegistrationType

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

Definition at line 89 of file elxLinearInterpolator.h.

◆ Self

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

Standard ITK-stuff.

Definition at line 53 of file elxLinearInterpolator.h.

◆ Superclass1

template<class TElastix >
typedef itk::AdvancedLinearInterpolateImageFunction< typename InterpolatorBase< TElastix >::InputImageType, typename InterpolatorBase< TElastix >::CoordRepType > elastix::LinearInterpolator< TElastix >::Superclass1

Definition at line 57 of file elxLinearInterpolator.h.

◆ Superclass2

template<class TElastix >
typedef InterpolatorBase< TElastix > elastix::LinearInterpolator< TElastix >::Superclass2

Definition at line 58 of file elxLinearInterpolator.h.

Constructor & Destructor Documentation

◆ LinearInterpolator() [1/2]

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

The constructor.

Definition at line 96 of file elxLinearInterpolator.h.

◆ ~LinearInterpolator()

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

The destructor.

Definition at line 98 of file elxLinearInterpolator.h.

◆ LinearInterpolator() [2/2]

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

The private constructor.

Member Function Documentation

◆ elxClassNameMacro()

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

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

◆ GetClassName()

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

Run-time type information (and related methods).

Reimplemented from elastix::InterpolatorBase< TElastix >.

◆ itkStaticConstMacro()

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

Get the ImageDimension.

◆ New()

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

Method for creation through the object factory.

◆ operator=()

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

The private copy constructor.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo