#include <elxResamplerBase.h>
Definition at line 77 of file elxResamplerBase.h.
Public Types | |
using | CoordRepType = ElastixBase::CoordRepType |
using | DirectionType = typename ITKBaseType::DirectionType |
using | ElastixType |
using | IndexType = typename ITKBaseType::IndexType |
using | InputImageType = typename ElastixType::MovingImageType |
using | InterpolatorType = typename ITKBaseType::InterpolatorType |
using | ITKBaseType = itk::ResampleImageFilter<InputImageType, OutputImageType, CoordRepType> |
using | OriginPointType = typename ITKBaseType::OriginPointType |
using | OutputImageType = typename ElastixType::MovingImageType |
using | OutputPixelType = typename ITKBaseType::PixelType |
using | ParameterMapType = typename ElastixType::ParameterMapType |
using | RegistrationType |
using | Self = ResamplerBase |
using | SizeType = typename ITKBaseType::SizeType |
using | SpacingType = typename ITKBaseType::SpacingType |
using | Superclass = BaseComponentSE<TElastix> |
using | TransformType = typename ITKBaseType::TransformType |
Public Types inherited from elastix::BaseComponentSE< TElastix > | |
using | ElastixType = TElastix |
using | RegistrationType = typename ElastixType::RegistrationBaseType |
using | Self = BaseComponentSE |
using | Superclass = BaseComponent |
Protected Member Functions | |
ResamplerBase ()=default | |
virtual void | SetComponents () |
~ResamplerBase () 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 Member Functions | |
template<typename TResultPixel > | |
itk::SmartPointer< itk::ImageBase< ImageDimension > > | CastImage (const InputImageType *const inputImage) const |
virtual ParameterMapType | CreateDerivedTransformParameterMap () const |
elxDeclarePureVirtualGetSelfMacro (ITKBaseType) | |
void | ReleaseMemory () |
void | WriteResultImage (OutputImageType *imageimage, const std::string &filename, const bool showProgress) |
Additional Inherited Members | |
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 Attributes inherited from elastix::BaseComponentSE< TElastix > | |
Configuration::ConstPointer | m_Configuration {} |
itk::WeakPointer< TElastix > | m_Elastix {} |
RegistrationType * | m_Registration {} |
using elastix::ResamplerBase< TElastix >::CoordRepType = ElastixBase::CoordRepType |
Definition at line 98 of file elxResamplerBase.h.
using elastix::ResamplerBase< TElastix >::DirectionType = typename ITKBaseType::DirectionType |
Definition at line 109 of file elxResamplerBase.h.
using elastix::BaseComponentSE< TElastix >::ElastixType |
Elastix typedef.
Definition at line 57 of file elxBaseComponentSE.h.
using elastix::ResamplerBase< TElastix >::IndexType = typename ITKBaseType::IndexType |
Definition at line 107 of file elxResamplerBase.h.
using elastix::ResamplerBase< TElastix >::InputImageType = typename ElastixType::MovingImageType |
Typedef's from elastix. NB: it is assumed that fixed and moving image dimension are equal!
Definition at line 95 of file elxResamplerBase.h.
using elastix::ResamplerBase< TElastix >::InterpolatorType = typename ITKBaseType::InterpolatorType |
Definition at line 105 of file elxResamplerBase.h.
using elastix::ResamplerBase< TElastix >::ITKBaseType = itk::ResampleImageFilter<InputImageType, OutputImageType, CoordRepType> |
Other typedef's.
Definition at line 101 of file elxResamplerBase.h.
using elastix::ResamplerBase< TElastix >::OriginPointType = typename ITKBaseType::OriginPointType |
Definition at line 110 of file elxResamplerBase.h.
using elastix::ResamplerBase< TElastix >::OutputImageType = typename ElastixType::MovingImageType |
Definition at line 96 of file elxResamplerBase.h.
using elastix::ResamplerBase< TElastix >::OutputPixelType = typename ITKBaseType::PixelType |
Definition at line 111 of file elxResamplerBase.h.
using elastix::ResamplerBase< TElastix >::ParameterMapType = typename ElastixType::ParameterMapType |
Typedef that is used in the elastix dll version.
Definition at line 114 of file elxResamplerBase.h.
using elastix::BaseComponentSE< TElastix >::RegistrationType |
RegistrationType; NB: this is the elx::RegistrationBase not an itk::Object or something like that.
Definition at line 62 of file elxBaseComponentSE.h.
using elastix::ResamplerBase< TElastix >::Self = ResamplerBase |
Standard ITK stuff.
Definition at line 83 of file elxResamplerBase.h.
using elastix::ResamplerBase< TElastix >::SizeType = typename ITKBaseType::SizeType |
Definition at line 106 of file elxResamplerBase.h.
using elastix::ResamplerBase< TElastix >::SpacingType = typename ITKBaseType::SpacingType |
Definition at line 108 of file elxResamplerBase.h.
using elastix::ResamplerBase< TElastix >::Superclass = BaseComponentSE<TElastix> |
Definition at line 84 of file elxResamplerBase.h.
using elastix::ResamplerBase< TElastix >::TransformType = typename ITKBaseType::TransformType |
Typedef's from ResampleImageFiler.
Definition at line 104 of file elxResamplerBase.h.
|
protecteddefault |
The constructor.
|
overrideprotecteddefault |
The destructor.
|
overridevirtual |
Execute stuff after each iteration:
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Execute stuff after each resolution:
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Execute stuff after the registration:
Reimplemented from elastix::BaseComponent.
|
inlinevirtual |
Execute stuff before the actual transformation:
Definition at line 139 of file elxResamplerBase.h.
|
overridevirtual |
Execute stuff before the actual registration:
Reimplemented from elastix::BaseComponent.
|
inlineprivate |
Casts the specified input image to the image type with the specified pixel type.
Definition at line 221 of file elxResamplerBase.h.
|
inlineprivatevirtual |
Reimplemented in elastix::OpenCLResampler< TElastix >.
Definition at line 205 of file elxResamplerBase.h.
|
virtual |
Function to create the result image in the format of an itk::Image.
void elastix::ResamplerBase< TElastix >::CreateTransformParameterMap | ( | ParameterMapType & | parameterMap | ) | const |
Function to create transform-parameters map.
|
private |
|
inline |
Retrieves this object as ITKBaseType.
Definition at line 121 of file elxResamplerBase.h.
|
inline |
Retrieves this object as ITKBaseType, to use in const functions.
Definition at line 129 of file elxResamplerBase.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented in elastix::DefaultResampler< TElastix >, and elastix::OpenCLResampler< TElastix >.
elastix::ResamplerBase< TElastix >::ITK_DISALLOW_COPY_AND_MOVE | ( | ResamplerBase< TElastix > | ) |
elastix::ResamplerBase< TElastix >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned int | , | ||
OutputImageType::ImageDimension | ) |
Get the ImageDimension.
|
virtual |
Function to read transform-parameters from a file.
Reimplemented in elastix::OpenCLResampler< TElastix >.
|
private |
Release memory.
void elastix::ResamplerBase< TElastix >::ResampleAndWriteResultImage | ( | const std::string & | filename, |
const bool | showProgress ) |
Function to perform resample and write the result output image to a file.
|
protectedvirtual |
Method that sets the transform, the interpolator and the inputImage.
|
private |
Function to write the result output image to a file.
void elastix::ResamplerBase< TElastix >::WriteToFile | ( | std::ostream & | transformationParameterInfo | ) | const |
Function to write transform-parameters to a file.
Generated on 2024-07-17 for elastix by 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) |