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

#include <elxNearestNeighborResampleInterpolator.h>

Detailed Description

template<class TElastix>
class elastix::NearestNeighborResampleInterpolator< TElastix >

A nearest neighbor resample-interpolator.

Compared to the BSplineResampleInterpolator and BSplineResampleInterpolatorFloat with SplineOrder 0 this class uses less (in fact, no) memory. You can select this resample interpolator if memory burden is an issue and nearest neighbor interpolation is sufficient.

The parameters used in this class are:

Parameters:
ResampleInterpolator: Select this resample interpolator as follows:
(ResampleInterpolator "FinalNearestNeighborInterpolator")

Definition at line 44 of file elxNearestNeighborResampleInterpolator.h.

+ Inheritance diagram for elastix::NearestNeighborResampleInterpolator< 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 Superclass2::RegistrationPointer RegistrationPointer
 
typedef Superclass2::RegistrationType RegistrationType
 
typedef NearestNeighborResampleInterpolator Self
 
typedef itk::NearestNeighborInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepTypeSuperclass1
 
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

 elxClassNameMacro ("FinalNearestNeighborInterpolator")
 
virtual const char * GetClassName () const
 
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass1::ImageDimension)
 
- 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

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

 NearestNeighborResampleInterpolator (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::NearestNeighborResampleInterpolator< TElastix >::ConfigurationPointer

Definition at line 87 of file elxNearestNeighborResampleInterpolator.h.

◆ ConfigurationType

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

Definition at line 86 of file elxNearestNeighborResampleInterpolator.h.

◆ ConstPointer

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

Definition at line 60 of file elxNearestNeighborResampleInterpolator.h.

◆ ContinuousIndexType

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

Definition at line 81 of file elxNearestNeighborResampleInterpolator.h.

◆ ElastixPointer

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

Definition at line 85 of file elxNearestNeighborResampleInterpolator.h.

◆ ElastixType

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

Typedef's from ResampleInterpolatorBase.

Definition at line 84 of file elxNearestNeighborResampleInterpolator.h.

◆ IndexType

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

Definition at line 80 of file elxNearestNeighborResampleInterpolator.h.

◆ InputImageType

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

Definition at line 79 of file elxNearestNeighborResampleInterpolator.h.

◆ ITKBaseType

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

Definition at line 90 of file elxNearestNeighborResampleInterpolator.h.

◆ OutputType

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

Typedef's inherited from the superclass.

Definition at line 78 of file elxNearestNeighborResampleInterpolator.h.

◆ Pointer

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

Definition at line 59 of file elxNearestNeighborResampleInterpolator.h.

◆ RegistrationPointer

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

Definition at line 89 of file elxNearestNeighborResampleInterpolator.h.

◆ RegistrationType

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

Definition at line 88 of file elxNearestNeighborResampleInterpolator.h.

◆ Self

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

Standard ITK-stuff.

Definition at line 54 of file elxNearestNeighborResampleInterpolator.h.

◆ Superclass1

template<class TElastix >
typedef itk::NearestNeighborInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType > elastix::NearestNeighborResampleInterpolator< TElastix >::Superclass1

Definition at line 57 of file elxNearestNeighborResampleInterpolator.h.

◆ Superclass2

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

Definition at line 58 of file elxNearestNeighborResampleInterpolator.h.

Constructor & Destructor Documentation

◆ NearestNeighborResampleInterpolator() [1/2]

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

The constructor.

Definition at line 95 of file elxNearestNeighborResampleInterpolator.h.

◆ ~NearestNeighborResampleInterpolator()

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

The destructor.

Definition at line 97 of file elxNearestNeighborResampleInterpolator.h.

◆ NearestNeighborResampleInterpolator() [2/2]

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

The private constructor.

Member Function Documentation

◆ elxClassNameMacro()

template<class TElastix >
elastix::NearestNeighborResampleInterpolator< TElastix >::elxClassNameMacro ( "FinalNearestNeighborInterpolator"  )

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

◆ GetClassName()

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

Run-time type information (and related methods).

Reimplemented from elastix::ResampleInterpolatorBase< TElastix >.

◆ itkStaticConstMacro()

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

Dimension of the image.

◆ New()

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

Method for creation through the object factory.

◆ operator=()

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

The private copy constructor.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo