ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField > Class Template Reference

#include <itkVariationalDiffeomorphicRegistrationFilter.h>

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

Detailed Description

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

Diffeomorphic deformable registration of two images using static velocity fields.

VariationalDiffeomorphicRegistrationFilter is derived from VariationalRegistrationFilter and aims to minimize the functional

\[ (1)\quad J( \phi ) = D[R, T\circ\phi] + \alpha S[\phi] \rightarrow \min \]

with $ \phi(x)=exp(v(x))$ and $ v(x)$ is a static velocity field. Let $ f $ denote the force term corresponding to the similarity measure $ D$ and $ A$ denote the linear differential operator associated with the regularization term $ S $, VariationalDiffeomorphicRegistrationFilter implements the following iterative scheme to compute $ v$ (and $ \phi$):

The force term $ f $ is implemented in a subclass of VariationalRegistrationFunction. The computation of the regularization with $ (Id - \tau\alpha A)^{-1}$ is implemented in a subclass of VariationalRegistrationRegularizer. The exponentiation of the velocity field $ \phi(x)=exp(v(x))$ is done using the ExponentialDisplacementFieldImageFilter.

You can set SmoothUpdateFieldOn() to smooth the velocity field before exponentiation.

See Also
VariationalRegistrationFilter
VariationalRegistrationFunction
VariationalRegistrationRegularizer
ExponentialDisplacementFieldImageFilter
DenseFiniteDifferenceImageFilter
Note
This class was developed with funding from the German Research Foundation (DFG: EH 224/3-1 and HA 235/9-1).
Author
Alexander Schmidt-Richberg
Rene Werner
Jan Ehrhardt

For details see:

Definition at line 80 of file itkVariationalDiffeomorphicRegistrationFilter.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
DisplacementFieldType::Pointer 
DisplacementFieldPointer
 
typedef TDisplacementField DisplacementFieldType
 
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 SmartPointer< SelfPointer
 
typedef
Superclass::RegistrationFunctionType 
RegistrationFunctionType
 
typedef Superclass::RegularizerType RegularizerType
 
typedef
VariationalDiffeomorphicRegistrationFilter 
Self
 
typedef
VariationalRegistrationFilter
< TFixedImage, TMovingImage,
TDisplacementField > 
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
- Public Types inherited from itk::VariationalRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
typedef SmartPointer< const SelfConstPointer
 
typedef
VariationalRegistrationDemonsFunction
< FixedImageType,
MovingImageType,
DisplacementFieldType
DefaultRegistrationFunctionType
 
typedef
VariationalRegistrationDiffusionRegularizer
< DisplacementFieldType
DefaultRegularizerType
 
typedef
DisplacementFieldType::Pointer 
DisplacementFieldPointer
 
typedef TDisplacementField DisplacementFieldType
 
typedef
FixedImageType::ConstPointer 
FixedImageConstPointer
 
typedef FixedImageType::Pointer FixedImagePointer
 
typedef TFixedImage FixedImageType
 
typedef MaskImageType::ConstPointer MaskImageConstPointer
 
typedef unsigned char MaskImagePixelType
 
typedef MaskImageType::Pointer MaskImagePointer
 
typedef Image
< MaskImagePixelType,
ImageDimension
MaskImageType
 
typedef
MovingImageType::ConstPointer 
MovingImageConstPointer
 
typedef MovingImageType::Pointer MovingImagePointer
 
typedef TMovingImage MovingImageType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef
VariationalRegistrationFunction
< FixedImageType,
MovingImageType,
DisplacementFieldType
RegistrationFunctionType
 
typedef RegularizerType::Pointer RegularizerPointer
 
typedef
VariationalRegistrationRegularizer
< DisplacementFieldType
RegularizerType
 
typedef
VariationalRegistrationFilter 
Self
 
typedef
DenseFiniteDifferenceImageFilter
< TDisplacementField,
TDisplacementField > 
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
- Public Types inherited from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::FiniteDifferenceFunctionType 
FiniteDifferenceFunctionType
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef
DenseFiniteDifferenceImageFilter 
Self
 
typedef
FiniteDifferenceImageFilter
< TDisplacementField,
TDisplacementField > 
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
typedef OutputImageType UpdateBufferType
 
- Public Types inherited from itk::FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
typedef SmartPointer< const SelfConstPointer
 
typedef
FiniteDifferenceFunction
< TDisplacementField > 
FiniteDifferenceFunctionType
 
typedef TDisplacementField InputImageType
 
typedef
TDisplacementField::PixelType 
InputPixelType
 
typedef NumericTraits
< InputPixelType >::ValueType 
InputPixelValueType
 
typedef
FiniteDifferenceFunctionType::NeighborhoodScalesType 
NeighborhoodScalesType
 
typedef TDisplacementField OutputImageType
 
typedef
TDisplacementField::PixelType 
OutputPixelType
 
typedef NumericTraits
< OutputPixelType >::ValueType 
OutputPixelValueType
 
typedef OutputPixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef
FiniteDifferenceFunctionType::RadiusType 
RadiusType
 
typedef FiniteDifferenceImageFilter Self
 
typedef InPlaceImageFilter
< TDisplacementField,
TDisplacementField > 
Superclass
 
typedef
FiniteDifferenceFunctionType::TimeStepType 
TimeStepType
 
- Public Types inherited from itk::InPlaceImageFilter< 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::OutputImagePointer 
OutputImagePointer
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef InPlaceImageFilter 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 MultiThreader MultiThreaderType
 
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 () const
 
virtual DisplacementFieldTypeGetDisplacementField () override
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetNumberOfExponentiatorIterations () const
 
virtual DisplacementFieldTypeGetVelocityField ()
 
virtual void SetInitialDisplacementField (DisplacementFieldType *ptr) override
 
virtual void SetInitialVelocityField (DisplacementFieldType *ptr)
 
virtual void SetNumberOfExponentiatorIterations (unsigned int _arg)
 
- Public Member Functions inherited from itk::VariationalRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const FixedImageTypeGetFixedImage (void) const
 
virtual const MaskImageTypeGetMaskImage (void) const
 
virtual double GetMetric () const
 
virtual const MovingImageTypeGetMovingImage (void) const
 
virtual std::vector
< SmartPointer< DataObject >
>::size_type 
GetNumberOfValidRequiredInputs () const override
 
virtual const
RegularizerType::Pointer
GetRegularizer () const
 
virtual bool GetSmoothDisplacementField () const
 
virtual bool GetSmoothUpdateField () const
 
virtual void SetFixedImage (const FixedImageType *ptr)
 
virtual void SetMaskImage (const MaskImageType *ptr)
 
virtual void SetMovingImage (const MovingImageType *ptr)
 
virtual void SetRegularizer (RegularizerType *_arg)
 
virtual void SetSmoothDisplacementField (bool _arg)
 
virtual void SetSmoothUpdateField (bool _arg)
 
virtual void SmoothDisplacementFieldOff ()
 
virtual void SmoothDisplacementFieldOn ()
 
virtual void SmoothUpdateFieldOff ()
 
virtual void SmoothUpdateFieldOn ()
 
virtual void StopRegistration ()
 
- Public Member Functions inherited from itk::FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
virtual const
FiniteDifferenceFunctionType::Pointer
GetDifferenceFunction () const
 
virtual const IdentifierTypeGetElapsedIterations () const
 
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 () const
 
virtual void SetUseImageSpacing (bool _arg)
 
virtual void UseImageSpacingOn ()
 
virtual void UseImageSpacingOff ()
 
virtual const bool & GetUseImageSpacing () const
 
virtual void SetMaximumRMSError (double _arg)
 
virtual const double & GetMaximumRMSError () const
 
virtual void SetRMSChange (double _arg)
 
virtual const double & GetRMSChange () const
 
virtual void SetManualReinitialization (bool _arg)
 
virtual const bool & GetManualReinitialization () const
 
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 () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput () override
 
virtual void PopFrontInput () override
 
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 (const DataObjectIdentifierType &key, DataObject *output)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftOutput (DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderTypeGetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
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)
 
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 ()
 
const MetaDataDictionaryGetMetaDataDictionary () 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 override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
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::VariationalRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
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 = Superclass::ImageDimension
 
- Static Public Attributes inherited from itk::VariationalRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
static const unsigned int ImageDimension = Superclass::ImageDimension
 
- Static Public Attributes inherited from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
static const unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
static const unsigned int ImageDimension
 
- 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 const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TDisplacementField >
static const unsigned int OutputImageDimension
 

Protected Types

typedef
FieldExponentiatorType::Pointer 
FieldExponentiatorPointer
 
typedef
itk::ExponentialDisplacementFieldImageFilter
< DisplacementFieldType,
DisplacementFieldType
FieldExponentiatorType
 
- Protected Types inherited from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
typedef
UpdateBufferType::RegionType 
ThreadRegionType
 
- 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 Member Functions

virtual void ApplyUpdate (const TimeStepType &dt) override
 
virtual void CalcDeformationFromVelocityField (const DisplacementFieldType *velocityField)
 
virtual FieldExponentiatorPointer GetExponentiator ()
 
virtual void Initialize () override
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
 VariationalDiffeomorphicRegistrationFilter ()
 
 ~VariationalDiffeomorphicRegistrationFilter ()
 
- Protected Member Functions inherited from itk::VariationalRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
virtual void CopyInputToOutput () override
 
virtual void GenerateInputRequestedRegion () override
 
virtual void GenerateOutputInformation () override
 
virtual bool Halt () override
 
virtual void InitializeIteration () override
 
 VariationalRegistrationFilter ()
 
virtual void VerifyInputInformation () override
 
 ~VariationalRegistrationFilter ()
 
RegistrationFunctionTypeDownCastDifferenceFunctionType ()
 
const RegistrationFunctionTypeDownCastDifferenceFunctionType () const
 
- Protected Member Functions inherited from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
virtual void AllocateUpdateBuffer () override
 
virtual TimeStepType CalculateChange () override
 
 DenseFiniteDifferenceImageFilter ()
 
virtual UpdateBufferTypeGetUpdateBuffer ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void ThreadedApplyUpdate (const TimeStepType &dt, const ThreadRegionType &regionToProcess, ThreadIdType threadId)
 
virtual TimeStepType ThreadedCalculateChange (const ThreadRegionType &regionToProcess, ThreadIdType threadId)
 
 ~DenseFiniteDifferenceImageFilter () override
 
- Protected Member Functions inherited from itk::FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
virtual void ApplyUpdate (const TimeStepType &dt)=0
 
 FiniteDifferenceImageFilter ()
 
virtual void GenerateData () override
 
virtual void PostProcessOutput ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
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 () override
 
- Protected Member Functions inherited from itk::InPlaceImageFilter< TDisplacementField, TDisplacementField >
virtual void AllocateOutputs () override
 
virtual bool GetRunningInPlace () const
 
 InPlaceImageFilter ()
 
virtual void ReleaseInputs () override
 
 ~InPlaceImageFilter () override
 
- 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 () override
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
- Protected Member Functions inherited from itk::ImageSource< TDisplacementField >
virtual void AfterThreadedGenerateData ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource () override
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (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 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 () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
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 () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

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

Private Attributes

DisplacementFieldPointer m_DisplacementField
 
FieldExponentiatorPointer m_Exponentiator
 
unsigned int m_NumberOfExponentiatorIterations
 

Additional Inherited Members

- 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::FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
IdentifierType m_ElapsedIterations
 
bool m_IsInitialized
 
bool m_ManualReinitialization
 
double m_MaximumRMSError
 
IdentifierType m_NumberOfIterations
 
double m_RMSChange
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef SmartPointer<const Self> itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::ConstPointer
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef DisplacementFieldType::Pointer itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldPointer
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef TDisplacementField itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldType

Deformation field type.

Definition at line 111 of file itkVariationalDiffeomorphicRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef FieldExponentiatorType::Pointer itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FieldExponentiatorPointer
protected

Typename for the exponentiator.

Definition at line 169 of file itkVariationalDiffeomorphicRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef itk::ExponentialDisplacementFieldImageFilter< DisplacementFieldType, DisplacementFieldType> itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FieldExponentiatorType
protected

Exponential field calculator type.

Definition at line 166 of file itkVariationalDiffeomorphicRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef FixedImageType::ConstPointer itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FixedImageConstPointer
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef FixedImageType::Pointer itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FixedImagePointer
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef TFixedImage itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FixedImageType

FixedImage image type.

Definition at line 101 of file itkVariationalDiffeomorphicRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef MovingImageType::ConstPointer itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::MovingImageConstPointer
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef MovingImageType::Pointer itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::MovingImagePointer
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef TMovingImage itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::MovingImageType

MovingImage image type.

Definition at line 106 of file itkVariationalDiffeomorphicRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef Superclass::OutputImageType itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::OutputImageType

Types inherited from the superclass

Definition at line 115 of file itkVariationalDiffeomorphicRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef SmartPointer<Self> itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::Pointer
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef Superclass::RegistrationFunctionType itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::RegistrationFunctionType
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef Superclass::RegularizerType itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::RegularizerType

Regularizer type.

Definition at line 121 of file itkVariationalDiffeomorphicRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef VariationalDiffeomorphicRegistrationFilter itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::Self

Standard class typedefs

Definition at line 85 of file itkVariationalDiffeomorphicRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef VariationalRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField > itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::Superclass
template<class TFixedImage , class TMovingImage , class TDisplacementField >
typedef Superclass::TimeStepType itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::TimeStepType

The value type of a time step. Inherited from the superclass.

Definition at line 124 of file itkVariationalDiffeomorphicRegistrationFilter.h.

Constructor & Destructor Documentation

template<class TFixedImage , class TMovingImage , class TDisplacementField >
itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::VariationalDiffeomorphicRegistrationFilter ( )
protected
template<class TFixedImage , class TMovingImage , class TDisplacementField >
itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::~VariationalDiffeomorphicRegistrationFilter ( )
inlineprotected
template<class TFixedImage , class TMovingImage , class TDisplacementField >
itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::VariationalDiffeomorphicRegistrationFilter ( const Self )
private

Member Function Documentation

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::ApplyUpdate ( const TimeStepType dt)
overrideprotectedvirtual
template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::CalcDeformationFromVelocityField ( const DisplacementFieldType velocityField)
protectedvirtual

Calculates the deformation field by calculating the exponential of the velocity field.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual::itk::LightObject::Pointer itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::CreateAnother ( ) 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.

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

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual DisplacementFieldType* itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetDisplacementField ( void  )
inlineoverridevirtual
template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual FieldExponentiatorPointer itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetExponentiator ( )
inlineprotectedvirtual

Get the exponentiator used to compute a displacement from a velocity field.

Definition at line 172 of file itkVariationalDiffeomorphicRegistrationFilter.h.

References itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::m_Exponentiator.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual const char* itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetNameOfClass ( ) const
virtual
template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual unsigned int itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetNumberOfExponentiatorIterations ( ) const
virtual

Get the desired number of iterations for the exponentiator.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual DisplacementFieldType* itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetVelocityField ( )
inlinevirtual

Get output velocity field.

Definition at line 144 of file itkVariationalDiffeomorphicRegistrationFilter.h.

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

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::Initialize ( )
overrideprotectedvirtual
template<class TFixedImage , class TMovingImage , class TDisplacementField >
static Pointer itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::New ( )
static

Method for creation through the object factory.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
void itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::operator= ( const Self )
private
template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual
template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetInitialDisplacementField ( DisplacementFieldType ptr)
overridevirtual

Set initial deformation field.

Warning
This can't be used for diffeomorphic registration.

Reimplemented from itk::VariationalRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetInitialVelocityField ( DisplacementFieldType ptr)
inlinevirtual
template<class TFixedImage , class TMovingImage , class TDisplacementField >
virtual void itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetNumberOfExponentiatorIterations ( unsigned int  _arg)
virtual

Set the desired number of iterations for the exponentiator.

Member Data Documentation

template<class TFixedImage , class TMovingImage , class TDisplacementField >
const unsigned int itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::ImageDimension = Superclass::ImageDimension
static

Get image dimension.

Definition at line 98 of file itkVariationalDiffeomorphicRegistrationFilter.h.

template<class TFixedImage , class TMovingImage , class TDisplacementField >
DisplacementFieldPointer itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::m_DisplacementField
private
template<class TFixedImage , class TMovingImage , class TDisplacementField >
FieldExponentiatorPointer itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::m_Exponentiator
private
template<class TFixedImage , class TMovingImage , class TDisplacementField >
unsigned int itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::m_NumberOfExponentiatorIterations
private

Number of iterations for exponentiation (self composing) of velocity field.

Definition at line 184 of file itkVariationalDiffeomorphicRegistrationFilter.h.


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