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 | Private Attributes
itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType > Class Template Reference

Resample an image on the GPU via a coordinate transform. More...

#include <itkCUDAResampleImageFilter.h>

Inheritance diagram for itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >:
Inheritance graph
[legend]
Collaboration diagram for itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >:
Collaboration graph
[legend]

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
cuda::CUDAResampleImageFilter
< typename
InternalBSplineTransformType::ParametersValueType,
typename
TInputImage::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
< TInterpolatorPrecisionType, 3, 3 > 
InternalAdvancedBSplineTransformType
typedef
BSplineDeformableTransform
< TInterpolatorPrecisionType, 3, 3 > 
InternalBSplineTransformType
typedef
AdvancedCombinationTransform
< TInterpolatorPrecisionType, 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
< TInputImage, TOutputImage,
TInterpolatorPrecisionType > 
Superclass
typedef
Superclass::TransformPointerType 
TransformPointerType
typedef Superclass::TransformType TransformType
typedef
InternalAdvancedBSplineTransformType::Pointer 
ValidTransformPointer

Public Member Functions

virtual void GenerateData (void)
virtual const char * GetClassName () const
virtual bool GetUseCuda () const
virtual bool GetUseGPUToCastData () const
virtual void SetUseCuda (bool _arg)
virtual void SetUseGPUToCastData (bool _arg)
virtual void UseCudaOff ()
virtual void UseCudaOn ()
virtual void UseGPUToCastDataOff ()
virtual void UseGPUToCastDataOn ()

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 itkCUDAResampleImageFilter ()
 ~itkCUDAResampleImageFilter ()

Private Member Functions

bool CheckForValidTransform (ValidTransformPointer &bSplineTransform) const
void CopyParameters (ValidTransformPointer bSplineTransform)

Private Attributes

CudaResampleImageFilterType m_CudaResampleImageFilter
bool m_UseCuda
bool m_UseGPUToCastData

Detailed Description

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
class itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >

Resample an image on the GPU via a coordinate transform.

This class is an ITK wrap around a pure CUDA resampling class.

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.

Definition at line 40 of file itkCUDAResampleImageFilter.h.


Member Typedef Documentation

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef SmartPointer<const Self> itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::ConstPointer

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 49 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef cuda::CUDAResampleImageFilter< typename InternalBSplineTransformType::ParametersValueType, typename TInputImage::PixelType, float > itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::CudaResampleImageFilterType

Definition at line 91 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::DirectionType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::DirectionType

Definition at line 78 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::ImageBaseType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::ImageBaseType

Definition at line 79 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::IndexType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::IndexType

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 71 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::InputImageConstPointer itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InputImageConstPointer

Definition at line 61 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::InputImagePointer itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InputImagePointer

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 60 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::InputImageRegionType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InputImageRegionType

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 63 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::InputImageType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InputImageType

Typedefs from Superclass.

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 55 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::InputPixelType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InputPixelType

Definition at line 74 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef AdvancedBSplineDeformableTransform< TInterpolatorPrecisionType, 3, 3 > itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InternalAdvancedBSplineTransformType

Definition at line 85 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef BSplineDeformableTransform< TInterpolatorPrecisionType, 3, 3 > itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InternalBSplineTransformType

Definition at line 88 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef AdvancedCombinationTransform< TInterpolatorPrecisionType, 3 > itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InternalComboTransformType

Typedefs.

Definition at line 83 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::InterpolatorPointerType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InterpolatorPointerType

Definition at line 68 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::InterpolatorType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InterpolatorType

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 67 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::OriginPointType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::OriginPointType

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 77 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::OutputImagePointer itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::OutputImagePointer

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 62 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::OutputImageRegionType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::OutputImageRegionType

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 75 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::OutputImageType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::OutputImageType

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 59 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::PixelType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::PixelType

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 73 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef SmartPointer<Self> itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::Pointer

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 48 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::PointType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::PointType

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 72 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef itkCUDAResampleImageFilter itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::Self

Standard class typedefs.

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 45 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::SizeType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::SizeType

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 70 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::SpacingType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::SpacingType

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 76 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef ResampleImageFilter< TInputImage,TOutputImage,TInterpolatorPrecisionType> itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::Superclass

Definition at line 47 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::TransformPointerType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::TransformPointerType

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 66 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef Superclass::TransformType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::TransformType

Reimplemented in elastix::CUDAResampler< TElastix >.

Definition at line 65 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
typedef InternalAdvancedBSplineTransformType::Pointer itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::ValidTransformPointer

Definition at line 86 of file itkCUDAResampleImageFilter.h.


Constructor & Destructor Documentation

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::itkCUDAResampleImageFilter ( ) [protected]
template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::~itkCUDAResampleImageFilter ( ) [protected]

Member Function Documentation

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
bool itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::CheckForValidTransform ( ValidTransformPointer bSplineTransform) const [private]

Helper function to check for a valid transform. Currently, only GPU resampling of 3D images for 3-rd order B-splines is supported, and only for one transform, so no concatenations.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
void itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::CopyParameters ( ValidTransformPointer  bSplineTransform) [private]

Helper function to copy data.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
virtual void itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::GenerateData ( void  ) [virtual]

Implements GPU resampling.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
virtual const char* itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::GetClassName ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented in elastix::CUDAResampler< TElastix >.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
virtual bool itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::GetUseCuda ( ) const [virtual]
template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
virtual bool itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::GetUseGPUToCastData ( ) const [virtual]
template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
static Pointer itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::New ( ) [static]

Method for creation through the object factory.

Reimplemented in elastix::CUDAResampler< TElastix >.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
virtual void itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::SetUseCuda ( bool  _arg) [virtual]

Set whether to use the GPU.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
virtual void itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::SetUseGPUToCastData ( bool  _arg) [virtual]

Set whether to use the GPU for casting (or the CPU).

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
virtual void itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::UseCudaOff ( ) [virtual]
template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
virtual void itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::UseCudaOn ( ) [virtual]
template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
virtual void itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::UseGPUToCastDataOff ( ) [virtual]
template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
virtual void itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::UseGPUToCastDataOn ( ) [virtual]

Field Documentation

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
CudaResampleImageFilterType itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::m_CudaResampleImageFilter [private]

Definition at line 115 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
bool itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::m_UseCuda [private]

Private members.

Definition at line 113 of file itkCUDAResampleImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TInterpolatorPrecisionType = float>
bool itk::itkCUDAResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::m_UseGPUToCastData [private]

Definition at line 114 of file itkCUDAResampleImageFilter.h.



Generated on 11-05-2011 for elastix by doxygen 1.7.4 elastix logo