ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField > Class Template Reference

#include <itkGPUPDEDeformableRegistrationFunction.h>

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

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef TDeformationField DeformationFieldType
typedef
DeformationFieldType::Pointer 
DeformationFieldTypePointer
typedef
FixedImageType::ConstPointer 
FixedImagePointer
typedef TFixedImage FixedImageType
typedef
MovingImageType::ConstPointer 
MovingImagePointer
typedef TMovingImage MovingImageType
typedef SmartPointer< SelfPointer
typedef
GPUPDEDeformableRegistrationFunction 
Self
typedef
GPUFiniteDifferenceFunction
< TDeformationField > 
Superclass
- Public Types inherited from itk::GPUFiniteDifferenceFunction< TDeformationField >
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 Superclass::RadiusType RadiusType
typedef Superclass::TimeStepType TimeStepType
- Public Types inherited from itk::FiniteDifferenceFunction< TDeformationField >
typedef Vector< PixelRealType,
itkGetStaticConstMacro(ImageDimension) > 
NeighborhoodScalesType
- Public Types inherited from itk::LightObject

Public Member Functions

DeformationFieldTypeGetDeformationField (void)
double GetEnergy () const
const FixedImageTypeGetFixedImage (void) const
double GetGradientStep () const
const MovingImageTypeGetMovingImage (void) const
virtual const char * GetNameOfClass () const
bool GetNormalizeGradient () const
void SetDeformationField (DeformationFieldTypePointer 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< TDeformationField >
virtual void GPUAllocateMetricData (unsigned int)
virtual void GPUComputeUpdate (const typename TDeformationField::Pointer output, typename TDeformationField::Pointer update, void *gd)=0
virtual void GPUReleaseMetricData ()
virtual void InitializeIteration ()
virtual PixelType ComputeUpdate (const NeighborhoodType &, void *, const FloatOffsetType &)
- Public Member Functions inherited from itk::FiniteDifferenceFunction< TDeformationField >
virtual TimeStepType ComputeGlobalTimeStep (void *GlobalData) const =0
const NeighborhoodScalesType ComputeNeighborhoodScales () const
virtual void * GetGlobalDataPointer () const =0
const RadiusTypeGetRadius () const
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

Protected Member Functions

 GPUPDEDeformableRegistrationFunction ()
void PrintSelf (std::ostream &os, Indent indent) const
 ~GPUPDEDeformableRegistrationFunction ()
- Protected Member Functions inherited from itk::GPUFiniteDifferenceFunction< TDeformationField >
 GPUFiniteDifferenceFunction ()
 ~GPUFiniteDifferenceFunction ()
- Protected Member Functions inherited from itk::FiniteDifferenceFunction< TDeformationField >
 FiniteDifferenceFunction ()
 ~FiniteDifferenceFunction ()
- 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

DeformationFieldTypePointer m_DeformationField
double m_Energy
FixedImagePointer m_FixedImage
double m_GradientStep
MovingImagePointer m_MovingImage
bool m_NormalizeGradient
- Protected Attributes inherited from itk::GPUFiniteDifferenceFunction< TDeformationField >
int m_ComputeUpdateGPUKernelHandle
GPUKernelManager::Pointer m_GPUKernelManager
- Protected Attributes inherited from itk::FiniteDifferenceFunction< TDeformationField >
RadiusType m_Radius
PixelRealType m_ScaleCoefficients [ImageDimension]
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock

Private Member Functions

 GPUPDEDeformableRegistrationFunction (const Self &)
void operator= (const Self &)

Additional Inherited Members

- Static Public Attributes inherited from itk::GPUFiniteDifferenceFunction< TDeformationField >
static const unsigned int ImageDimension
- Static Public Attributes inherited from itk::FiniteDifferenceFunction< TDeformationField >

Detailed Description

template<class TFixedImage, class TMovingImage, class TDeformationField>
class itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >

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.


Member Typedef Documentation

template<class TFixedImage , class TMovingImage , class TDeformationField >
typedef SmartPointer< const Self > itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ConstPointer
template<class TFixedImage , class TMovingImage , class TDeformationField >
typedef TDeformationField itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::DeformationFieldType
template<class TFixedImage , class TMovingImage , class TDeformationField >
typedef DeformationFieldType::Pointer itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::DeformationFieldTypePointer
template<class TFixedImage , class TMovingImage , class TDeformationField >
typedef FixedImageType::ConstPointer itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::FixedImagePointer
template<class TFixedImage , class TMovingImage , class TDeformationField >
typedef TFixedImage itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::FixedImageType
template<class TFixedImage , class TMovingImage , class TDeformationField >
typedef MovingImageType::ConstPointer itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::MovingImagePointer
template<class TFixedImage , class TMovingImage , class TDeformationField >
typedef TMovingImage itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::MovingImageType
template<class TFixedImage , class TMovingImage , class TDeformationField >
typedef SmartPointer< Self > itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::Pointer
template<class TFixedImage , class TMovingImage , class TDeformationField >
typedef GPUPDEDeformableRegistrationFunction itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::Self
template<class TFixedImage , class TMovingImage , class TDeformationField >
typedef GPUFiniteDifferenceFunction< TDeformationField > itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::Superclass

Constructor & Destructor Documentation

template<class TFixedImage , class TMovingImage , class TDeformationField >
itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GPUPDEDeformableRegistrationFunction ( )
inlineprotected

Definition at line 123 of file itkGPUPDEDeformableRegistrationFunction.h.

References NULL.

template<class TFixedImage , class TMovingImage , class TDeformationField >
itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::~GPUPDEDeformableRegistrationFunction ( )
inlineprotected

Definition at line 133 of file itkGPUPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GPUPDEDeformableRegistrationFunction ( const Self )
private

Member Function Documentation

template<class TFixedImage , class TMovingImage , class TDeformationField >
DeformationFieldType* itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetDeformationField ( 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.

template<class TFixedImage , class TMovingImage , class TDeformationField >
double itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetEnergy ( ) const
inline

Definition at line 107 of file itkGPUPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
const FixedImageType* itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetFixedImage ( void  ) const
inline

Get the fixed image.

Definition at line 86 of file itkGPUPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
double itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetGradientStep ( ) const
inline

Definition at line 113 of file itkGPUPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
const MovingImageType* itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetMovingImage ( void  ) const
inline

Get the moving image.

Definition at line 74 of file itkGPUPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
virtual const char* itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetNameOfClass ( ) const
virtual
template<class TFixedImage , class TMovingImage , class TDeformationField >
bool itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetNormalizeGradient ( ) const
inline

Definition at line 119 of file itkGPUPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::operator= ( const Self )
private

Mutex lock to protect modification to the reference count

Reimplemented from itk::GPUFiniteDifferenceFunction< TDeformationField >.

Reimplemented in itk::GPUDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >.

template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
inlineprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::GPUFiniteDifferenceFunction< TDeformationField >.

Reimplemented in itk::GPUDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >.

Definition at line 136 of file itkGPUPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetDeformationField ( DeformationFieldTypePointer  ptr)
inline

Set the deformation field image.

Definition at line 92 of file itkGPUPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetEnergy ( double  e)
inline

Definition at line 104 of file itkGPUPDEDeformableRegistrationFunction.h.

References itk::Math::e.

template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetFixedImage ( const FixedImageType ptr)
inline

Set the fixed image.

Definition at line 80 of file itkGPUPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetGradientStep ( double  e)
inline

Definition at line 110 of file itkGPUPDEDeformableRegistrationFunction.h.

References itk::Math::e.

template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetMovingImage ( const MovingImageType ptr)
inline

Set the moving image.

Definition at line 68 of file itkGPUPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetNormalizeGradient ( bool  e)
inline

Definition at line 116 of file itkGPUPDEDeformableRegistrationFunction.h.

References itk::Math::e.


Member Data Documentation

template<class TFixedImage , class TMovingImage , class TDeformationField >
DeformationFieldTypePointer itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_DeformationField
protected

The deformation field.

Definition at line 152 of file itkGPUPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
double itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_Energy
mutableprotected

Definition at line 154 of file itkGPUPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
FixedImagePointer itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_FixedImage
protected

The fixed image.

Definition at line 149 of file itkGPUPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
double itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_GradientStep
mutableprotected

Definition at line 158 of file itkGPUPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
MovingImagePointer itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_MovingImage
protected

The moving image.

Definition at line 146 of file itkGPUPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
bool itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_NormalizeGradient
protected

Definition at line 156 of file itkGPUPDEDeformableRegistrationFunction.h.


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