ITK  4.6.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 | List of all members
itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType > Class Template Reference

#include <itkMultiResolutionPDEDeformableRegistration.h>

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

Detailed Description

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField, typename TRealType = float>
class itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >

Framework for performing multi-resolution PDE deformable registration.

MultiResolutionPDEDeformableRegistration provides a generic framework to peform multi-resolution deformable registration.

At each resolution level a PDEDeformableRegistrationFilter is used to register two images by computing the deformation field which will map a moving image onto a fixed image.

A deformation field is represented as an 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.

The internal PDEDeformationRegistrationFilter can be set using SetRegistrationFilter. By default a DemonsRegistrationFilter is used.

The input fixed and moving images are set via methods SetFixedImage and SetMovingImage respectively. An initial deformation field maybe set via SetInitialDisplacementField if is matches the characteristics of the coarsest pyramid level. If no such assumption can be made (e.g. the deformation field has the same characteristics as the input images), an initial deformation field can still be set via SetArbitraryInitialDisplacementField or SetInput. The filter will then take care of mathching the coarsest level characteristics. If no initial field is set a zero field is used as the initial condition.

MultiResolutionPyramidImageFilters are used to downsample the fixed and moving images. A VectorExpandImageFilter is used to upsample the deformation as we move from a coarse to fine solution.

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

Warning
This class assumes that the fixed, moving and deformation field image types all have the same number of dimensions.
See Also
PDEDeformableRegistrationFilter
DemonsRegistrationFilter
MultiResolutionPyramidImageFilter
VectorExpandImageFilter

The current implementation of this class does not support streaming.

Examples:
RegistrationITKv3/DeformableRegistration10.cxx, RegistrationITKv3/DeformableRegistration16.cxx, RegistrationITKv3/DeformableRegistration17.cxx, RegistrationITKv4/DeformableRegistration10.cxx, RegistrationITKv4/DeformableRegistration16.cxx, and RegistrationITKv4/DeformableRegistration17.cxx.

Definition at line 81 of file itkMultiResolutionPDEDeformableRegistration.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
DemonsRegistrationFilter
< FloatImageType,
FloatImageType,
DisplacementFieldType
DefaultRegistrationType
 
typedef
DisplacementFieldType::Pointer 
DisplacementFieldPointer
 
typedef TDisplacementField DisplacementFieldType
 
typedef FieldExpanderType::Pointer FieldExpanderPointer
 
typedef
VectorResampleImageFilter
< DisplacementFieldType,
DisplacementFieldType
FieldExpanderType
 
typedef
FixedImageType::ConstPointer 
FixedImageConstPointer
 
typedef FixedImageType::Pointer FixedImagePointer
 
typedef
FixedImagePyramidType::Pointer 
FixedImagePyramidPointer
 
typedef
MultiResolutionPyramidImageFilter
< FixedImageType,
FloatImageType
FixedImagePyramidType
 
typedef TFixedImage FixedImageType
 
typedef Image< TRealType,
itkGetStaticConstMacro(ImageDimension) > 
FloatImageType
 
typedef
MovingImageType::ConstPointer 
MovingImageConstPointer
 
typedef MovingImageType::Pointer MovingImagePointer
 
typedef
MovingImagePyramidType::Pointer 
MovingImagePyramidPointer
 
typedef
MultiResolutionPyramidImageFilter
< MovingImageType,
FloatImageType
MovingImagePyramidType
 
typedef TMovingImage MovingImageType
 
typedef Array< unsigned int > NumberOfIterationsType
 
typedef SmartPointer< SelfPointer
 
typedef RegistrationType::Pointer RegistrationPointer
 
typedef
PDEDeformableRegistrationFilter
< FloatImageType,
FloatImageType,
DisplacementFieldType
RegistrationType
 
typedef
MultiResolutionPDEDeformableRegistration 
Self
 
typedef ImageToImageFilter
< TDisplacementField,
TDisplacementField > 
Superclass
 
- Public Types inherited from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TDisplacementField InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource
< TDisplacementField > 
Superclass
 
- Public Types inherited from itk::ImageSource< TDisplacementField >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TDisplacementField OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const unsigned int & GetCurrentLevel () const
 
const DisplacementFieldTypeGetDisplacementField (void)
 
const FixedImageTypeGetFixedImage (void) const
 
const MovingImageTypeGetMovingImage (void) const
 
virtual const char * GetNameOfClass () const
 
virtual const
NumberOfIterationsType
GetNumberOfIterations () const
 
virtual const unsigned int & GetNumberOfLevels () const
 
virtual std::vector
< SmartPointer< DataObject >
>::size_type 
GetNumberOfValidRequiredInputs () const
 
virtual void SetArbitraryInitialDisplacementField (DisplacementFieldType *ptr)
 
virtual void SetFixedImage (const FixedImageType *ptr)
 
virtual void SetInitialDisplacementField (DisplacementFieldType *ptr)
 
virtual void SetMovingImage (const MovingImageType *ptr)
 
virtual void SetNumberOfLevels (unsigned int num)
 
virtual void StopRegistration ()
 
virtual void SetRegistrationFilter (RegistrationType *_arg)
 
virtual RegistrationTypeGetModifiableRegistrationFilter ()
 
virtual const RegistrationTypeGetRegistrationFilter () const
 
virtual void SetFixedImagePyramid (FixedImagePyramidType *_arg)
 
virtual FixedImagePyramidTypeGetModifiableFixedImagePyramid ()
 
virtual const
FixedImagePyramidType
GetFixedImagePyramid () const
 
virtual void SetMovingImagePyramid (MovingImagePyramidType *_arg)
 
virtual MovingImagePyramidTypeGetModifiableMovingImagePyramid ()
 
virtual const
MovingImagePyramidType
GetMovingImagePyramid () const
 
virtual void SetFieldExpander (FieldExpanderType *_arg)
 
virtual FieldExpanderTypeGetModifiableFieldExpander ()
 
virtual const FieldExpanderTypeGetFieldExpander () const
 
virtual void SetNumberOfIterations (NumberOfIterationsType _arg)
 
virtual void SetNumberOfIterations (unsigned int data[])
 
- Public Member Functions inherited from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >
const InputImageTypeGetInput (void) const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
virtual void PushBackInput (const InputImageType *image)
 
virtual void PushFrontInput (const InputImageType *image)
 
virtual void SetInput (const InputImageType *image)
 
virtual void SetInput (unsigned int, const TDisplacementField *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::ImageSource< TDisplacementField >
OutputImageTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
OutputImageTypeGetOutput (void)
 
const OutputImageTypeGetOutput (void) const
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) ITK_OVERRIDE
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual const bool & GetAbortGenerateData () const
 
NameArray GetInputNames () const
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
NameArray GetOutputNames () const
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
DataObjectPointerArray GetInputs ()
 
DataObjectPointerArray GetOutputs ()
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
void SetProgress (float progress)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = FixedImageType::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TDisplacementField >
static const unsigned int OutputImageDimension
 

Protected Member Functions

virtual void EnlargeOutputRequestedRegion (DataObject *ptr)
 
virtual void GenerateData ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputInformation ()
 
virtual bool Halt ()
 
 MultiResolutionPDEDeformableRegistration ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void VerifyInputInformation ()
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
 ImageToImageFilter ()
 
 ~ImageToImageFilter ()
 
void PushBackInput (const DataObject *input)
 
void PushFrontInput (const DataObject *input)
 
- Protected Member Functions inherited from itk::ImageSource< TDisplacementField >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter (void) const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- 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 ()
 

Private Member Functions

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

Private Attributes

unsigned int m_CurrentLevel
 
FieldExpanderPointer m_FieldExpander
 
FixedImagePyramidPointer m_FixedImagePyramid
 
DisplacementFieldPointer m_InitialDisplacementField
 
MovingImagePyramidPointer m_MovingImagePyramid
 
NumberOfIterationsType m_NumberOfIterations
 
unsigned int m_NumberOfLevels
 
RegistrationPointer m_RegistrationFilter
 
bool m_StopRegistrationFlag
 

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension) > 
InputToOutputRegionCopierType
 
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension) > 
OutputToInputRegionCopierType
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Static Protected Member Functions inherited from itk::ImageSource< TDisplacementField >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Member Typedef Documentation

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef SmartPointer< const Self > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::ConstPointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef DemonsRegistrationFilter< FloatImageType, FloatImageType, DisplacementFieldType > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::DefaultRegistrationType

The default registration type.

Definition at line 129 of file itkMultiResolutionPDEDeformableRegistration.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef DisplacementFieldType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::DisplacementFieldPointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef TDisplacementField itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::DisplacementFieldType

Deformation field image type.

Definition at line 111 of file itkMultiResolutionPDEDeformableRegistration.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef FieldExpanderType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FieldExpanderPointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef VectorResampleImageFilter< DisplacementFieldType, DisplacementFieldType > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FieldExpanderType

The deformation field expander type.

Definition at line 140 of file itkMultiResolutionPDEDeformableRegistration.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef FixedImageType::ConstPointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FixedImageConstPointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef FixedImageType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FixedImagePointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef FixedImagePyramidType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FixedImagePyramidPointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef MultiResolutionPyramidImageFilter< FixedImageType, FloatImageType > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FixedImagePyramidType

The fixed multi-resolution image pyramid type.

Definition at line 132 of file itkMultiResolutionPDEDeformableRegistration.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef TFixedImage itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FixedImageType

Fixed image type.

Definition at line 98 of file itkMultiResolutionPDEDeformableRegistration.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef Image< TRealType, itkGetStaticConstMacro(ImageDimension) > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FloatImageType

Internal float image type.

Definition at line 122 of file itkMultiResolutionPDEDeformableRegistration.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef MovingImageType::ConstPointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::MovingImageConstPointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef MovingImageType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::MovingImagePointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef MovingImagePyramidType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::MovingImagePyramidPointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef MultiResolutionPyramidImageFilter< MovingImageType, FloatImageType > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::MovingImagePyramidType

The moving multi-resolution image pyramid type.

Definition at line 136 of file itkMultiResolutionPDEDeformableRegistration.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef TMovingImage itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::MovingImageType

Moving image type.

Definition at line 106 of file itkMultiResolutionPDEDeformableRegistration.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef Array< unsigned int > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::NumberOfIterationsType
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef SmartPointer< Self > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::Pointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef RegistrationType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::RegistrationPointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef PDEDeformableRegistrationFilter< FloatImageType, FloatImageType, DisplacementFieldType > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::RegistrationType

The internal registration type.

Definition at line 125 of file itkMultiResolutionPDEDeformableRegistration.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef MultiResolutionPDEDeformableRegistration itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::Self

Standard class typedefs

Definition at line 87 of file itkMultiResolutionPDEDeformableRegistration.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
typedef ImageToImageFilter< TDisplacementField, TDisplacementField > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::Superclass

Constructor & Destructor Documentation

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::MultiResolutionPDEDeformableRegistration ( )
protected
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::MultiResolutionPDEDeformableRegistration ( const Self )
private

Member Function Documentation

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual::itk::LightObject::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::EnlargeOutputRequestedRegion ( DataObject ptr)
protectedvirtual

The current implementation of this class does not supprot streaming. As such it produces the output for the largest possible region.

Reimplemented from itk::ProcessObject.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GenerateData ( )
protectedvirtual

Generate output data by performing the registration at each resolution level.

Reimplemented from itk::ImageSource< TDisplacementField >.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GenerateInputRequestedRegion ( )
protectedvirtual

The current implementation of this class does not support streaming. As such it requires the largest possible region for the moving, fixed and input deformation field.

Reimplemented from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::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.

Reimplemented from itk::ProcessObject.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual const unsigned int& itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetCurrentLevel ( ) const
virtual

Get the current resolution level being processed.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
const DisplacementFieldType* itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetDisplacementField ( void  )
inline

Get output deformation field.

Definition at line 173 of file itkMultiResolutionPDEDeformableRegistration.h.

References itk::ImageSource< TDisplacementField >::GetOutput().

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual const FieldExpanderType* itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetFieldExpander ( ) const
virtual

Get/Set the moving image pyramid.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
const FixedImageType* itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetFixedImage ( void  ) const

Get the fixed image.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual const FixedImagePyramidType* itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetFixedImagePyramid ( ) const
virtual

Get/Set the fixed image pyramid.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual FieldExpanderType* itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetModifiableFieldExpander ( )
virtual

Get/Set the moving image pyramid.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual FixedImagePyramidType* itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetModifiableFixedImagePyramid ( )
virtual

Get/Set the fixed image pyramid.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual MovingImagePyramidType* itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetModifiableMovingImagePyramid ( )
virtual

Get/Set the moving image pyramid.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual RegistrationType* itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetModifiableRegistrationFilter ( )
virtual

Get/Set the internal registrator.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
const MovingImageType* itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetMovingImage ( void  ) const

Get the moving image.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual const MovingImagePyramidType* itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetMovingImagePyramid ( ) const
virtual

Get/Set the moving image pyramid.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual const char* itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual const NumberOfIterationsType& itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetNumberOfIterations ( ) const
virtual

Get number of iterations per multi-resolution levels.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual const unsigned int& itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetNumberOfLevels ( ) const
virtual

Get number of multi-resolution levels.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual std::vector< SmartPointer< DataObject > >::size_type itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetNumberOfValidRequiredInputs ( ) const
virtual

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

Reimplemented from itk::ProcessObject.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual const RegistrationType* itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetRegistrationFilter ( ) const
virtual

Get/Set the internal registrator.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual bool itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::Halt ( )
protectedvirtual

This method returns true to indicate that the registration should terminate at the current resolution level.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
static Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::New ( )
static

Method for creation through the object factory.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::operator= ( const Self )
private
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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::ImageToImageFilter< TDisplacementField, TDisplacementField >.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::SetArbitraryInitialDisplacementField ( DisplacementFieldType ptr)
inlinevirtual

Set initial deformation field. No assumption is made on the input. It will therefore be smoothed and resampled to match the images characteristics at the coarsest level of the pyramid.

Definition at line 167 of file itkMultiResolutionPDEDeformableRegistration.h.

References itk::ImageToImageFilter< TDisplacementField, TDisplacementField >::SetInput().

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::SetFieldExpander ( FieldExpanderType _arg)
virtual

Get/Set the moving image pyramid.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::SetFixedImage ( const FixedImageType ptr)
virtual

Set the fixed image.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::SetFixedImagePyramid ( FixedImagePyramidType _arg)
virtual

Get/Set the fixed image pyramid.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::SetInitialDisplacementField ( DisplacementFieldType ptr)
inlinevirtual

Set initial deformation field to be used as is (no smoothing, no subsampling at the coarsest level of the pyramid.

Definition at line 159 of file itkMultiResolutionPDEDeformableRegistration.h.

References itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::m_InitialDisplacementField.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::SetMovingImage ( const MovingImageType ptr)
virtual

Set the moving image.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::SetMovingImagePyramid ( MovingImagePyramidType _arg)
virtual

Get/Set the moving image pyramid.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::SetNumberOfIterations ( NumberOfIterationsType  _arg)
virtual

Set number of iterations per multi-resolution levels.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::SetNumberOfIterations ( unsigned int  data[])
virtual

Set number of iterations per multi-resolution levels.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::SetNumberOfLevels ( unsigned int  num)
virtual

Set number of multi-resolution levels.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::SetRegistrationFilter ( RegistrationType _arg)
virtual

Get/Set the internal registrator.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::StopRegistration ( )
virtual

Stop the registration after the current iteration.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
virtual void itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::VerifyInputInformation ( )
inlineprotectedvirtual

Override VeriyInputInformation() since this filter's inputs do not need to occoupy the same physical space.

See Also
ProcessObject::VerifyInputInformation

Reimplemented from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >.

Definition at line 279 of file itkMultiResolutionPDEDeformableRegistration.h.

Member Data Documentation

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
const unsigned int itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::ImageDimension = FixedImageType::ImageDimension
static

ImageDimension.

Definition at line 119 of file itkMultiResolutionPDEDeformableRegistration.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
unsigned int itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::m_CurrentLevel
private
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
FieldExpanderPointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::m_FieldExpander
private
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
FixedImagePyramidPointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::m_FixedImagePyramid
private
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
DisplacementFieldPointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::m_InitialDisplacementField
private
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
MovingImagePyramidPointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::m_MovingImagePyramid
private
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
NumberOfIterationsType itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::m_NumberOfIterations
private
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
unsigned int itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::m_NumberOfLevels
private
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
RegistrationPointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::m_RegistrationFilter
private
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField , typename TRealType = float>
bool itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::m_StopRegistrationFlag
private

Flag to indicate user stop registration request.

Definition at line 299 of file itkMultiResolutionPDEDeformableRegistration.h.


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