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

#include <elxCUDAResampler.h>

Inheritance diagram for elastix::CUDAResampler< TElastix >:
Inheritance graph
[legend]
Collaboration diagram for elastix::CUDAResampler< TElastix >:
Collaboration graph
[legend]

Public Types

typedef
Superclass2::ConfigurationPointer 
ConfigurationPointer
 
typedef
Superclass2::ConfigurationType 
ConfigurationType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef Superclass2::ElastixPointer ElastixPointer
 
typedef Superclass2::ElastixType ElastixType
 
typedef Superclass1::IndexType IndexType
 
typedef
Superclass1::InputImagePointer 
InputImagePointer
 
typedef
Superclass1::InputImageRegionType 
InputImageRegionType
 
typedef Superclass1::InputImageType InputImageType
 
typedef
Superclass1::InterpolatorPointerType 
InterpolatePointerType
 
typedef
Superclass1::InterpolatorType 
InterpolatorType
 
typedef Superclass2::ITKBaseType ITKBaseType
 
typedef
Superclass1::OriginPointType 
OriginPointType
 
typedef
Superclass1::OutputImagePointer 
OutputImagePointer
 
typedef
Superclass1::OutputImageRegionType 
OutputImageRegionType
 
typedef
Superclass1::OutputImageType 
OutputImageType
 
typedef Superclass1::PixelType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass1::PointType PointType
 
typedef
Superclass2::RegistrationPointer 
RegistrationPointer
 
typedef
Superclass2::RegistrationType 
RegistrationType
 
typedef CUDAResampler Self
 
typedef Superclass1::SizeType SizeType
 
typedef Superclass1::SpacingType SpacingType
 
typedef
itk::itkCUDAResampleImageFilter
< typename ResamplerBase
< TElastix >::InputImageType,
typename ResamplerBase
< TElastix >::OutputImageType,
typename ResamplerBase
< TElastix >::CoordRepType
Superclass1
 
typedef ResamplerBase< TElastix > Superclass2
 
typedef
Superclass1::TransformPointerType 
TransformPointerType
 
typedef Superclass1::TransformType TransformType
 
typedef
Superclass1::ValidTransformPointer 
ValidTransformPointer
 
- Public Types inherited from itk::itkCUDAResampleImageFilter< ResamplerBase< TElastix >::InputImageType, ResamplerBase< TElastix >::OutputImageType, ResamplerBase< TElastix >::CoordRepType >
typedef SmartPointer< const SelfConstPointer
 
typedef
cuda::CUDAResampleImageFilter
< typename
InternalBSplineTransformType::ParametersValueType,
typename ResamplerBase
< TElastix >
::InputImageType::PixelType,
float
CudaResampleImageFilterType
 
typedef Superclass::DirectionType DirectionType
 
typedef Superclass::ImageBaseType ImageBaseType
 
typedef Superclass::IndexType IndexType
 
typedef
Superclass::InputImageConstPointer 
InputImageConstPointer
 
typedef
Superclass::InputImagePointer 
InputImagePointer
 
typedef
Superclass::InputImageRegionType 
InputImageRegionType
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::InputPixelType InputPixelType
 
typedef
AdvancedBSplineDeformableTransform
< ResamplerBase< TElastix >
::CoordRepType, 3, 3 > 
InternalAdvancedBSplineTransformType
 
typedef
BSplineDeformableTransform
< ResamplerBase< TElastix >
::CoordRepType, 3, 3 > 
InternalBSplineTransformType
 
typedef
AdvancedCombinationTransform
< ResamplerBase< TElastix >
::CoordRepType, 3 > 
InternalComboTransformType
 
typedef
Superclass::InterpolatorPointerType 
InterpolatorPointerType
 
typedef
Superclass::InterpolatorType 
InterpolatorType
 
typedef Superclass::OriginPointType OriginPointType
 
typedef
Superclass::OutputImagePointer 
OutputImagePointer
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::PointType PointType
 
typedef itkCUDAResampleImageFilter Self
 
typedef Superclass::SizeType SizeType
 
typedef Superclass::SpacingType SpacingType
 
typedef ResampleImageFilter
< ResamplerBase< TElastix >
::InputImageType,
ResamplerBase< TElastix >
::OutputImageType,
ResamplerBase< TElastix >
::CoordRepType > 
Superclass
 
typedef
Superclass::TransformPointerType 
TransformPointerType
 
typedef Superclass::TransformType TransformType
 
typedef
InternalAdvancedBSplineTransformType::ConstPointer 
ValidTransformConstPointer
 
typedef
InternalAdvancedBSplineTransformType::Pointer 
ValidTransformPointer
 
- Public Types inherited from elastix::ResamplerBase< TElastix >
typedef
Superclass::ConfigurationPointer 
ConfigurationPointer
 
typedef
Superclass::ConfigurationType 
ConfigurationType
 
typedef ElastixType::CoordRepType CoordRepType
 
typedef ITKBaseType::DirectionType DirectionType
 
typedef Superclass::ElastixPointer ElastixPointer
 
typedef Superclass::ElastixType ElastixType
 
typedef ITKBaseType::IndexType IndexType
 
typedef
ElastixType::MovingImageType 
InputImageType
 
typedef
ITKBaseType::InterpolatorType 
InterpolatorType
 
typedef
itk::ResampleImageFilter
< InputImageType,
OutputImageType, CoordRepType
ITKBaseType
 
typedef
ITKBaseType::OriginPointType 
OriginPointType
 
typedef
ElastixType::MovingImageType 
OutputImageType
 
typedef ITKBaseType::PixelType OutputPixelType
 
typedef
ElastixType::ParameterMapType 
ParameterMapType
 
typedef elx::ProgressCommand ProgressCommandType
 
typedef
Superclass::RegistrationPointer 
RegistrationPointer
 
typedef
Superclass::RegistrationType 
RegistrationType
 
typedef ResamplerBase Self
 
typedef ITKBaseType::SizeType SizeType
 
typedef ITKBaseType::SpacingType SpacingType
 
typedef BaseComponentSE< TElastix > Superclass
 
typedef ITKBaseType::TransformType TransformType
 
- Public Types inherited from elastix::BaseComponentSE< TElastix >
typedef
ElastixType::ConfigurationPointer 
ConfigurationPointer
 
typedef
ElastixType::ConfigurationType 
ConfigurationType
 
typedef ElastixType::Pointer ElastixPointer
 
typedef TElastix ElastixType
 
typedef RegistrationTypeRegistrationPointer
 
typedef
ElastixType::RegistrationBaseType 
RegistrationType
 
typedef BaseComponentSE Self
 
typedef BaseComponent Superclass
 

Public Member Functions

virtual int BeforeAll (void)
 
virtual void BeforeRegistration (void)
 
 elxClassNameMacro ("CUDAResampler")
 
virtual const char * GetClassName () const
 
virtual void ReadFromFile (void)
 
virtual void WriteToFile (void) const
 
- Public Member Functions inherited from itk::itkCUDAResampleImageFilter< ResamplerBase< TElastix >::InputImageType, ResamplerBase< TElastix >::OutputImageType, ResamplerBase< TElastix >::CoordRepType >
virtual void GenerateData (void)
 
virtual bool GetUseCuda () const
 
virtual bool GetUseFastCUDAKernel () const
 
virtual bool GetUseGPUToCastData () const
 
virtual const WarningReportType & GetWarningReport (void) const
 
virtual void SetUseCuda (bool _arg)
 
virtual void SetUseFastCUDAKernel (bool _arg)
 
virtual void SetUseGPUToCastData (bool _arg)
 
virtual void UseCudaOff ()
 
virtual void UseCudaOn ()
 
virtual void UseFastCUDAKernelOff ()
 
virtual void UseFastCUDAKernelOn ()
 
virtual void UseGPUToCastDataOff ()
 
virtual void UseGPUToCastDataOn ()
 
- Public Member Functions inherited from elastix::ResamplerBase< TElastix >
virtual void AfterEachIterationBase (void)
 
virtual void AfterEachResolutionBase (void)
 
virtual void AfterRegistrationBase (void)
 
virtual int BeforeAllTransformix (void)
 
virtual void BeforeRegistrationBase (void)
 
virtual void CreateItkResultImage (void)
 
virtual void CreateTransformParametersMap (ParameterMapType *paramsMap) const
 
virtual ITKBaseTypeGetAsITKBaseType (void)
 
virtual const ITKBaseTypeGetAsITKBaseType (void) const
 
 itkStaticConstMacro (ImageDimension, unsigned int, OutputImageType::ImageDimension)
 
virtual void WriteResultImage (const char *filename, const bool &showProgress=true)
 
- Public Member Functions inherited from elastix::BaseComponentSE< TElastix >
virtual ConfigurationTypeGetConfiguration (void) const
 
virtual ElastixTypeGetElastix (void) const
 
virtual RegistrationPointer GetRegistration (void) const
 
virtual void SetConfiguration (ConfigurationType *_arg)
 
virtual void SetElastix (ElastixType *_arg)
 
- Public Member Functions inherited from elastix::BaseComponent
virtual void AfterEachIteration (void)
 
virtual void AfterEachResolution (void)
 
virtual void AfterRegistration (void)
 
virtual int BeforeAllBase (void)
 
virtual void BeforeEachResolution (void)
 
virtual void BeforeEachResolutionBase (void)
 
virtual const char * elxGetClassName (void) const
 
virtual const char * GetComponentLabel (void) const
 
virtual void SetComponentLabel (const char *label, unsigned int idx)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::itkCUDAResampleImageFilter< ResamplerBase< TElastix >::InputImageType, ResamplerBase< TElastix >::OutputImageType, ResamplerBase< TElastix >::CoordRepType >
static Pointer New ()
 

Protected Member Functions

virtual void CheckForValidConfiguration (ValidTransformPointer &bSplineTransform)
 
 CUDAResampler ()
 
virtual ~CUDAResampler ()
 
- Protected Member Functions inherited from itk::itkCUDAResampleImageFilter< ResamplerBase< TElastix >::InputImageType, ResamplerBase< TElastix >::OutputImageType, ResamplerBase< TElastix >::CoordRepType >
 itkCUDAResampleImageFilter ()
 
 ~itkCUDAResampleImageFilter ()
 
- Protected Member Functions inherited from elastix::ResamplerBase< TElastix >
 ResamplerBase ()
 
virtual void SetComponents (void)
 
virtual ~ResamplerBase ()
 
- Protected Member Functions inherited from elastix::BaseComponentSE< TElastix >
 BaseComponentSE ()
 
virtual ~BaseComponentSE ()
 
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()
 
virtual ~BaseComponent ()
 

Private Member Functions

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

Detailed Description

template<class TElastix>
class elastix::CUDAResampler< TElastix >

A resampler based on the itk::CUDAResampleImageFilter.

Warning
The implementation is currently very limited: only a single third order B-spline transform is supported for 3D images together with third order B-spline interpolation.

The parameters used in this class are:

Parameters:
Resampler: Select this resampler as follows:
(Resampler "CUDAResampler")

Definition at line 39 of file elxCUDAResampler.h.

Member Typedef Documentation

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

Definition at line 93 of file elxCUDAResampler.h.

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

Definition at line 92 of file elxCUDAResampler.h.

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

Definition at line 56 of file elxCUDAResampler.h.

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

Definition at line 91 of file elxCUDAResampler.h.

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

Typedef's from the ResamplerBase.

Definition at line 90 of file elxCUDAResampler.h.

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

Definition at line 81 of file elxCUDAResampler.h.

template<class TElastix >
typedef Superclass1::InputImagePointer elastix::CUDAResampler< TElastix >::InputImagePointer

Definition at line 73 of file elxCUDAResampler.h.

template<class TElastix >
typedef Superclass1::InputImageRegionType elastix::CUDAResampler< TElastix >::InputImageRegionType

Definition at line 75 of file elxCUDAResampler.h.

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

Typedef's inherited from the superclass.

Definition at line 71 of file elxCUDAResampler.h.

Definition at line 79 of file elxCUDAResampler.h.

template<class TElastix >
typedef Superclass1::InterpolatorType elastix::CUDAResampler< TElastix >::InterpolatorType

Definition at line 78 of file elxCUDAResampler.h.

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

Definition at line 96 of file elxCUDAResampler.h.

template<class TElastix >
typedef Superclass1::OriginPointType elastix::CUDAResampler< TElastix >::OriginPointType

Definition at line 86 of file elxCUDAResampler.h.

template<class TElastix >
typedef Superclass1::OutputImagePointer elastix::CUDAResampler< TElastix >::OutputImagePointer

Definition at line 74 of file elxCUDAResampler.h.

Definition at line 84 of file elxCUDAResampler.h.

template<class TElastix >
typedef Superclass1::OutputImageType elastix::CUDAResampler< TElastix >::OutputImageType

Definition at line 72 of file elxCUDAResampler.h.

template<class TElastix >
typedef Superclass1::PixelType elastix::CUDAResampler< TElastix >::PixelType

Definition at line 83 of file elxCUDAResampler.h.

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

Definition at line 55 of file elxCUDAResampler.h.

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

Definition at line 82 of file elxCUDAResampler.h.

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

Definition at line 95 of file elxCUDAResampler.h.

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

Definition at line 94 of file elxCUDAResampler.h.

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

Standard ITK-stuff.

Definition at line 49 of file elxCUDAResampler.h.

template<class TElastix >
typedef Superclass1::SizeType elastix::CUDAResampler< TElastix >::SizeType

Definition at line 80 of file elxCUDAResampler.h.

template<class TElastix >
typedef Superclass1::SpacingType elastix::CUDAResampler< TElastix >::SpacingType

Definition at line 85 of file elxCUDAResampler.h.

template<class TElastix >
typedef itk::itkCUDAResampleImageFilter< typename ResamplerBase< TElastix >::InputImageType, typename ResamplerBase< TElastix >::OutputImageType, typename ResamplerBase< TElastix >::CoordRepType > elastix::CUDAResampler< TElastix >::Superclass1

Definition at line 53 of file elxCUDAResampler.h.

template<class TElastix >
typedef ResamplerBase< TElastix > elastix::CUDAResampler< TElastix >::Superclass2

Definition at line 54 of file elxCUDAResampler.h.

template<class TElastix >
typedef Superclass1::TransformPointerType elastix::CUDAResampler< TElastix >::TransformPointerType

Definition at line 77 of file elxCUDAResampler.h.

template<class TElastix >
typedef Superclass1::TransformType elastix::CUDAResampler< TElastix >::TransformType

Definition at line 76 of file elxCUDAResampler.h.

Definition at line 87 of file elxCUDAResampler.h.

Constructor & Destructor Documentation

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

The constructor.

Definition at line 112 of file elxCUDAResampler.h.

template<class TElastix >
virtual elastix::CUDAResampler< TElastix >::~CUDAResampler ( )
inlineprotectedvirtual

The destructor.

Definition at line 114 of file elxCUDAResampler.h.

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

The private constructor.

Member Function Documentation

template<class TElastix >
virtual int elastix::CUDAResampler< TElastix >::BeforeAll ( void  )
virtual

Reimplemented from elastix::BaseComponent.

template<class TElastix >
virtual void elastix::CUDAResampler< TElastix >::BeforeRegistration ( void  )
virtual

Reimplemented from elastix::BaseComponent.

template<class TElastix >
virtual void elastix::CUDAResampler< TElastix >::CheckForValidConfiguration ( ValidTransformPointer bSplineTransform)
protectedvirtual

Overwrite from itkCUDAResampleImageFilter. We simply call the Superclass and print the warning messages to elxout.

Reimplemented from itk::itkCUDAResampleImageFilter< ResamplerBase< TElastix >::InputImageType, ResamplerBase< TElastix >::OutputImageType, ResamplerBase< TElastix >::CoordRepType >.

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

Name of this class. Use this name in the parameter file to select this specific resampler.
example: (Resampler "CUDAResampler")

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

Run-time type information (and related methods).

Reimplemented from elastix::ResamplerBase< TElastix >.

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

Method for creation through the object factory.

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

The private copy constructor.

template<class TElastix >
virtual void elastix::CUDAResampler< TElastix >::ReadFromFile ( void  )
virtual

Function to read parameters from a file.

Reimplemented from elastix::ResamplerBase< TElastix >.

template<class TElastix >
virtual void elastix::CUDAResampler< TElastix >::WriteToFile ( void  ) const
virtual

Function to write parameters to a file.

Reimplemented from elastix::ResamplerBase< TElastix >.



Generated on 11-03-2014 for elastix by doxygen 1.8.6 elastix logo