ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField > Class Template Reference

#include <itkGPUPDEDeformableRegistrationFunction.h>

+ Inheritance diagram for itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >:
+ Collaboration diagram for itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >:

Detailed Description

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
class itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >

This is an abstract base class for all PDE functions which drives a deformable registration algorithm. It is used by PDEDeformationRegistrationFilter subclasses to compute the output deformation field which will map a moving image onto a fixed image.

This class is templated over the fixed image type, moving image type and the deformation field type.

See Also
PDEDeformableRegistrationFilter

Definition at line 41 of file itkGPUPDEDeformableRegistrationFunction.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef TDisplacementField DisplacementFieldType
 
typedef
DisplacementFieldType::Pointer 
DisplacementFieldTypePointer
 
typedef
FixedImageType::ConstPointer 
FixedImagePointer
 
typedef TFixedImage FixedImageType
 
typedef
MovingImageType::ConstPointer 
MovingImagePointer
 
typedef TMovingImage MovingImageType
 
typedef SmartPointer< SelfPointer
 
typedef
GPUPDEDeformableRegistrationFunction 
Self
 
typedef
GPUFiniteDifferenceFunction
< TDisplacementField > 
Superclass
 
- Public Types inherited from itk::GPUFiniteDifferenceFunction< TDisplacementField >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DefaultBoundaryConditionType 
DefaultBoundaryConditionType
 
typedef Superclass DifferenceFunctionType
 
typedef Superclass::FloatOffsetType FloatOffsetType
 
typedef Superclass::ImageType ImageType
 
typedef
Superclass::NeighborhoodType 
NeighborhoodType
 
typedef Superclass::PixelRealType PixelRealType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RadiusType RadiusType
 
typedef GPUFiniteDifferenceFunction Self
 
typedef
FiniteDifferenceFunction
< TDisplacementField > 
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
- Public Types inherited from itk::FiniteDifferenceFunction< TDisplacementField >
typedef SmartPointer< const SelfConstPointer
 
typedef
ZeroFluxNeumannBoundaryCondition
< ImageType
DefaultBoundaryConditionType
 
typedef Vector< float,
itkGetStaticConstMacro(ImageDimension) > 
FloatOffsetType
 
typedef TDisplacementField ImageType
 
typedef Vector< PixelRealType,
itkGetStaticConstMacro(ImageDimension) > 
NeighborhoodScalesType
 
typedef
ConstNeighborhoodIterator
< TDisplacementField,
DefaultBoundaryConditionType
NeighborhoodType
 
typedef double PixelRealType
 
typedef ImageType::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef
ConstNeighborhoodIterator
< TDisplacementField >
::RadiusType 
RadiusType
 
typedef FiniteDifferenceFunction Self
 
typedef LightObject Superclass
 
typedef double TimeStepType
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

DisplacementFieldTypeGetDisplacementField (void)
 
double GetEnergy () const
 
const FixedImageTypeGetFixedImage (void) const
 
double GetGradientStep () const
 
const MovingImageTypeGetMovingImage (void) const
 
virtual const char * GetNameOfClass () const
 
bool GetNormalizeGradient () const
 
void SetDisplacementField (DisplacementFieldTypePointer ptr)
 
void SetEnergy (double e)
 
void SetFixedImage (const FixedImageType *ptr)
 
void SetGradientStep (double e)
 
void SetMovingImage (const MovingImageType *ptr)
 
void SetNormalizeGradient (bool e)
 
- Public Member Functions inherited from itk::GPUFiniteDifferenceFunction< TDisplacementField >
virtual void GPUAllocateMetricData (unsigned int)
 
virtual void GPUComputeUpdate (const typename TDisplacementField::Pointer output, typename TDisplacementField::Pointer update, void *gd)=0
 
virtual void GPUReleaseMetricData ()
 
virtual PixelType ComputeUpdate (const NeighborhoodType &, void *, const FloatOffsetType &) override
 
- Public Member Functions inherited from itk::FiniteDifferenceFunction< TDisplacementField >
virtual TimeStepType ComputeGlobalTimeStep (void *GlobalData) const =0
 
const NeighborhoodScalesType ComputeNeighborhoodScales () const
 
virtual void * GetGlobalDataPointer () const =0
 
const RadiusTypeGetRadius () const
 
void GetScaleCoefficients (PixelRealType vals[ImageDimension]) const
 
virtual void InitializeIteration ()
 
virtual void ReleaseGlobalDataPointer (void *GlobalData) const =0
 
void SetRadius (const RadiusType &r)
 
void SetScaleCoefficients (PixelRealType vals[ImageDimension])
 
- Public Member Functions inherited from itk::LightObject
virtual Pointer CreateAnother () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

Protected Member Functions

 GPUPDEDeformableRegistrationFunction ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~GPUPDEDeformableRegistrationFunction () override
 
- Protected Member Functions inherited from itk::GPUFiniteDifferenceFunction< TDisplacementField >
 GPUFiniteDifferenceFunction ()
 
 ~GPUFiniteDifferenceFunction () override
 
- Protected Member Functions inherited from itk::FiniteDifferenceFunction< TDisplacementField >
 FiniteDifferenceFunction ()
 
 ~FiniteDifferenceFunction () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

DisplacementFieldTypePointer m_DisplacementField
 
double m_Energy
 
FixedImagePointer m_FixedImage
 
double m_GradientStep
 
MovingImagePointer m_MovingImage
 
bool m_NormalizeGradient
 
- Protected Attributes inherited from itk::GPUFiniteDifferenceFunction< TDisplacementField >
int m_ComputeUpdateGPUKernelHandle
 
GPUKernelManager::Pointer m_GPUKernelManager
 
- Protected Attributes inherited from itk::FiniteDifferenceFunction< TDisplacementField >
RadiusType m_Radius
 
PixelRealType m_ScaleCoefficients [ImageDimension]
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
- Static Public Attributes inherited from itk::GPUFiniteDifferenceFunction< TDisplacementField >
static const unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::FiniteDifferenceFunction< TDisplacementField >
static const unsigned int ImageDimension
 

Member Typedef Documentation

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
typedef SmartPointer<const Self> itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ConstPointer

Definition at line 49 of file itkGPUPDEDeformableRegistrationFunction.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
typedef TDisplacementField itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldType

Deformation field type.

Definition at line 64 of file itkGPUPDEDeformableRegistrationFunction.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
typedef DisplacementFieldType::Pointer itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldTypePointer

Definition at line 65 of file itkGPUPDEDeformableRegistrationFunction.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
typedef FixedImageType::ConstPointer itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::FixedImagePointer

Definition at line 61 of file itkGPUPDEDeformableRegistrationFunction.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
typedef TFixedImage itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::FixedImageType

FixedImage image type.

Definition at line 60 of file itkGPUPDEDeformableRegistrationFunction.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
typedef MovingImageType::ConstPointer itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImagePointer

Definition at line 57 of file itkGPUPDEDeformableRegistrationFunction.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
typedef TMovingImage itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImageType

MovingImage image type.

Definition at line 53 of file itkGPUPDEDeformableRegistrationFunction.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
typedef SmartPointer<Self> itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::Pointer

Definition at line 48 of file itkGPUPDEDeformableRegistrationFunction.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
typedef GPUPDEDeformableRegistrationFunction itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::Self

Standard class typedefs.

Definition at line 46 of file itkGPUPDEDeformableRegistrationFunction.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
typedef GPUFiniteDifferenceFunction<TDisplacementField> itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::Superclass

Definition at line 47 of file itkGPUPDEDeformableRegistrationFunction.h.

Constructor & Destructor Documentation

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GPUPDEDeformableRegistrationFunction ( )
inlineprotected
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::~GPUPDEDeformableRegistrationFunction ( )
inlineoverrideprotected

Definition at line 145 of file itkGPUPDEDeformableRegistrationFunction.h.

Member Function Documentation

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
DisplacementFieldType* itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetDisplacementField ( void  )
inline

Get the deformation field. This function should have been declared const. It is not for backward compatibility reasons.

Definition at line 99 of file itkGPUPDEDeformableRegistrationFunction.h.

References itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_DisplacementField.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
double itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetEnergy ( ) const
inline
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
const FixedImageType* itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetFixedImage ( void  ) const
inline
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
double itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetGradientStep ( ) const
inline
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
const MovingImageType* itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetMovingImage ( void  ) const
inline
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
virtual const char* itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetNameOfClass ( ) const
virtual
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
bool itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetNormalizeGradient ( ) const
inline
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
inlineoverrideprotectedvirtual
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetDisplacementField ( DisplacementFieldTypePointer  ptr)
inline
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetEnergy ( double  e)
inline
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetFixedImage ( const FixedImageType ptr)
inline
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetGradientStep ( double  e)
inline
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetMovingImage ( const MovingImageType ptr)
inline
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetNormalizeGradient ( bool  e)
inline

Member Data Documentation

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
DisplacementFieldTypePointer itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_DisplacementField
protected
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
double itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_Energy
mutableprotected
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
FixedImagePointer itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_FixedImage
protected
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
double itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_GradientStep
mutableprotected
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
MovingImagePointer itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_MovingImage
protected
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
bool itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_NormalizeGradient
protected

The documentation for this class was generated from the following file: