Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField > Class Template Reference
[Deformable Registration Methods]

#include <itkMultiResolutionPDEDeformableRegistration.h>

Inheritance diagram for itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >:

Inheritance graph
[legend]
Collaboration diagram for itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Framework for perfoming 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 SetInitialDeformationField or SetInput. 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.

Definition at line 76 of file itkMultiResolutionPDEDeformableRegistration.h.

Public Types

typedef SmartPointer< const
Self
ConstPointer
typedef DataObject::Pointer DataObjectPointer
typedef std::vector< DataObjectPointerDataObjectPointerArray
typedef DataObjectPointerArray::size_type DataObjectPointerArraySizeType
typedef DemonsRegistrationFilter<
FloatImageType, FloatImageType,
DeformationFieldType
DefaultRegistrationType
typedef DeformationFieldType::Pointer DeformationFieldPointer
typedef TDeformationField DeformationFieldType
typedef FieldExpanderType::Pointer FieldExpanderPointer
typedef VectorResampleImageFilter<
DeformationFieldType, DeformationFieldType
FieldExpanderType
typedef FixedImageType::ConstPointer FixedImageConstPointer
typedef FixedImageType::Pointer FixedImagePointer
typedef FixedImagePyramidType::Pointer FixedImagePyramidPointer
typedef MultiResolutionPyramidImageFilter<
FixedImageType, FloatImageType
FixedImagePyramidType
typedef TFixedImage FixedImageType
typedef Image< float, itkGetStaticConstMacro(ImageDimension)> FloatImageType
typedef InputImageType::ConstPointer InputImageConstPointer
typedef InputImageType::PixelType InputImagePixelType
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::RegionType InputImageRegionType
typedef TDeformationField InputImageType
typedef MovingImageType::ConstPointer MovingImageConstPointer
typedef MovingImageType::Pointer MovingImagePointer
typedef MovingImagePyramidType::Pointer MovingImagePyramidPointer
typedef MultiResolutionPyramidImageFilter<
MovingImageType, FloatImageType
MovingImagePyramidType
typedef TMovingImage MovingImageType
typedef Superclass::OutputImagePixelType OutputImagePixelType
typedef OutputImageType::Pointer OutputImagePointer
typedef Superclass::OutputImageRegionType OutputImageRegionType
typedef TDeformationField OutputImageType
typedef SmartPointer< SelfPointer
typedef RegistrationType::Pointer RegistrationPointer
typedef PDEDeformableRegistrationFilter<
FloatImageType, FloatImageType,
DeformationFieldType
RegistrationType
typedef MultiResolutionPDEDeformableRegistration Self
typedef ImageToImageFilter<
TDeformationField, TDeformationField > 
Superclass

Public Member Functions

virtual void AbortGenerateDataOff ()
virtual void AbortGenerateDataOn ()
virtual LightObject::Pointer CreateAnother () const
virtual void DebugOff () const
virtual void DebugOn () const
virtual void Delete ()
virtual const bool & GetAbortGenerateData ()
CommandGetCommand (unsigned long tag)
virtual const unsigned int & GetCurrentLevel ()
bool GetDebug () const
const DeformationFieldTypeGetDeformationField (void)
const FixedImageTypeGetFixedImage (void) const
virtual FixedImagePyramidTypeGetFixedImagePyramid ()
const InputImageTypeGetInput (unsigned int idx)
const InputImageTypeGetInput (void)
DataObjectPointerArrayGetInputs ()
const MetaDataDictionaryGetMetaDataDictionary (void) const
MetaDataDictionaryGetMetaDataDictionary (void)
const MovingImageTypeGetMovingImage (void) const
virtual MovingImagePyramidTypeGetMovingImagePyramid ()
virtual unsigned long GetMTime () const
MultiThreaderGetMultiThreader ()
virtual const char * GetNameOfClass () const
DataObjectPointerArraySizeType GetNumberOfInputs () const
virtual const unsigned int * GetNumberOfIterations () const
virtual const unsigned int & GetNumberOfLevels ()
virtual std::vector< SmartPointer<
DataObject > >::size_type 
GetNumberOfValidRequiredInputs () const
OutputImageTypeGetOutput (unsigned int idx)
OutputImageTypeGetOutput (void)
virtual const float & GetProgress ()
virtual int GetReferenceCount () const
virtual RegistrationTypeGetRegistrationFilter ()
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
virtual void GraftOutput (DataObject *output)
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &) const
void InvokeEvent (const EventObject &)
 itkStaticConstMacro (OutputImageDimension, unsigned int, TDeformationField::ImageDimension)
 itkStaticConstMacro (InputImageDimension, unsigned int, TDeformationField::ImageDimension)
 itkStaticConstMacro (ImageDimension, unsigned int, FixedImageType::ImageDimension)
virtual DataObjectPointer MakeOutput (unsigned int idx)
virtual void Modified () const
virtual void PopBackInput ()
virtual void PopFrontInput ()
virtual void PrepareOutputs ()
void Print (std::ostream &os, Indent indent=0) const
virtual void PropagateRequestedRegion (DataObject *output)
virtual void PushBackInput (const InputImageType *image)
virtual void PushFrontInput (const InputImageType *image)
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
virtual void ResetPipeline ()
virtual void SetAbortGenerateData (bool _arg)
void SetDebug (bool debugFlag) const
virtual void SetFixedImage (const FixedImageType *ptr)
virtual void SetFixedImagePyramid (FixedImagePyramidType *_arg)
virtual void SetInput (unsigned int, const TDeformationField *image)
virtual void SetInput (const InputImageType *image)
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetMovingImage (const MovingImageType *ptr)
virtual void SetMovingImagePyramid (MovingImagePyramidType *_arg)
virtual void SetNumberOfIterations (unsigned int data[])
virtual void SetNumberOfLevels (unsigned int num)
virtual void SetProgress (float _arg)
virtual void SetReferenceCount (int)
virtual void SetRegistrationFilter (RegistrationType *_arg)
virtual void StopRegistration ()
virtual void UnRegister () const
virtual void Update ()
virtual void UpdateLargestPossibleRegion ()
virtual void UpdateOutputData (DataObject *output)
virtual void UpdateOutputInformation ()
void UpdateProgress (float amount)
unsigned long AddObserver (const EventObject &event, Command *) const
unsigned long AddObserver (const EventObject &event, Command *)
DataObjectPointerArraySizeType GetNumberOfOutputs () const
DataObjectPointerArrayGetOutputs ()
virtual const int & GetNumberOfThreads ()
virtual void SetNumberOfThreads (int _arg)
virtual const bool & GetReleaseDataBeforeUpdateFlag ()
virtual void ReleaseDataBeforeUpdateFlagOff ()
virtual void ReleaseDataBeforeUpdateFlagOn ()
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
virtual bool GetReleaseDataFlag () const
void ReleaseDataFlagOff ()
void ReleaseDataFlagOn ()
virtual void SetReleaseDataFlag (bool flag)
virtual void SetInitialDeformationField (DeformationFieldType *ptr)

Static Public Member Functions

static void BreakOnError ()
static Pointer New ()
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static void SetGlobalWarningDisplay (bool flag)

Protected Types

typedef ImageToImageFilterDetail::ImageRegionCopier<
itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension)> 
InputToOutputRegionCopierType
typedef ImageToImageFilterDetail::ImageRegionCopier<
itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension)> 
OutputToInputRegionCopierType

Protected Member Functions

virtual void AfterThreadedGenerateData ()
virtual void AllocateOutputs ()
virtual void BeforeThreadedGenerateData ()
virtual void CacheInputReleaseDataFlags ()
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
virtual void EnlargeOutputRequestedRegion (DataObject *ptr)
virtual void GenerateData ()
virtual void GenerateInputRequestedRegion ()
virtual void GenerateOutputInformation ()
virtual void GenerateOutputRequestedRegion (DataObject *output)
virtual bool Halt ()
 MultiResolutionPDEDeformableRegistration ()
bool PrintObservers (std::ostream &os, Indent indent) const
void PrintSelf (std::ostream &os, Indent indent) const
virtual void PropagateResetPipeline ()
void PushBackInput (const DataObject *input)
void PushFrontInput (const DataObject *input)
virtual void ReleaseInputs ()
virtual void RestoreInputReleaseDataFlags ()
void SetNumberOfInputs (unsigned int num)
void SetNumberOfOutputs (unsigned int num)
virtual int SplitRequestedRegion (int i, int num, OutputImageRegionType &splitRegion)
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId) ITK_NO_RETURN
 ~MultiResolutionPDEDeformableRegistration ()
virtual void AddInput (DataObject *input)
virtual const unsigned int & GetNumberOfRequiredInputs ()
virtual void RemoveInput (DataObject *input)
virtual void SetNthInput (unsigned int num, DataObject *input)
virtual void SetNumberOfRequiredInputs (unsigned int _arg)
virtual void AddOutput (DataObject *output)
virtual const unsigned int & GetNumberOfRequiredOutputs ()
virtual void RemoveOutput (DataObject *output)
virtual void SetNthOutput (unsigned int num, DataObject *output)
virtual void SetNumberOfRequiredOutputs (unsigned int _arg)
const DataObjectGetInput (unsigned int idx) const
const DataObjectGetOutput (unsigned int idx) const
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const

Static Protected Member Functions

static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)

Protected Attributes

TimeStamp m_OutputInformationMTime
volatile int m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock
bool m_Updating


Member Typedef Documentation

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef SmartPointer<const Self> itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::ConstPointer

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

Definition at line 86 of file itkMultiResolutionPDEDeformableRegistration.h.

typedef DataObject::Pointer itk::ImageSource< TDeformationField >::DataObjectPointer [inherited]

Smart Pointer type to a DataObject.

Reimplemented from itk::ProcessObject.

Definition at line 62 of file itkImageSource.h.

typedef std::vector<DataObjectPointer> itk::ProcessObject::DataObjectPointerArray [inherited]

STL Array of SmartPointers to DataObjects

Definition at line 103 of file itkProcessObject.h.

typedef DataObjectPointerArray::size_type itk::ProcessObject::DataObjectPointerArraySizeType [inherited]

Size type of an std::vector

Definition at line 112 of file itkProcessObject.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef DemonsRegistrationFilter< FloatImageType, FloatImageType, DeformationFieldType > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::DefaultRegistrationType

The default registration type.

Definition at line 123 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef DeformationFieldType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::DeformationFieldPointer

Definition at line 107 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef TDeformationField itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::DeformationFieldType

Deformation field image type.

Definition at line 106 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef FieldExpanderType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::FieldExpanderPointer

Definition at line 138 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef VectorResampleImageFilter< DeformationFieldType, DeformationFieldType > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::FieldExpanderType

The deformation field expander type.

Definition at line 137 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef FixedImageType::ConstPointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::FixedImageConstPointer

Definition at line 98 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef FixedImageType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::FixedImagePointer

Definition at line 97 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef FixedImagePyramidType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::FixedImagePyramidPointer

Definition at line 128 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef MultiResolutionPyramidImageFilter< FixedImageType, FloatImageType > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::FixedImagePyramidType

The fixed multi-resolution image pyramid type.

Definition at line 127 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef TFixedImage itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::FixedImageType

Fixed image type.

Definition at line 93 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef Image<float,itkGetStaticConstMacro(ImageDimension)> itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::FloatImageType

Internal float image type.

Definition at line 114 of file itkMultiResolutionPDEDeformableRegistration.h.

typedef InputImageType::ConstPointer itk::ImageToImageFilter< TDeformationField , TDeformationField >::InputImageConstPointer [inherited]

Reimplemented in itk::InPlaceImageFilter< TDeformationField, TDeformationField >.

Definition at line 84 of file itkImageToImageFilter.h.

typedef InputImageType::PixelType itk::ImageToImageFilter< TDeformationField , TDeformationField >::InputImagePixelType [inherited]

Reimplemented in itk::InPlaceImageFilter< TDeformationField, TDeformationField >.

Definition at line 86 of file itkImageToImageFilter.h.

typedef InputImageType::Pointer itk::ImageToImageFilter< TDeformationField , TDeformationField >::InputImagePointer [inherited]

Reimplemented in itk::InPlaceImageFilter< TDeformationField, TDeformationField >.

Definition at line 83 of file itkImageToImageFilter.h.

typedef InputImageType::RegionType itk::ImageToImageFilter< TDeformationField , TDeformationField >::InputImageRegionType [inherited]

Reimplemented in itk::InPlaceImageFilter< TDeformationField, TDeformationField >.

Definition at line 85 of file itkImageToImageFilter.h.

typedef TDeformationField itk::ImageToImageFilter< TDeformationField , TDeformationField >::InputImageType [inherited]

Some convenient typedefs.

Reimplemented in itk::DenseFiniteDifferenceImageFilter< TDeformationField, TDeformationField >, itk::FiniteDifferenceImageFilter< TDeformationField, TDeformationField >, and itk::InPlaceImageFilter< TDeformationField, TDeformationField >.

Definition at line 82 of file itkImageToImageFilter.h.

typedef ImageToImageFilterDetail::ImageRegionCopier<itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension)> itk::ImageToImageFilter< TDeformationField , TDeformationField >::InputToOutputRegionCopierType [protected, inherited]

Typedef for the region copier function object that converts an input region to an output region.

Definition at line 164 of file itkImageToImageFilter.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef MovingImageType::ConstPointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::MovingImageConstPointer

Definition at line 103 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef MovingImageType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::MovingImagePointer

Definition at line 102 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef MovingImagePyramidType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::MovingImagePyramidPointer

Definition at line 133 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef MultiResolutionPyramidImageFilter< MovingImageType, FloatImageType > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::MovingImagePyramidType

The moving multi-resolution image pyramid type.

Definition at line 132 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef TMovingImage itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::MovingImageType

Moving image type.

Definition at line 101 of file itkMultiResolutionPDEDeformableRegistration.h.

typedef Superclass::OutputImagePixelType itk::ImageToImageFilter< TDeformationField , TDeformationField >::OutputImagePixelType [inherited]

Reimplemented from itk::ImageSource< TDeformationField >.

Reimplemented in itk::InPlaceImageFilter< TDeformationField, TDeformationField >.

Definition at line 79 of file itkImageToImageFilter.h.

typedef OutputImageType::Pointer itk::ImageSource< TDeformationField >::OutputImagePointer [inherited]

Reimplemented in itk::InPlaceImageFilter< TDeformationField, TDeformationField >.

Definition at line 69 of file itkImageSource.h.

typedef Superclass::OutputImageRegionType itk::ImageToImageFilter< TDeformationField , TDeformationField >::OutputImageRegionType [inherited]

Superclass typedefs.

Reimplemented from itk::ImageSource< TDeformationField >.

Reimplemented in itk::InPlaceImageFilter< TDeformationField, TDeformationField >.

Definition at line 75 of file itkImageToImageFilter.h.

typedef TDeformationField itk::ImageSource< TDeformationField >::OutputImageType [inherited]

Some convenient typedefs.

Reimplemented in itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >, itk::DenseFiniteDifferenceImageFilter< TDeformationField, TDeformationField >, itk::FiniteDifferenceImageFilter< TDeformationField, TDeformationField >, and itk::InPlaceImageFilter< TDeformationField, TDeformationField >.

Definition at line 65 of file itkImageSource.h.

typedef ImageToImageFilterDetail::ImageRegionCopier<itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension)> itk::ImageToImageFilter< TDeformationField , TDeformationField >::OutputToInputRegionCopierType [protected, inherited]

Typedef for the region copier function object that converts an output region to an input region.

Definition at line 169 of file itkImageToImageFilter.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef SmartPointer<Self> itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::Pointer

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

Definition at line 85 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef RegistrationType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::RegistrationPointer

Definition at line 119 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef PDEDeformableRegistrationFilter< FloatImageType, FloatImageType, DeformationFieldType > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::RegistrationType

The internal registration type.

Definition at line 118 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef MultiResolutionPDEDeformableRegistration itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::Self

Standard class typedefs

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

Definition at line 82 of file itkMultiResolutionPDEDeformableRegistration.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef ImageToImageFilter<TDeformationField, TDeformationField> itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::Superclass

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

Definition at line 84 of file itkMultiResolutionPDEDeformableRegistration.h.


Constructor & Destructor Documentation

template<class TFixedImage, class TMovingImage, class TDeformationField>
itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::MultiResolutionPDEDeformableRegistration (  )  [protected]

template<class TFixedImage, class TMovingImage, class TDeformationField>
itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >::~MultiResolutionPDEDeformableRegistration (  )  [inline, protected]

Definition at line 211 of file itkMultiResolutionPDEDeformableRegistration.h.


Member Function Documentation

virtual void itk::ProcessObject::AbortGenerateDataOff (  )  [virtual, inherited]

virtual void itk::ProcessObject::AbortGenerateDataOn (  )  [virtual, inherited]

Turn on and off the AbortGenerateData flag.

virtual void itk::ProcessObject::AddInput ( DataObject input  )  [protected, virtual, inherited]

unsigned long itk::Object::AddObserver ( const EventObject event,
Command  
) const [inherited]

unsigned long itk::Object::AddObserver ( const EventObject event,
Command  
) [inherited]

Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects

virtual void itk::ProcessObject::AddOutput ( DataObject output  )  [protected, virtual, inherited]

virtual void itk::ImageSource< TDeformationField >::AfterThreadedGenerateData ( void   )  [inline, protected, virtual, inherited]

If an imaging filter needs to perform processing after all processing threads have completed, the filter can can provide an implementation for AfterThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.

Definition at line 254 of file itkImageSource.h.

virtual void itk::ImageSource< TDeformationField >::AllocateOutputs (  )  [protected, virtual, inherited]

The GenerateData method normally allocates the buffers for all of the outputs of a filter. Some filters may want to override this default behavior. For example, a filter may have multiple outputs with varying resolution. Or a filter may want to process data in place by grafting its input to its output.

Reimplemented in itk::InPlaceImageFilter< TDeformationField, TDeformationField >.

virtual void itk::ImageSource< TDeformationField >::BeforeThreadedGenerateData ( void   )  [inline, protected, virtual, inherited]

If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.

Definition at line 242 of file itkImageSource.h.

static void itk::LightObject::BreakOnError (  )  [static, inherited]

This method is called when itkExceptionMacro executes. It allows the debugger to break on error.

virtual void itk::ProcessObject::CacheInputReleaseDataFlags (  )  [protected, virtual, inherited]

Cache the state of any ReleaseDataFlag's on the inputs. While the filter is executing, we need to set the ReleaseDataFlag's on the inputs to false in case the current filter is implemented using a mini-pipeline (which will try to release the inputs). After the filter finishes, we restore the state of the ReleaseDataFlag's before the call to ReleaseInputs().

virtual void itk::ImageToImageFilter< TDeformationField , TDeformationField >::CallCopyInputRegionToOutputRegion ( OutputImageRegionType destRegion,
const InputImageRegionType srcRegion 
) [protected, virtual, inherited]

This function calls the actual region copier to do the mapping from input image space to output image space. It uses a Function object used for dispatching to various routines to copy an input region (start index and size) to an output region. For most filters, this is a trivial copy because most filters require the input dimension to match the output dimension. However, some filters like itk::UnaryFunctorImageFilter can support output images of a higher dimension that the input.

This function object is used by the default implementation of GenerateOutputInformation(). It can also be used in routines like ThreadedGenerateData() where a filter may need to map an input region to an output region.

The default copier uses a "dispatch pattern" to call one of three overloaded functions depending on whether the input and output images are the same dimension, the input is a higher dimension that the output, or the input is of a lower dimension than the output. The use of an overloaded function is required for proper compilation of the various cases.

For the latter two cases, trivial implementations are used. If the input image is a higher dimension than the output, the first portion of the input region is copied to the output region. If the input region is a lower dimension than the output, the input region information is copied into the first portion of the output region and the rest of the output region is set to zero.

If a filter needs a different default behavior, it can override this method.

virtual void itk::ImageToImageFilter< TDeformationField , TDeformationField >::CallCopyOutputRegionToInputRegion ( InputImageRegionType destRegion,
const OutputImageRegionType srcRegion 
) [protected, virtual, inherited]

This function calls the actual region copier to do the mapping from output image space to input image space. It uses a Function object used for dispatching to various routines to copy an output region (start index and size) to an input region. For most filters, this is a trivial copy because most filters require the input dimension to match the output dimension. However, some filters like itk::ExtractImageFilter can support output images of a lower dimension that the input.

This function object can be used by GenerateOutputInformation() to copy the input LargestPossibleRegion to the output LargestPossibleRegion and can also be used in GenerateData or ThreadedGenerateData() where a filter may need to map an output region to an input region.

The default copier uses a "dispatch pattern" to call one of three overloaded functions depending on whether the input and output images are the same dimension, the input is a higher dimension that the output, or the input is of a lower dimension than the output. The use of an overloaded function is required for proper compilation of the various cases.

For the latter two cases, trivial implementations are used. If the input image is a higher dimension than the output, the output region information is copied into the first portion of the input region and the rest of the input region is set to zero. If the input region is a lower dimension than the output, the first portion of the output region is copied to the input region.

If a filter needs a different default behavior, it can override this method. The ExtractImageFilter overrides this function object so that if the input image is a higher dimension than the output image, the filter can control "where" in the input image the output subimage is extracted (as opposed to mappin