go home Home | Main Page | Topics | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Loading...
Searching...
No Matches
elastix::NearestNeighborInterpolator< TElastix > Class Template Reference

#include <elxNearestNeighborInterpolator.h>

Detailed Description

template<typename TElastix>
class elastix::NearestNeighborInterpolator< TElastix >

An interpolator based on the itkNearestNeighborInterpolateImageFunction.

This interpolator interpolates images using nearest neighbour interpolation. The image derivatives are computed using a central difference scheme.

The parameters used in this class are:

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

Definition at line 42 of file elxNearestNeighborInterpolator.h.

Inheritance diagram for elastix::NearestNeighborInterpolator< TElastix >:

Public Types

using ConstPointer = itk::SmartPointer<const Self>
using ITKBaseType = typename Superclass2::ITKBaseType
using Pointer = itk::SmartPointer<Self>
using Self = NearestNeighborInterpolator
using Superclass1
using Superclass2 = InterpolatorBase<TElastix>
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

 elxClassNameMacro ("NearestNeighborInterpolator")
 ITK_DISALLOW_COPY_AND_MOVE (NearestNeighborInterpolator)
 itkOverrideGetNameOfClassMacro (NearestNeighborInterpolator)
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass1::ImageDimension)
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 BeforeEachResolution ()
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 elastix::BaseComponent
template<typename TBaseComponent>
static auto AsITKBaseType (TBaseComponent *const baseComponent) -> decltype(baseComponent->GetAsITKBaseType())
static void InitializeElastixExecutable ()
static bool IsElastixLibrary ()

Protected Member Functions

 NearestNeighborInterpolator ()=default
 ~NearestNeighborInterpolator () 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 elastix::BaseComponentSE< TElastix >
Configuration::ConstPointer m_Configuration {}
itk::WeakPointer< TElastix > m_Elastix {}
RegistrationTypem_Registration {}

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 56 of file elxNearestNeighborInterpolator.h.

◆ ITKBaseType

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

Definition at line 83 of file elxNearestNeighborInterpolator.h.

◆ Pointer

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

Definition at line 55 of file elxNearestNeighborInterpolator.h.

◆ Self

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

Standard ITK-stuff.

Definition at line 51 of file elxNearestNeighborInterpolator.h.

◆ Superclass1

template<typename TElastix>
using elastix::NearestNeighborInterpolator< TElastix >::Superclass1
Initial value:
itk::NearestNeighborInterpolateImageFunction<typename InterpolatorBase<TElastix>::InputImageType,
ElastixBase::CoordinateType CoordinateType

Definition at line 52 of file elxNearestNeighborInterpolator.h.

◆ Superclass2

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

Definition at line 54 of file elxNearestNeighborInterpolator.h.

Constructor & Destructor Documentation

◆ NearestNeighborInterpolator()

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

The constructor.

◆ ~NearestNeighborInterpolator()

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

The destructor.

Member Function Documentation

◆ elxClassNameMacro()

template<typename TElastix>
elastix::NearestNeighborInterpolator< TElastix >::elxClassNameMacro ( "NearestNeighborInterpolator< TElastix >" )

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

◆ ITK_DISALLOW_COPY_AND_MOVE()

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

◆ itkOverrideGetNameOfClassMacro()

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

Run-time type information (and related methods).

◆ itkStaticConstMacro()

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

Get the ImageDimension.

◆ New()

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

Method for creation through the object factory.

Member Data Documentation

◆ elxOverrideGetSelfMacro

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

Definition at line 92 of file elxNearestNeighborInterpolator.h.



Generated on 1774142652 for elastix by doxygen 1.15.0 elastix logo