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

#include <itkPDEDeformableRegistrationFilter.h>

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

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
DisplacementFieldType::Pointer 
DisplacementFieldPointer
typedef TDisplacementField DisplacementFieldType
typedef
Superclass::FiniteDifferenceFunctionType 
FiniteDifferenceFunctionType
typedef
FixedImageType::ConstPointer 
FixedImageConstPointer
typedef FixedImageType::Pointer FixedImagePointer
typedef TFixedImage FixedImageType
typedef
MovingImageType::ConstPointer 
MovingImageConstPointer
typedef MovingImageType::Pointer MovingImagePointer
typedef TMovingImage MovingImageType
typedef Superclass::OutputImageType OutputImageType
typedef
PDEDeformableRegistrationFunction
< FixedImageType,
MovingImageType,
DisplacementFieldType
PDEDeformableRegistrationFunctionType
typedef SmartPointer< SelfPointer
typedef
PDEDeformableRegistrationFilter 
Self
typedef FixedArray< double,
ImageDimension
StandardDeviationsType
typedef
DenseFiniteDifferenceImageFilter
< TDisplacementField,
TDisplacementField > 
Superclass
- Public Types inherited from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
typedef Superclass::InputImageType InputImageType
typedef Superclass::PixelType PixelType
typedef Superclass::TimeStepType TimeStepType
typedef OutputImageType UpdateBufferType
- Public Types inherited from itk::FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
typedef
TDisplacementField::PixelType 
InputPixelType
typedef NumericTraits
< InputPixelType >::ValueType 
InputPixelValueType
typedef
FiniteDifferenceFunctionType::NeighborhoodScalesType 
NeighborhoodScalesType
typedef
TDisplacementField::PixelType 
OutputPixelType
typedef NumericTraits
< OutputPixelType >::ValueType 
OutputPixelValueType
typedef
FiniteDifferenceFunctionType::RadiusType 
RadiusType
- Public Types inherited from itk::InPlaceImageFilter< TDisplacementField, TDisplacementField >
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef InputImageType::PixelType InputImagePixelType
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::RegionType InputImageRegionType
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
typedef
Superclass::OutputImagePointer 
OutputImagePointer
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
- Public Types inherited from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >
- Public Types inherited from itk::ImageSource< TDisplacementField >
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
typedef DataObject::Pointer DataObjectPointer
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
- Public Types inherited from itk::ProcessObject
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
typedef std::vector
< DataObjectIdentifierType
NameArray
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
DisplacementFieldTypeGetDisplacementField ()
const FixedImageTypeGetFixedImage (void) const
const MovingImageTypeGetMovingImage (void) const
virtual const char * GetNameOfClass () const
virtual std::vector
< SmartPointer< DataObject >
>::size_type 
GetNumberOfValidRequiredInputs () const
virtual const
StandardDeviationsType
GetStandardDeviations ()
virtual const
StandardDeviationsType
GetUpdateFieldStandardDeviations ()
void SetFixedImage (const FixedImageType *ptr)
void SetInitialDisplacementField (const DisplacementFieldType *ptr)
void SetMovingImage (const MovingImageType *ptr)
virtual void StopRegistration ()
virtual void SetSmoothDisplacementField (bool _arg)
virtual bool GetSmoothDisplacementField () const
virtual void SmoothDisplacementFieldOn ()
virtual void SmoothDisplacementFieldOff ()
virtual void SetStandardDeviations (StandardDeviationsType _arg)
virtual void SetStandardDeviations (double value)
virtual void SetSmoothUpdateField (bool _arg)
virtual bool GetSmoothUpdateField () const
virtual void SmoothUpdateFieldOn ()
virtual void SmoothUpdateFieldOff ()
virtual void SetUpdateFieldStandardDeviations (StandardDeviationsType _arg)
virtual void SetUpdateFieldStandardDeviations (double value)
virtual void SetMaximumError (double _arg)
virtual double GetMaximumError () const
- Public Member Functions inherited from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
 typedef (Concept::MultiplyOperator< PixelType, double >) OutputTimesDoubleCheck
 typedef (Concept::AdditiveOperators< PixelType >) OutputAdditiveOperatorsCheck
 typedef (Concept::AdditiveAndAssignOperators< PixelType >) OutputAdditiveAndAssignOperatorsCheck
 typedef (Concept::Convertible< typename TDisplacementField::PixelType, PixelType >) InputConvertibleToOutputCheck
- Public Member Functions inherited from itk::FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
virtual const
FiniteDifferenceFunctionType::Pointer
GetDifferenceFunction () const
virtual const IdentifierTypeGetElapsedIterations ()
virtual bool GetIsInitialized ()
virtual void SetDifferenceFunction (FiniteDifferenceFunctionType *_arg)
virtual void SetIsInitialized (bool _arg)
void SetStateToInitialized ()
void SetStateToUninitialized ()
virtual void SetNumberOfIterations (IdentifierType _arg)
virtual const IdentifierTypeGetNumberOfIterations ()
virtual void SetUseImageSpacing (bool _arg)
virtual void UseImageSpacingOn ()
virtual void UseImageSpacingOff ()
virtual const bool & GetUseImageSpacing ()
virtual void SetMaximumRMSError (double _arg)
virtual const double & GetMaximumRMSError ()
virtual void SetRMSChange (double _arg)
virtual const double & GetRMSChange ()
virtual void SetManualReinitialization (bool _arg)
virtual const bool & GetManualReinitialization ()
virtual void ManualReinitializationOn ()
virtual void ManualReinitializationOff ()
- Public Member Functions inherited from itk::InPlaceImageFilter< TDisplacementField, TDisplacementField >
virtual bool CanRunInPlace () const
virtual void SetInPlace (bool _arg)
virtual bool GetInPlace () const
virtual void InPlaceOn ()
virtual void InPlaceOff ()
- 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)
- 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)
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
virtual void AbortGenerateDataOn ()
virtual void EnlargeOutputRequestedRegion (DataObject *)
virtual const bool & GetAbortGenerateData ()
NameArray GetInputNames () const
MultiThreader * GetMultiThreader () const
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
DataObjectPointerArraySizeType GetNumberOfInputs () const
DataObjectPointerArraySizeType GetNumberOfOutputs () const
NameArray GetOutputNames () const
virtual const float & GetProgress ()
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 SetProgress (float _arg)
virtual void Update ()
virtual void UpdateLargestPossibleRegion ()
virtual void UpdateOutputData (DataObject *output)
virtual void UpdateOutputInformation ()
void UpdateProgress (float amount)
DataObjectPointerArray GetInputs ()
DataObjectPointerArray GetOutputs ()
DataObjectPointerArray GetIndexedInputs ()
DataObjectPointerArray GetIndexedOutputs ()
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
virtual void SetReleaseDataFlag (bool flag)
virtual bool GetReleaseDataFlag () const
void ReleaseDataFlagOn ()
void ReleaseDataFlagOff ()
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
virtual const bool & GetReleaseDataBeforeUpdateFlag ()
virtual void ReleaseDataBeforeUpdateFlagOn ()
virtual void ReleaseDataBeforeUpdateFlagOff ()
virtual void SetNumberOfThreads (ThreadIdType _arg)
virtual const ThreadIdTypeGetNumberOfThreads ()
- 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 unsigned long 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
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () 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 Attributes

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

Protected Member Functions

virtual void CopyInputToOutput ()
virtual void GenerateInputRequestedRegion ()
virtual void GenerateOutputInformation ()
virtual bool Halt ()
virtual void Initialize ()
virtual void InitializeIteration ()
virtual void PostProcessOutput ()
virtual void SmoothDisplacementField ()
virtual void SmoothUpdateField ()
- Protected Member Functions inherited from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
virtual void AllocateUpdateBuffer ()
virtual void ApplyUpdate (const TimeStepType &dt)
virtual TimeStepType CalculateChange ()
virtual UpdateBufferTypeGetUpdateBuffer ()
virtual void ThreadedApplyUpdate (const TimeStepType &dt, const ThreadRegionType &regionToProcess, ThreadIdType threadId)
virtual TimeStepType ThreadedCalculateChange (const ThreadRegionType &regionToProcess, ThreadIdType threadId)
 DenseFiniteDifferenceImageFilter ()
 ~DenseFiniteDifferenceImageFilter ()
- Protected Member Functions inherited from itk::FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
virtual void ApplyUpdate (const TimeStepType &dt)=0
 FiniteDifferenceImageFilter ()
virtual void GenerateData ()
virtual TimeStepType ResolveTimeStep (const std::vector< TimeStepType > &timeStepList, const std::vector< bool > &valid) const
virtual void SetElapsedIterations (IdentifierType _arg)
virtual bool ThreadedHalt (void *)
virtual ~FiniteDifferenceImageFilter ()
- Protected Member Functions inherited from itk::InPlaceImageFilter< TDisplacementField, TDisplacementField >
virtual void AllocateOutputs ()
virtual bool GetRunningInPlace () const
 InPlaceImageFilter ()
virtual void ReleaseInputs ()
 ~InPlaceImageFilter ()
- 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 ()
virtual void VerifyInputInformation ()
 ~ImageToImageFilter ()
void PushBackInput (const DataObject *input)
void PushFrontInput (const DataObject *input)
- Protected Member Functions inherited from itk::ImageSource< TDisplacementField >
virtual void AfterThreadedGenerateData ()
virtual void BeforeThreadedGenerateData ()
 ImageSource ()
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int num, 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)
bool AddRequiredInputName (const DataObjectIdentifierType &)
virtual void CacheInputReleaseDataFlags ()
virtual void GenerateOutputRequestedRegion (DataObject *output)
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs ()
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs ()
bool IsIndexedName (const DataObjectIdentifierType &) const
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
DataObjectPointerArraySizeType MakeIndexFromName (const DataObjectIdentifierType &) const
DataObjectIdentifierType MakeNameFromIndex (DataObjectPointerArraySizeType) const
 ProcessObject ()
virtual void PropagateResetPipeline ()
virtual void RemoveInput (const DataObjectIdentifierType &key)
virtual void RemoveInput (DataObjectPointerArraySizeType)
virtual void RemoveOutput (const DataObjectIdentifierType &key)
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
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 SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
virtual void SetPrimaryInput (DataObject *input)
virtual void SetPrimaryOutput (DataObject *output)
void SetRequiredInputNames (const NameArray &)
virtual void VerifyPreconditions ()
 ~ProcessObject ()
DataObjectGetInput (const DataObjectIdentifierType &key)
const DataObjectGetInput (const DataObjectIdentifierType &key) const
DataObjectGetInput (DataObjectPointerArraySizeType)
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryInput ()
const DataObjectGetPrimaryInput () const
DataObjectGetOutput (const DataObjectIdentifierType &key)
const DataObjectGetOutput (const DataObjectIdentifierType &key) 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

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

Private Attributes

double m_MaximumError
unsigned int m_MaximumKernelWidth
bool m_SmoothDisplacementField
bool m_SmoothUpdateField
StandardDeviationsType m_StandardDeviations
bool m_StopRegistrationFlag
DisplacementFieldPointer m_TempField
StandardDeviationsType m_UpdateFieldStandardDeviations
virtual void SetMaximumKernelWidth (unsigned int _arg)
virtual unsigned int GetMaximumKernelWidth () const
 PDEDeformableRegistrationFilter ()
 ~PDEDeformableRegistrationFilter ()
void PrintSelf (std::ostream &os, Indent indent) const

Additional Inherited Members

- Protected Types inherited from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
typedef
UpdateBufferType::RegionType 
ThreadRegionType

Detailed Description

template<class TFixedImage, class TMovingImage, class TDisplacementField>
class itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >

Deformably register two images using a PDE algorithm.

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

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

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

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

The output displacement field can be obtained via methods GetOutput or GetDisplacementField.

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

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

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

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

Definition at line 73 of file itkPDEDeformableRegistrationFilter.h.


Member Typedef Documentation

template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef SmartPointer< const Self > itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::ConstPointer
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef DisplacementFieldType::Pointer itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldPointer
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef TDisplacementField itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldType
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef Superclass::FiniteDifferenceFunctionType itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FiniteDifferenceFunctionType
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef FixedImageType::ConstPointer itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FixedImageConstPointer

Definition at line 94 of file itkPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef FixedImageType::Pointer itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FixedImagePointer
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef TFixedImage itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FixedImageType
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef MovingImageType::ConstPointer itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::MovingImageConstPointer

Definition at line 99 of file itkPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef MovingImageType::Pointer itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::MovingImagePointer
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef TMovingImage itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::MovingImageType
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef Superclass::OutputImageType itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::OutputImageType

Types inherithed from the superclass

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

Definition at line 111 of file itkPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef PDEDeformableRegistrationFunction< FixedImageType, MovingImageType, DisplacementFieldType > itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::PDEDeformableRegistrationFunctionType

PDEDeformableRegistrationFilterFunction type.

Definition at line 119 of file itkPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef SmartPointer< Self > itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::Pointer
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef PDEDeformableRegistrationFilter itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::Self
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef FixedArray< double, ImageDimension > itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::StandardDeviationsType

Definition at line 172 of file itkPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField > itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::Superclass

Constructor & Destructor Documentation

template<class TFixedImage , class TMovingImage , class TDisplacementField >
itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::PDEDeformableRegistrationFilter ( )
protected

Set/Get the desired limits of the Gaussian kernel width.

See also:
GaussianOperator.
template<class TFixedImage , class TMovingImage , class TDisplacementField >
itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::~PDEDeformableRegistrationFilter ( )
inlineprotected

Set/Get the desired limits of the Gaussian kernel width.

See also:
GaussianOperator.

Definition at line 243 of file itkPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::PDEDeformableRegistrationFilter ( const Self )
private

Member Function Documentation

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::CopyInputToOutput ( )
protectedvirtual

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

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

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

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

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

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

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GenerateOutputInformation ( )
protectedvirtual

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

Reimplemented from itk::ProcessObject.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
DisplacementFieldType* itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetDisplacementField ( void  )
inline

Get output displacement field.

Definition at line 142 of file itkPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
const FixedImageType* itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetFixedImage ( void  ) const

Get the fixed image.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual double itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetMaximumError ( ) const
virtual

Set/Get the desired maximum error of the Guassian kernel approximate.

See also:
GaussianOperator.
template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual unsigned int itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetMaximumKernelWidth ( ) const
virtual

Set/Get the desired limits of the Gaussian kernel width.

See also:
GaussianOperator.
template<class TFixedImage , class TMovingImage , class TDisplacementField >
const MovingImageType* itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetMovingImage ( void  ) const

Get the moving image.

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

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

Reimplemented from itk::ProcessObject.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual bool itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetSmoothDisplacementField ( ) const
virtual

Set/Get whether the displacement field is smoothed (regularized). Smoothing the displacement yields a solution elastic in nature. If SmoothDisplacementField is on, then the displacement field is smoothed with a Gaussian whose standard deviations are specified with SetStandardDeviations()

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual bool itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetSmoothUpdateField ( ) const
virtual

Set/Get whether the update field is smoothed (regularized). Smoothing the update field yields a solution viscous in nature. If SmoothUpdateField is on, then the update field is smoothed with a Gaussian whose standard deviations are specified with SetUpdateFieldStandardDeviations()

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual const StandardDeviationsType& itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetStandardDeviations ( )
virtual

Get the Gaussian smoothing standard deviations use for smoothing the displacement field.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual const StandardDeviationsType& itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetUpdateFieldStandardDeviations ( )
virtual

Get the Gaussian smoothing standard deviations used for smoothing the update field.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual bool itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::Halt ( )
inlineprotectedvirtual

Supplies the halting criteria for this class of filters. The algorithm will stop after a user-specified number of iterations.

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

Reimplemented in itk::LevelSetMotionRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.

Definition at line 249 of file itkPDEDeformableRegistrationFilter.h.

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

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

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

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

Set the fixed image.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetInitialDisplacementField ( const DisplacementFieldType ptr)
inline

Set initial displacement field.

Definition at line 138 of file itkPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetMaximumError ( double  _arg)
virtual

Set/Get the desired maximum error of the Guassian kernel approximate.

See also:
GaussianOperator.
template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetMaximumKernelWidth ( unsigned int  _arg)
virtual

Set/Get the desired limits of the Gaussian kernel width.

See also:
GaussianOperator.
template<class TFixedImage , class TMovingImage , class TDisplacementField >
void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetMovingImage ( const MovingImageType ptr)

Set the moving image.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetSmoothDisplacementField ( bool  _arg)
virtual

Set/Get whether the displacement field is smoothed (regularized). Smoothing the displacement yields a solution elastic in nature. If SmoothDisplacementField is on, then the displacement field is smoothed with a Gaussian whose standard deviations are specified with SetStandardDeviations()

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetSmoothUpdateField ( bool  _arg)
virtual

Set/Get whether the update field is smoothed (regularized). Smoothing the update field yields a solution viscous in nature. If SmoothUpdateField is on, then the update field is smoothed with a Gaussian whose standard deviations are specified with SetUpdateFieldStandardDeviations()

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetStandardDeviations ( StandardDeviationsType  _arg)
virtual

Set the Gaussian smoothing standard deviations for the displacement field. The values are set with respect to pixel coordinates.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetStandardDeviations ( double  value)
virtual

Set the Gaussian smoothing standard deviations for the displacement field. The values are set with respect to pixel coordinates.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetUpdateFieldStandardDeviations ( StandardDeviationsType  _arg)
virtual

Set the Gaussian smoothing standard deviations for the update field. The values are set with respect to pixel coordinates.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetUpdateFieldStandardDeviations ( double  value)
virtual

Set the Gaussian smoothing standard deviations for the update field. The values are set with respect to pixel coordinates.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SmoothDisplacementField ( )
protectedvirtual

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

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SmoothDisplacementFieldOff ( )
virtual

Set/Get whether the displacement field is smoothed (regularized). Smoothing the displacement yields a solution elastic in nature. If SmoothDisplacementField is on, then the displacement field is smoothed with a Gaussian whose standard deviations are specified with SetStandardDeviations()

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SmoothDisplacementFieldOn ( )
virtual

Set/Get whether the displacement field is smoothed (regularized). Smoothing the displacement yields a solution elastic in nature. If SmoothDisplacementField is on, then the displacement field is smoothed with a Gaussian whose standard deviations are specified with SetStandardDeviations()

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SmoothUpdateField ( )
protectedvirtual

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

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SmoothUpdateFieldOff ( )
virtual

Set/Get whether the update field is smoothed (regularized). Smoothing the update field yields a solution viscous in nature. If SmoothUpdateField is on, then the update field is smoothed with a Gaussian whose standard deviations are specified with SetUpdateFieldStandardDeviations()

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SmoothUpdateFieldOn ( )
virtual

Set/Get whether the update field is smoothed (regularized). Smoothing the update field yields a solution viscous in nature. If SmoothUpdateField is on, then the update field is smoothed with a Gaussian whose standard deviations are specified with SetUpdateFieldStandardDeviations()

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::StopRegistration ( )
inlinevirtual

Stop the registration after the current iteration.

Definition at line 228 of file itkPDEDeformableRegistrationFilter.h.


Member Data Documentation

template<class TFixedImage , class TMovingImage , class TDisplacementField >
const unsigned int itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::ImageDimension = Superclass::ImageDimension
static
template<class TFixedImage , class TMovingImage , class TDisplacementField >
double itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::m_MaximumError
private

Maximum error for Gaussian operator approximation.

Definition at line 322 of file itkPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
unsigned int itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::m_MaximumKernelWidth
private

Limits of Guassian kernel width.

Definition at line 325 of file itkPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
bool itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::m_SmoothDisplacementField
private

Modes to control smoothing of the update and displacement fields

Definition at line 313 of file itkPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
bool itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::m_SmoothUpdateField
private

Definition at line 314 of file itkPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
StandardDeviationsType itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::m_StandardDeviations
private

Standard deviation for Gaussian smoothing

Definition at line 309 of file itkPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
bool itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::m_StopRegistrationFlag
private

Flag to indicate user stop registration request.

Definition at line 328 of file itkPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
DisplacementFieldPointer itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::m_TempField
private

Temporary displacement field use for smoothing the the displacement field.

Definition at line 318 of file itkPDEDeformableRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
StandardDeviationsType itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::m_UpdateFieldStandardDeviations
private

Definition at line 310 of file itkPDEDeformableRegistrationFilter.h.


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