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

#include <itkGPUPDEDeformableRegistrationFilter.h>

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

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef TParentImageFilter CPUSuperclass
typedef
DeformationFieldType::Pointer 
DeformationFieldPointer
typedef TDeformationField DeformationFieldType
typedef
GPUSuperclass::FiniteDifferenceFunctionType 
FiniteDifferenceFunctionType
typedef
FixedImageType::ConstPointer 
FixedImageConstPointer
typedef FixedImageType::Pointer FixedImagePointer
typedef TFixedImage FixedImageType
typedef
GPUPDEDeformableRegistrationFunction
< FixedImageType,
MovingImageType,
DeformationFieldType
GPUPDEDeformableRegistrationFunctionType
typedef
GPUDenseFiniteDifferenceImageFilter
< TDeformationField,
TDeformationField,
TParentImageFilter
GPUSuperclass
typedef
MovingImageType::ConstPointer 
MovingImageConstPointer
typedef MovingImageType::Pointer MovingImagePointer
typedef TMovingImage MovingImageType
typedef
GPUSuperclass::OutputImageType 
OutputImageType
typedef SmartPointer< SelfPointer
typedef
GPUPDEDeformableRegistrationFilter 
Self
typedef FixedArray< double,
ImageDimension
StandardDeviationsType
- Public Types inherited from itk::GPUDenseFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >
typedef
GPUSuperclass::InputImageType 
InputImageType
typedef GPUSuperclass::PixelType PixelType
typedef GPUSuperclass::TimeStepType TimeStepType
typedef OutputImageType UpdateBufferType
- Public Types inherited from itk::GPUFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >
enum  FilterStateType
typedef
TDeformationField::PixelType 
InputPixelType
typedef NumericTraits
< InputPixelType >::ValueType 
InputPixelValueType
typedef
FiniteDifferenceFunctionType::NeighborhoodScalesType 
NeighborhoodScalesType
typedef
TDeformationField::PixelType 
OutputPixelType
typedef NumericTraits
< OutputPixelType >::ValueType 
OutputPixelValueType
typedef
FiniteDifferenceFunctionType::RadiusType 
RadiusType
- Public Types inherited from itk::GPUInPlaceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >
typedef
GPUSuperclass::OutputImagePixelType 
OutputImagePixelType
typedef
GPUSuperclass::OutputImagePointer 
OutputImagePointer
typedef
GPUSuperclass::OutputImageRegionType 
OutputImageRegionType
typedef InputImageType::Pointer InputImagePointer
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef InputImageType::RegionType InputImageRegionType
typedef InputImageType::PixelType InputImagePixelType
- Public Types inherited from itk::GPUImageToImageFilter< TDeformationField, TDeformationField, TParentImageFilter >
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
typedef TParentImageFilter Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
DeformationFieldTypeGetDeformationField ()
const FixedImageTypeGetFixedImage (void) const
const MovingImageTypeGetMovingImage (void) const
virtual const char * GetNameOfClass () const
virtual std::vector
< SmartPointer< DataObject >
>::size_type 
GetNumberOfValidRequiredInputs () const
 itkGetOpenCLSourceFromKernelMacro (GPUPDEDeformableRegistrationFilterKernel)
void SetFixedImage (const FixedImageType *ptr)
void SetInitialDeformationField (const DeformationFieldType *ptr)
void SetMovingImage (const MovingImageType *ptr)
- Public Member Functions inherited from itk::GPUDenseFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >
 itkGetOpenCLSourceFromKernelMacro (GPUDenseFiniteDifferenceImageFilterKernel)
 typedef (Concept::MultiplyOperator< PixelType, double >) OutputTimesDoubleCheck
 typedef (Concept::AdditiveOperators< PixelType >) OutputAdditiveOperatorsCheck
 typedef (Concept::Convertible< typename TDeformationField::PixelType, PixelType >) InputConvertibleToOutputCheck
- Public Member Functions inherited from itk::GPUFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >
virtual void SetDifferenceFunction (FiniteDifferenceFunctionType *_arg)
void SetStateToInitialized ()
void SetStateToUninitialized ()
virtual const
FiniteDifferenceFunctionType::Pointer & 
GetDifferenceFunction () const
virtual void SetUseImageSpacing (bool _arg)
virtual void UseImageSpacingOn ()
virtual void UseImageSpacingOff ()
virtual const bool & GetUseImageSpacing ()
virtual void SetMaximumRMSError (double _arg)
virtual const double & GetMaximumRMSError ()
virtual void SetRMSChange (double _arg)
virtual const double & GetRMSChange ()
virtual void SetState (FilterStateType _arg)
virtual const FilterStateTypeGetState ()
virtual void SetManualReinitialization (bool _arg)
virtual const bool & GetManualReinitialization ()
virtual void ManualReinitializationOn ()
virtual void ManualReinitializationOff ()
virtual const TimeProbeGetInitTime ()
virtual const TimeProbeGetComputeUpdateTime ()
virtual const TimeProbeGetApplyUpdateTime ()
virtual const TimeProbeGetSmoothFieldTime ()

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = GPUSuperclass::ImageDimension
- Static Public Attributes inherited from itk::GPUDenseFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >
- Static Public Attributes inherited from itk::GPUFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >
- Static Public Attributes inherited from itk::GPUInPlaceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >
static const unsigned int InputImageDimension
static const unsigned int OutputImageDimension
- Static Public Attributes inherited from itk::GPUImageToImageFilter< TDeformationField, TDeformationField, TParentImageFilter >

Protected Member Functions

virtual void AllocateSmoothingBuffer ()
virtual void CopyInputToOutput ()
virtual void GenerateInputRequestedRegion ()
virtual void GenerateOutputInformation ()
 GPUPDEDeformableRegistrationFilter ()
virtual void GPUSmoothDisplacementField ()
virtual void Initialize ()
virtual void InitializeIteration ()
virtual void PostProcessOutput ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual void SmoothDisplacementField ()
virtual void SmoothUpdateField ()
 ~GPUPDEDeformableRegistrationFilter ()
- Protected Member Functions inherited from itk::GPUDenseFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >
virtual void AllocateUpdateBuffer ()
virtual void ApplyUpdate (const TimeStepType &dt)
virtual UpdateBufferTypeGetUpdateBuffer ()
virtual void GPUApplyUpdate (const TimeStepType &dt)
virtual TimeStepType GPUCalculateChange ()
 GPUDenseFiniteDifferenceImageFilter ()
 ~GPUDenseFiniteDifferenceImageFilter ()
- Protected Member Functions inherited from itk::GPUFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >
virtual void GPUApplyUpdate (const TimeStepType &dt)=0
 GPUFiniteDifferenceImageFilter ()
virtual void GPUGenerateData ()
virtual bool Halt ()
virtual TimeStepType ResolveTimeStep (const std::vector< TimeStepType > &timeStepList, const std::vector< bool > &valid) const
virtual void SetElapsedIterations (IdentifierType _arg)
virtual bool ThreadedHalt (void *)
 ~GPUFiniteDifferenceImageFilter ()
- Protected Member Functions inherited from itk::GPUInPlaceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >
virtual void AllocateOutputs ()
virtual void ReleaseInputs ()
 GPUInPlaceImageFilter ()
 ~GPUInPlaceImageFilter ()
- Protected Member Functions inherited from itk::GPUImageToImageFilter< TDeformationField, TDeformationField, TParentImageFilter >
 GPUImageToImageFilter ()
 ~GPUImageToImageFilter ()

Private Member Functions

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

Private Attributes

GPUDataManager::Pointer m_GPUImageSizes
GPUDataManager::Pointer m_GPUSmoothingKernel
int * m_ImageSizes
int m_SmoothDeformationFieldGPUKernelHandle
float * m_SmoothingKernel
int m_SmoothingKernelSize
DeformationFieldPointer m_TempField

Additional Inherited Members

- Protected Attributes inherited from itk::GPUDenseFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >
int m_ApplyUpdateGPUKernelHandle
- Protected Attributes inherited from itk::GPUFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >
TimeProbe m_ApplyUpdateTime
TimeProbe m_ComputeUpdateTime
TimeProbe m_InitTime
bool m_ManualReinitialization
double m_MaximumRMSError
double m_RMSChange
TimeProbe m_SmoothFieldTime

Detailed Description

template<class TFixedImage, class TMovingImage, class TDeformationField, class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
class itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >

Deformably register two images using a PDE algorithm.

GPUPDEDeformableRegistrationFilter is a base case for filter implementing a PDE deformable algorithm that register two images by computing the deformation field which will map a moving image onto a fixed image.

A deformation field is represented as a image whose pixel type is some vector type with at least N elements, where N is the dimension of the fixed image. The vector type must support element access via operator []. It is assumed that the vector elements behave like floating point scalars.

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

The input fixed and moving images are set via methods SetFixedImage and SetMovingImage respectively. An initial deformation field maybe set via SetInitialDeformationField or SetInput. If no initial field is set, a zero field is used as the initial condition.

The output deformation field can be obtained via methods GetOutput or GetDeformationField.

The PDE algorithm is run for a user defined number of iterations. Typically the PDE algorithm requires period Gaussin smoothing of the deformation field to enforce an elastic-like condition. The amount of smoothing is governed by a set of user defined standard deviations (one for each dimension).

In terms of memory, this filter keeps two internal buffers: one for storing the intermediate updates to the field and one for double-buffering when smoothing the deformation field. Both buffers are the same type and size as the output deformation field.

This class make use of the finite difference solver hierarchy. Update for each iteration is computed using a PDEDeformableRegistrationFunction.

Warning:
This filter assumes that the fixed image type, moving image type and deformation field type all have the same number of dimensions.
See also:
PDEDeformableRegistrationFunction.

Definition at line 81 of file itkGPUPDEDeformableRegistrationFilter.h.


Member Typedef Documentation

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef SmartPointer< const Self > itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::ConstPointer
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef TParentImageFilter itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::CPUSuperclass
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef DeformationFieldType::Pointer itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::DeformationFieldPointer
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef TDeformationField itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::DeformationFieldType
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef GPUSuperclass::FiniteDifferenceFunctionType itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::FiniteDifferenceFunctionType
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef FixedImageType::ConstPointer itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::FixedImageConstPointer

Definition at line 102 of file itkGPUPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef FixedImageType::Pointer itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::FixedImagePointer
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef TFixedImage itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::FixedImageType
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef GPUPDEDeformableRegistrationFunction< FixedImageType, MovingImageType, DeformationFieldType > itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::GPUPDEDeformableRegistrationFunctionType

PDEDeformableRegistrationFilterFunction type. GPUPDEDeformableRegistrationFilterFunction type.

Definition at line 124 of file itkGPUPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef GPUDenseFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter > itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::GPUSuperclass
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef MovingImageType::ConstPointer itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::MovingImageConstPointer

Definition at line 107 of file itkGPUPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef MovingImageType::Pointer itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::MovingImagePointer
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef TMovingImage itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::MovingImageType
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef GPUSuperclass::OutputImageType itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::OutputImageType
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef SmartPointer< Self > itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::Pointer
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef GPUPDEDeformableRegistrationFilter itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::Self
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
typedef FixedArray< double, ImageDimension > itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::StandardDeviationsType

Definition at line 164 of file itkGPUPDEDeformableRegistrationFilter.h.


Constructor & Destructor Documentation

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::GPUPDEDeformableRegistrationFilter ( )
protected
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::~GPUPDEDeformableRegistrationFilter ( )
inlineprotected

Definition at line 168 of file itkGPUPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::GPUPDEDeformableRegistrationFilter ( const Self )
private

Member Function Documentation

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
virtual void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::AllocateSmoothingBuffer ( )
protectedvirtual
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
virtual void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::CopyInputToOutput ( )
protectedvirtual

A simple method to copy the data from the input to the output. If the input does not exist, a zero field is written to the output.

Reimplemented from itk::GPUDenseFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
virtual::itk::LightObject::Pointer itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::CreateAnother ( void  ) const
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
virtual void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::GenerateInputRequestedRegion ( )
protectedvirtual

It is difficult to compute in advance the input moving image region required to compute the requested output region. Thus the safest thing to do is to request for the whole moving image.

For the fixed image and deformation field, the input requested region set to be the same as that of the output requested region.

Reimplemented from itk::GPUFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
virtual void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::GenerateOutputInformation ( )
protectedvirtual

By default the output deformation field has the same Spacing, Origin and LargestPossibleRegion as the input/initial deformation field. If the initial deformation field is not set, the output information is copied from the fixed image.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
DeformationFieldType* itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::GetDeformationField ( )
inline

Get output deformation field.

Definition at line 152 of file itkGPUPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
const FixedImageType* itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::GetFixedImage ( void  ) const

Get the fixed image.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
const MovingImageType* itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::GetMovingImage ( void  ) const

Get the moving image.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
virtual const char* itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::GetNameOfClass ( ) const
virtual
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
virtual std::vector< SmartPointer< DataObject > >::size_type itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::GetNumberOfValidRequiredInputs ( ) const
virtual

Get the number of valid inputs. For PDEDeformableRegistration, this checks whether the fixed and moving images have been set. While PDEDeformableRegistration can take a third input as an initial deformation field, this input is not a required input.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
virtual void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::GPUSmoothDisplacementField ( )
protectedvirtual
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
virtual void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::Initialize ( )
protectedvirtual

This method is called before iterating the solution.

Reimplemented from itk::GPUFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
virtual void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::InitializeIteration ( )
protectedvirtual

Initialize the state of filter and equation before each iteration. Progress feeback is implemented as part of this method.

Reimplemented from itk::GPUFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >.

Reimplemented in itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::itkGetOpenCLSourceFromKernelMacro ( GPUPDEDeformableRegistrationFilterKernel  )

Get OpenCL Kernel source as a string, creates a GetOpenCLSource method

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
static Pointer itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::New ( )
static
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::operator= ( const Self )
private
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
virtual void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::PostProcessOutput ( )
protectedvirtual

This method is called after the solution has been generated. In this case, the filter release the memory of the internal buffers.

Reimplemented from itk::GPUFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual
template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::SetFixedImage ( const FixedImageType ptr)

Set the fixed image.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::SetInitialDeformationField ( const DeformationFieldType ptr)
inline

Set initial deformation field.

Definition at line 146 of file itkGPUPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::SetMovingImage ( const MovingImageType ptr)

Set the moving image.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
virtual void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::SmoothDisplacementField ( )
protectedvirtual

Utility to smooth the deformation field (represented in the Output) using a Guassian operator. The amount of smoothing can be specified by setting the StandardDeviations.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
virtual void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::SmoothUpdateField ( )
protectedvirtual

Utility to smooth the UpdateBuffer using a Gaussian operator. The amount of smoothing can be specified by setting the UpdateFieldStandardDeviations.


Member Data Documentation

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
const unsigned int itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::ImageDimension = GPUSuperclass::ImageDimension
static

Inherit some enums and typedefs from the GPUSuperclass.

Reimplemented from itk::GPUDenseFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >.

Definition at line 128 of file itkGPUPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
GPUDataManager::Pointer itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::m_GPUImageSizes
private

Definition at line 229 of file itkGPUPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
GPUDataManager::Pointer itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::m_GPUSmoothingKernel
private

Definition at line 227 of file itkGPUPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
int* itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::m_ImageSizes
private

Definition at line 228 of file itkGPUPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
int itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::m_SmoothDeformationFieldGPUKernelHandle
private

Definition at line 232 of file itkGPUPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
float* itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::m_SmoothingKernel
private

Definition at line 226 of file itkGPUPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
int itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::m_SmoothingKernelSize
private

Memory buffer for smoothing kernel.

Definition at line 225 of file itkGPUPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDeformationField , class TParentImageFilter = PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >>
DeformationFieldPointer itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::m_TempField
private

Temporary deformation field use for smoothing the the deformation field.

Definition at line 221 of file itkGPUPDEDeformableRegistrationFilter.h.


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