ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | List of all members
itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter > Class Template Reference

#include <itkGPUPDEDeformableRegistrationFilter.h>

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

Public Types

using ConstPointer = SmartPointer< const Self >
 
using CPUSuperclass = TParentImageFilter
 
using DeformationScalarType = typename TDisplacementField::PixelType::ValueType
 
using DeformationVectorType = typename TDisplacementField::PixelType
 
using DisplacementFieldPointer = typename DisplacementFieldType::Pointer
 
using DisplacementFieldType = TDisplacementField
 
using FiniteDifferenceFunctionType = typename GPUSuperclass::FiniteDifferenceFunctionType
 
using FixedImageConstPointer = typename FixedImageType::ConstPointer
 
using FixedImagePointer = typename FixedImageType::Pointer
 
using FixedImageType = TFixedImage
 
using GPUPDEDeformableRegistrationFunctionType = GPUPDEDeformableRegistrationFunction< FixedImageType, MovingImageType, DisplacementFieldType >
 
using GPUSuperclass = GPUDenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
 
using MovingImageConstPointer = typename MovingImageType::ConstPointer
 
using MovingImagePointer = typename MovingImageType::Pointer
 
using MovingImageType = TMovingImage
 
using OutputImageType = typename GPUSuperclass::OutputImageType
 
using Pointer = SmartPointer< Self >
 
using Self = GPUPDEDeformableRegistrationFilter
 
using StandardDeviationsType = FixedArray< double, ImageDimension >
 
- Public Types inherited from itk::GPUDenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
using ConstPointer = SmartPointer< const Self >
 
using CPUSuperclass = TParentImageFilter
 
using FiniteDifferenceFunctionType = typename GPUSuperclass::FiniteDifferenceFunctionType
 
using GPUSuperclass = GPUFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
 
using InputImageType = typename GPUSuperclass::InputImageType
 
using OutputImageType = typename GPUSuperclass::OutputImageType
 
using PixelType = typename GPUSuperclass::PixelType
 
using Pointer = SmartPointer< Self >
 
using Self = GPUDenseFiniteDifferenceImageFilter
 
using TimeStepType = typename GPUSuperclass::TimeStepType
 
using UpdateBufferType = OutputImageType
 
- Public Types inherited from itk::GPUFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
using ConstPointer = SmartPointer< const Self >
 
using CPUSuperclass = TParentImageFilter
 
using FiniteDifferenceFunctionType = typename GPUFiniteDifferenceFunction< TDisplacementField >::DifferenceFunctionType
 
using GPUSuperclass = GPUInPlaceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
 
using InputImageType = TDisplacementField
 
using InputPixelType = typename TDisplacementField ::PixelType
 
using InputPixelValueType = typename NumericTraits< InputPixelType >::ValueType
 
using NeighborhoodScalesType = typename FiniteDifferenceFunctionType::NeighborhoodScalesType
 
using OutputImageType = TDisplacementField
 
using OutputPixelType = typename TDisplacementField ::PixelType
 
using OutputPixelValueType = typename NumericTraits< OutputPixelType >::ValueType
 
using PixelType = OutputPixelType
 
using Pointer = SmartPointer< Self >
 
using RadiusType = typename FiniteDifferenceFunctionType::RadiusType
 
using Self = GPUFiniteDifferenceImageFilter
 
using TimeStepType = typename FiniteDifferenceFunctionType::TimeStepType
 
- Public Types inherited from itk::GPUInPlaceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
using ConstPointer = SmartPointer< const Self >
 
using CPUSuperclass = TParentImageFilter
 
using GPUSuperclass = GPUImageToImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TDisplacementField
 
using OutputImagePixelType = typename GPUSuperclass::OutputImagePixelType
 
using OutputImagePointer = typename GPUSuperclass::OutputImagePointer
 
using OutputImageRegionType = typename GPUSuperclass::OutputImageRegionType
 
using OutputImageType = typename GPUSuperclass::OutputImageType
 
using Pointer = SmartPointer< Self >
 
using Self = GPUInPlaceImageFilter
 
- Public Types inherited from itk::GPUImageToImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = typename Superclass::DataObjectIdentifierType
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TDisplacementField
 
using OutputImagePixelType = typename Superclass::OutputImagePixelType
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
using Pointer = SmartPointer< Self >
 
using Self = GPUImageToImageFilter
 
using Superclass = TParentImageFilter
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
DisplacementFieldTypeGetDisplacementField ()
 
virtual const char * GetNameOfClass () const
 
 itkGetOpenCLSourceFromKernelMacro (GPUPDEDeformableRegistrationFilterKernel)
 
- Public Member Functions inherited from itk::GPUDenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
 itkGetOpenCLSourceFromKernelMacro (GPUDenseFiniteDifferenceImageFilterKernel)
 
- Public Member Functions inherited from itk::GPUFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
const FiniteDifferenceFunctionType::Pointer & GetDifferenceFunction () const override
 
void SetDifferenceFunction (FiniteDifferenceFunctionType *differenceFunction) override
 
void SetStateToInitialized ()
 
void SetStateToUninitialized ()
 
virtual void SetState (GPUFiniteDifferenceFilterEnum _arg)
 
virtual const GPUFiniteDifferenceFilterEnumGetState () const
 
virtual const TimeProbeGetInitTime () const
 
virtual const TimeProbeGetComputeUpdateTime () const
 
virtual const TimeProbeGetApplyUpdateTime () const
 
virtual const TimeProbeGetSmoothFieldTime () const
 
- Public Member Functions inherited from itk::GPUImageToImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
void GenerateData () override
 
virtual bool GetGPUEnabled () const
 
virtual void GPUEnabledOff ()
 
virtual void GPUEnabledOn ()
 
virtual void GraftOutput (const DataObjectIdentifierType &key, typename itk::GPUTraits< TDisplacementField >::Type *output)
 
virtual void GraftOutput (typename itk::GPUTraits< TDisplacementField >::Type *output)
 
virtual void SetGPUEnabled (bool _arg)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::GPUImageToImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
static Pointer New ()
 

Static Public Attributes

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

Protected Member Functions

virtual void AllocateSmoothingBuffer ()
 
void CopyInputToOutput () override
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
 GPUPDEDeformableRegistrationFilter ()
 
virtual void GPUSmoothVectorField (DisplacementFieldPointer field, typename GPUDataManager::Pointer GPUSmoothingKernels[], int GPUSmoothingKernelSizes[])
 
void Initialize () override
 
void InitializeIteration () override
 
void PostProcessOutput () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void SmoothDisplacementField () override
 
void SmoothUpdateField () override
 
 ~GPUPDEDeformableRegistrationFilter () override=default
 
- Protected Member Functions inherited from itk::GPUDenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
void AllocateUpdateBuffer () override
 
void ApplyUpdate (const TimeStepType &dt) override
 
void CopyInputToOutput () override
 
UpdateBufferTypeGetUpdateBuffer () override
 
void GPUApplyUpdate (const TimeStepType &dt) override
 
TimeStepType GPUCalculateChange () override
 
 GPUDenseFiniteDifferenceImageFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~GPUDenseFiniteDifferenceImageFilter () override=default
 
- Protected Member Functions inherited from itk::GPUFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
 GPUFiniteDifferenceImageFilter ()
 
 ~GPUFiniteDifferenceImageFilter () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void GPUApplyUpdate (const TimeStepType &dt)=0
 
void GPUGenerateData () override
 
void GenerateInputRequestedRegion () override
 
bool Halt () override
 
bool ThreadedHalt (void *) override
 
void Initialize () override
 
void InitializeIteration () override
 
TimeStepType ResolveTimeStep (const std::vector< TimeStepType > &timeStepList, const std::vector< bool > &valid) const override
 
void PostProcessOutput () override
 
- Protected Member Functions inherited from itk::GPUInPlaceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
void AllocateOutputs () override
 
 GPUInPlaceImageFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~GPUInPlaceImageFilter () override
 
void ReleaseInputs () override
 
- Protected Member Functions inherited from itk::GPUImageToImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
 GPUImageToImageFilter ()
 
void GraftOutput (const DataObjectIdentifierType &key, DataObject *output) override
 
void GraftOutput (DataObject *output) override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~GPUImageToImageFilter () override
 

Private Attributes

GPUDataManager::Pointer m_GPUImageSizes
 
GPUDataManager::Pointer m_GPUSmoothingKernels [ImageDimension]
 
int * m_ImageSizes
 
int m_SmoothDisplacementFieldGPUKernelHandle
 
DeformationScalarTypem_SmoothingKernels [ImageDimension]
 
int m_SmoothingKernelSizes [ImageDimension]
 
DisplacementFieldPointer m_TempField
 
GPUDataManager::Pointer m_UpdateFieldGPUSmoothingKernels [ImageDimension]
 
DeformationScalarTypem_UpdateFieldSmoothingKernels [ImageDimension]
 
int m_UpdateFieldSmoothingKernelSizes [ImageDimension]
 

Additional Inherited Members

- Protected Attributes inherited from itk::GPUDenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
int m_ApplyUpdateGPUKernelHandle
 
- Protected Attributes inherited from itk::GPUFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
TimeProbe m_InitTime
 
TimeProbe m_ComputeUpdateTime
 
TimeProbe m_ApplyUpdateTime
 
TimeProbe m_SmoothFieldTime
 
- Protected Attributes inherited from itk::GPUImageToImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >
GPUKernelManager::Pointer m_GPUKernelManager
 

Detailed Description

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField, typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
class itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, 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 SetInitialDisplacementField 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 GetDisplacementField.

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 82 of file itkGPUPDEDeformableRegistrationFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::ConstPointer = SmartPointer<const Self>

Definition at line 93 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ CPUSuperclass

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::CPUSuperclass = TParentImageFilter

Definition at line 91 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ DeformationScalarType

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::DeformationScalarType = typename TDisplacementField::PixelType::ValueType

Definition at line 115 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ DeformationVectorType

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::DeformationVectorType = typename TDisplacementField::PixelType

Definition at line 114 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ DisplacementFieldPointer

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::DisplacementFieldPointer = typename DisplacementFieldType::Pointer

Definition at line 113 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ DisplacementFieldType

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::DisplacementFieldType = TDisplacementField

Deformation field type.

Definition at line 112 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ FiniteDifferenceFunctionType

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::FiniteDifferenceFunctionType = typename GPUSuperclass::FiniteDifferenceFunctionType

◆ FixedImageConstPointer

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::FixedImageConstPointer = typename FixedImageType::ConstPointer

Definition at line 104 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ FixedImagePointer

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::FixedImagePointer = typename FixedImageType::Pointer

Definition at line 103 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ FixedImageType

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::FixedImageType = TFixedImage

FixedImage image type.

Definition at line 102 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ GPUPDEDeformableRegistrationFunctionType

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::GPUPDEDeformableRegistrationFunctionType = GPUPDEDeformableRegistrationFunction<FixedImageType, MovingImageType, DisplacementFieldType>

PDEDeformableRegistrationFilterFunction type. GPUPDEDeformableRegistrationFilterFunction type.

Definition at line 127 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ GPUSuperclass

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::GPUSuperclass = GPUDenseFiniteDifferenceImageFilter<TDisplacementField, TDisplacementField, TParentImageFilter>

Definition at line 90 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ MovingImageConstPointer

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::MovingImageConstPointer = typename MovingImageType::ConstPointer

Definition at line 109 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ MovingImagePointer

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::MovingImagePointer = typename MovingImageType::Pointer

Definition at line 108 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ MovingImageType

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::MovingImageType = TMovingImage

MovingImage image type.

Definition at line 107 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ OutputImageType

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::OutputImageType = typename GPUSuperclass::OutputImageType

Types inherited from the GPUSuperclass

Definition at line 118 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ Pointer

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::Pointer = SmartPointer<Self>

Definition at line 92 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ Self

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::Self = GPUPDEDeformableRegistrationFilter

Standard class type aliases.

Definition at line 89 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ StandardDeviationsType

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
using itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::StandardDeviationsType = FixedArray<double, ImageDimension>

Definition at line 142 of file itkGPUPDEDeformableRegistrationFilter.h.

Constructor & Destructor Documentation

◆ GPUPDEDeformableRegistrationFilter()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::GPUPDEDeformableRegistrationFilter ( )
protected

◆ ~GPUPDEDeformableRegistrationFilter()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::~GPUPDEDeformableRegistrationFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ AllocateSmoothingBuffer()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
virtual void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::AllocateSmoothingBuffer ( )
protectedvirtual

◆ CopyInputToOutput()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::CopyInputToOutput ( )
overrideprotectedvirtual

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.

Implements itk::GPUFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >.

◆ CreateAnother()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
virtual::itk::LightObject::Pointer itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::CreateAnother ( ) const

◆ GenerateInputRequestedRegion()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::GenerateInputRequestedRegion ( )
overrideprotected

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.

◆ GenerateOutputInformation()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::GenerateOutputInformation ( )
overrideprotected

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.

◆ GetDisplacementField()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
DisplacementFieldType* itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::GetDisplacementField ( )
inline

Get output deformation field.

Definition at line 137 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ GetNameOfClass()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
virtual const char* itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::GetNameOfClass ( ) const
virtual

◆ GPUSmoothVectorField()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
virtual void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::GPUSmoothVectorField ( DisplacementFieldPointer  field,
typename GPUDataManager::Pointer  GPUSmoothingKernels[],
int  GPUSmoothingKernelSizes[] 
)
protectedvirtual

Smooth a vector field, which may be m_DisplacementField or m_UpdateBuffer.

◆ Initialize()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::Initialize ( )
overrideprotected

This method is called before iterating the solution.

◆ InitializeIteration()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::InitializeIteration ( )
overrideprotected

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

◆ itkGetOpenCLSourceFromKernelMacro()

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

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

◆ New()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
static Pointer itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::New ( )
static

Method for creation through the object factory.

◆ PostProcessOutput()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::PostProcessOutput ( )
overrideprotected

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

◆ PrintSelf()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotected

◆ SmoothDisplacementField()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::SmoothDisplacementField ( )
overrideprotected

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

◆ SmoothUpdateField()

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
void itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::SmoothUpdateField ( )
overrideprotected

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

Member Data Documentation

◆ ImageDimension

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
constexpr unsigned int itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::ImageDimension = GPUSuperclass::ImageDimension
staticconstexpr

Inherit some enums and type alias from the GPUSuperclass.

Definition at line 130 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ m_GPUImageSizes

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

Definition at line 225 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ m_GPUSmoothingKernels

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
GPUDataManager::Pointer itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::m_GPUSmoothingKernels[ImageDimension]
private

Definition at line 217 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ m_ImageSizes

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

Definition at line 224 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ m_SmoothDisplacementFieldGPUKernelHandle

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
int itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::m_SmoothDisplacementFieldGPUKernelHandle
private

Definition at line 228 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ m_SmoothingKernels

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
DeformationScalarType* itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::m_SmoothingKernels[ImageDimension]
private

Definition at line 216 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ m_SmoothingKernelSizes

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
int itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::m_SmoothingKernelSizes[ImageDimension]
private

Memory buffer for smoothing kernels of the displacement field.

Definition at line 215 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ m_TempField

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
DisplacementFieldPointer itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::m_TempField
private

Temporary deformation field use for smoothing the the deformation field.

Definition at line 211 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ m_UpdateFieldGPUSmoothingKernels

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
GPUDataManager::Pointer itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::m_UpdateFieldGPUSmoothingKernels[ImageDimension]
private

Definition at line 222 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ m_UpdateFieldSmoothingKernels

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
DeformationScalarType* itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::m_UpdateFieldSmoothingKernels[ImageDimension]
private

Definition at line 221 of file itkGPUPDEDeformableRegistrationFilter.h.

◆ m_UpdateFieldSmoothingKernelSizes

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TParentImageFilter = PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>>
int itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::m_UpdateFieldSmoothingKernelSizes[ImageDimension]
private

Memory buffer for smoothing kernels of the update field.

Definition at line 220 of file itkGPUPDEDeformableRegistrationFilter.h.


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