#include <elxNearestNeighborResampleInterpolator.h>
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:
(ResampleInterpolator "FinalNearestNeighborInterpolator")
Definition at line 44 of file elxNearestNeighborResampleInterpolator.h.
Public Types | |
using | ConstPointer = itk::SmartPointer<const Self> |
using | ITKBaseType = typename Superclass2::ITKBaseType |
using | Pointer = itk::SmartPointer<Self> |
using | Self = NearestNeighborResampleInterpolator |
using | Superclass1 |
using | Superclass2 = ResampleInterpolatorBase<TElastix> |
![]() | |
using | CoordRepType = ElastixBase::CoordRepType |
using | ElastixType |
using | InputImageType = typename ElastixType::MovingImageType |
using | ITKBaseType = itk::InterpolateImageFunction<InputImageType, CoordRepType> |
using | ParameterMapType = typename ElastixType::ParameterMapType |
using | RegistrationType |
using | Self = ResampleInterpolatorBase |
using | Superclass = BaseComponentSE<TElastix> |
![]() | |
using | ElastixType = TElastix |
using | RegistrationType = typename ElastixType::RegistrationBaseType |
using | Self = BaseComponentSE |
using | Superclass = BaseComponent |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
template<typename TBaseComponent > | |
static auto | AsITKBaseType (TBaseComponent *const baseComponent) -> decltype(baseComponent->GetAsITKBaseType()) |
static void | InitializeElastixExecutable () |
static bool | IsElastixLibrary () |
Protected Member Functions | |
NearestNeighborResampleInterpolator ()=default | |
~NearestNeighborResampleInterpolator () override=default | |
![]() | |
ResampleInterpolatorBase ()=default | |
~ResampleInterpolatorBase () override=default | |
![]() | |
BaseComponentSE ()=default | |
~BaseComponentSE () override=default | |
![]() | |
BaseComponent ()=default | |
virtual | ~BaseComponent ()=default |
Private Attributes | |
elxOverrideGetSelfMacro | |
Additional Inherited Members | |
![]() | |
Configuration::ConstPointer | m_Configuration {} |
itk::WeakPointer< TElastix > | m_Elastix {} |
RegistrationType * | m_Registration {} |
using elastix::NearestNeighborResampleInterpolator< TElastix >::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 59 of file elxNearestNeighborResampleInterpolator.h.
using elastix::NearestNeighborResampleInterpolator< TElastix >::ITKBaseType = typename Superclass2::ITKBaseType |
Definition at line 85 of file elxNearestNeighborResampleInterpolator.h.
using elastix::NearestNeighborResampleInterpolator< TElastix >::Pointer = itk::SmartPointer<Self> |
Definition at line 58 of file elxNearestNeighborResampleInterpolator.h.
using elastix::NearestNeighborResampleInterpolator< TElastix >::Self = NearestNeighborResampleInterpolator |
Standard ITK-stuff.
Definition at line 53 of file elxNearestNeighborResampleInterpolator.h.
using elastix::NearestNeighborResampleInterpolator< TElastix >::Superclass1 |
Definition at line 54 of file elxNearestNeighborResampleInterpolator.h.
using elastix::NearestNeighborResampleInterpolator< TElastix >::Superclass2 = ResampleInterpolatorBase<TElastix> |
Definition at line 57 of file elxNearestNeighborResampleInterpolator.h.
|
protecteddefault |
The constructor.
|
overrideprotecteddefault |
The destructor.
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")
|
virtual |
Run-time type information (and related methods).
Reimplemented from elastix::ResampleInterpolatorBase< TElastix >.
elastix::NearestNeighborResampleInterpolator< TElastix >::ITK_DISALLOW_COPY_AND_MOVE | ( | NearestNeighborResampleInterpolator< TElastix > | ) |
elastix::NearestNeighborResampleInterpolator< TElastix >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned int | , | ||
Superclass1::ImageDimension | ) |
Dimension of the image.
|
static |
Method for creation through the object factory.
|
private |
Definition at line 94 of file elxNearestNeighborResampleInterpolator.h.
Generated on 2024-07-17
for elastix by ![]() |
![]() |