ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkGPUPDEDeformableRegistrationFunction.h>
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.
Definition at line 41 of file itkGPUPDEDeformableRegistrationFunction.h.
Public Member Functions | |
DisplacementFieldType * | GetDisplacementField (void) |
double | GetEnergy () const |
const FixedImageType * | GetFixedImage (void) const |
double | GetGradientStep () const |
const MovingImageType * | GetMovingImage (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 RadiusType & | GetRadius () 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 |
typedef SmartPointer<const Self> itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ConstPointer |
Definition at line 49 of file itkGPUPDEDeformableRegistrationFunction.h.
typedef TDisplacementField itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldType |
Deformation field type.
Definition at line 64 of file itkGPUPDEDeformableRegistrationFunction.h.
typedef DisplacementFieldType::Pointer itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldTypePointer |
Definition at line 65 of file itkGPUPDEDeformableRegistrationFunction.h.
typedef FixedImageType::ConstPointer itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::FixedImagePointer |
Definition at line 61 of file itkGPUPDEDeformableRegistrationFunction.h.
typedef TFixedImage itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::FixedImageType |
FixedImage image type.
Definition at line 60 of file itkGPUPDEDeformableRegistrationFunction.h.
typedef MovingImageType::ConstPointer itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImagePointer |
Definition at line 57 of file itkGPUPDEDeformableRegistrationFunction.h.
typedef TMovingImage itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImageType |
MovingImage image type.
Definition at line 53 of file itkGPUPDEDeformableRegistrationFunction.h.
typedef SmartPointer<Self> itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::Pointer |
Definition at line 48 of file itkGPUPDEDeformableRegistrationFunction.h.
typedef GPUPDEDeformableRegistrationFunction itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::Self |
Standard class typedefs.
Definition at line 46 of file itkGPUPDEDeformableRegistrationFunction.h.
typedef GPUFiniteDifferenceFunction<TDisplacementField> itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::Superclass |
Definition at line 47 of file itkGPUPDEDeformableRegistrationFunction.h.
|
inlineprotected |
Definition at line 135 of file itkGPUPDEDeformableRegistrationFunction.h.
References itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_DisplacementField, itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_Energy, itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_FixedImage, itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_GradientStep, itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_MovingImage, and itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_NormalizeGradient.
|
inlineoverrideprotected |
Definition at line 145 of file itkGPUPDEDeformableRegistrationFunction.h.
|
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.
|
inline |
Definition at line 109 of file itkGPUPDEDeformableRegistrationFunction.h.
References itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_Energy.
|
inline |
Get the fixed image.
Definition at line 86 of file itkGPUPDEDeformableRegistrationFunction.h.
References itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_FixedImage.
|
inline |
Definition at line 119 of file itkGPUPDEDeformableRegistrationFunction.h.
References itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_GradientStep.
|
inline |
Get the moving image.
Definition at line 74 of file itkGPUPDEDeformableRegistrationFunction.h.
References itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_MovingImage.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::GPUFiniteDifferenceFunction< TDisplacementField >.
Reimplemented in itk::GPUDemonsRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >.
|
inline |
Definition at line 129 of file itkGPUPDEDeformableRegistrationFunction.h.
|
inlineoverrideprotectedvirtual |
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::FiniteDifferenceFunction< TDisplacementField >.
Reimplemented in itk::GPUDemonsRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 147 of file itkGPUPDEDeformableRegistrationFunction.h.
References itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_FixedImage, itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_MovingImage, and itk::FiniteDifferenceFunction< TDisplacementField >::PrintSelf().
|
inline |
Set the deformation field image.
Definition at line 92 of file itkGPUPDEDeformableRegistrationFunction.h.
|
inline |
Definition at line 104 of file itkGPUPDEDeformableRegistrationFunction.h.
References itk::Math::e, and itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_Energy.
|
inline |
Set the fixed image.
Definition at line 80 of file itkGPUPDEDeformableRegistrationFunction.h.
References itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_FixedImage.
|
inline |
Definition at line 114 of file itkGPUPDEDeformableRegistrationFunction.h.
References itk::Math::e, and itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_GradientStep.
|
inline |
Set the moving image.
Definition at line 68 of file itkGPUPDEDeformableRegistrationFunction.h.
References itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_MovingImage.
|
inline |
Definition at line 124 of file itkGPUPDEDeformableRegistrationFunction.h.
References itk::Math::e, and itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_NormalizeGradient.
|
protected |
The deformation field.
Definition at line 163 of file itkGPUPDEDeformableRegistrationFunction.h.
Referenced by itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetDisplacementField(), itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GPUPDEDeformableRegistrationFunction(), and itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetDisplacementField().
|
mutableprotected |
Definition at line 165 of file itkGPUPDEDeformableRegistrationFunction.h.
Referenced by itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetEnergy(), itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GPUPDEDeformableRegistrationFunction(), and itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetEnergy().
|
protected |
The fixed image.
Definition at line 160 of file itkGPUPDEDeformableRegistrationFunction.h.
Referenced by itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetFixedImage(), itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GPUPDEDeformableRegistrationFunction(), itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::PrintSelf(), and itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetFixedImage().
|
mutableprotected |
Definition at line 169 of file itkGPUPDEDeformableRegistrationFunction.h.
Referenced by itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetGradientStep(), itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GPUPDEDeformableRegistrationFunction(), and itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetGradientStep().
|
protected |
The moving image.
Definition at line 157 of file itkGPUPDEDeformableRegistrationFunction.h.
Referenced by itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetMovingImage(), itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GPUPDEDeformableRegistrationFunction(), itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::PrintSelf(), and itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetMovingImage().
|
protected |
Definition at line 167 of file itkGPUPDEDeformableRegistrationFunction.h.
Referenced by itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetNormalizeGradient(), itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GPUPDEDeformableRegistrationFunction(), and itk::GPUPDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetNormalizeGradient().