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

#include <itkVariationalSymmetricDiffeomorphicRegistrationFilter.h>

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

Detailed Description

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
class itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >

Symmetric diffeomorphic deformable registration of two images using static velocity fields.

VariationalSymmetricDiffeomorphicRegistrationFilter is derived from VariationalRegistrationFilter and aims to minimize the functional

\[ (1)\quad J( \phi ) = \frac{1}{2} (D[R, T\circ\phi] + D[R\circ\phi^{-1}, T]) + \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 $, VariationalSymmetricDiffeomorphicRegistrationFilter 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
VariationalDiffeomorphicRegistrationFilter
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 90 of file itkVariationalSymmetricDiffeomorphicRegistrationFilter.h.

Public Types

using ConstPointer = SmartPointer< const Self >
 
using DisplacementFieldPointer = typename DisplacementFieldType::Pointer
 
using DisplacementFieldType = TDisplacementField
 
using FixedImageConstPointer = typename FixedImageType::ConstPointer
 
using FixedImagePointer = typename FixedImageType::Pointer
 
using FixedImageType = TFixedImage
 
using MovingImageConstPointer = typename MovingImageType::ConstPointer
 
using MovingImagePointer = typename MovingImageType::Pointer
 
using MovingImageType = TMovingImage
 
using OutputImageType = typename Superclass::OutputImageType
 
using Pointer = SmartPointer< Self >
 
using RegistrationFunctionType = typename Superclass::RegistrationFunctionType
 
using RegularizerType = typename Superclass::RegularizerType
 
using Self = VariationalSymmetricDiffeomorphicRegistrationFilter
 
using Superclass = VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
 
using TimeStepType = typename Superclass::TimeStepType
 
using UpdateBufferType = OutputImageType
 
- Public Types inherited from itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
using ConstPointer = SmartPointer< const Self >
 
using DisplacementFieldPointer = typename DisplacementFieldType::Pointer
 
using DisplacementFieldType = TDisplacementField
 
using FixedImageConstPointer = typename FixedImageType::ConstPointer
 
using FixedImagePointer = typename FixedImageType::Pointer
 
using FixedImageType = TFixedImage
 
using MovingImageConstPointer = typename MovingImageType::ConstPointer
 
using MovingImagePointer = typename MovingImageType::Pointer
 
using MovingImageType = TMovingImage
 
using OutputImageType = typename Superclass::OutputImageType
 
using Pointer = SmartPointer< Self >
 
using RegistrationFunctionType = typename Superclass::RegistrationFunctionType
 
using RegularizerType = typename Superclass::RegularizerType
 
using Self = VariationalDiffeomorphicRegistrationFilter
 
using Superclass = VariationalRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
 
using TimeStepType = typename Superclass::TimeStepType
 
- Public Types inherited from itk::VariationalRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
using ConstPointer = SmartPointer< const Self >
 
using DefaultRegistrationFunctionType = VariationalRegistrationDemonsFunction< FixedImageType, MovingImageType, DisplacementFieldType >
 
using DefaultRegularizerType = VariationalRegistrationDiffusionRegularizer< DisplacementFieldType >
 
using DisplacementFieldPointer = typename DisplacementFieldType::Pointer
 
using DisplacementFieldType = TDisplacementField
 
using FixedImageConstPointer = typename FixedImageType::ConstPointer
 
using FixedImagePointer = typename FixedImageType::Pointer
 
using FixedImageType = TFixedImage
 
using MaskImageConstPointer = typename MaskImageType::ConstPointer
 
using MaskImagePixelType = unsigned char
 
using MaskImagePointer = typename MaskImageType::Pointer
 
using MaskImageType = Image< MaskImagePixelType, ImageDimension >
 
using MovingImageConstPointer = typename MovingImageType::ConstPointer
 
using MovingImagePointer = typename MovingImageType::Pointer
 
using MovingImageType = TMovingImage
 
using OutputImageType = typename Superclass::OutputImageType
 
using Pointer = SmartPointer< Self >
 
using RegistrationFunctionType = VariationalRegistrationFunction< FixedImageType, MovingImageType, DisplacementFieldType >
 
using RegularizerPointer = typename RegularizerType::Pointer
 
using RegularizerType = VariationalRegistrationRegularizer< DisplacementFieldType >
 
using Self = VariationalRegistrationFilter
 
using Superclass = DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
 
using TimeStepType = typename Superclass::TimeStepType
 
- Public Types inherited from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
using ConstPointer = SmartPointer< const Self >
 
using FiniteDifferenceFunctionType = typename Superclass::FiniteDifferenceFunctionType
 
using InputImageType = typename Superclass::InputImageType
 
using OutputImageType = typename Superclass::OutputImageType
 
using PixelType = typename Superclass::PixelType
 
using Pointer = SmartPointer< Self >
 
using Self = DenseFiniteDifferenceImageFilter
 
using Superclass = FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
 
using TimeStepType = typename Superclass::TimeStepType
 
using UpdateBufferType = OutputImageType
 
- Public Types inherited from itk::FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
using ConstPointer = SmartPointer< const Self >
 
using FiniteDifferenceFunctionType = FiniteDifferenceFunction< TDisplacementField >
 
using InputImageType = TDisplacementField
 
using InputPixelType = typename TDisplacementField::PixelType
 
using InputPixelValueType = typename NumericTraits< InputPixelType >::ValueType
 
using NeighborhoodScalesType = typename FiniteDifferenceFunctionType::NeighborhoodScalesType
 
using OutputImageType = TDisplacementField
 
using OutputPixelType = typename TDisplacementField::PixelType
 
using OutputPixelValueType = typename NumericTraits< OutputPixelType >::ValueType
 
using PixelType = OutputPixelType
 
using Pointer = SmartPointer< Self >
 
using RadiusType = typename FiniteDifferenceFunctionType::RadiusType
 
using Self = FiniteDifferenceImageFilter
 
using Superclass = InPlaceImageFilter< TDisplacementField, TDisplacementField >
 
using TimeStepType = typename FiniteDifferenceFunctionType::TimeStepType
 
- Public Types inherited from itk::InPlaceImageFilter< TDisplacementField, TDisplacementField >
using ConstPointer = SmartPointer< const Self >
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TDisplacementField
 
using OutputImagePixelType = typename Superclass::OutputImagePixelType
 
using OutputImagePointer = typename Superclass::OutputImagePointer
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
using OutputImageType = typename Superclass::OutputImageType
 
using Pointer = SmartPointer< Self >
 
using Self = InPlaceImageFilter
 
using Superclass = ImageToImageFilter< TDisplacementField, TDisplacementField >
 
- Public Types inherited from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >
using ConstPointer = SmartPointer< const Self >
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TDisplacementField
 
using OutputImagePixelType = typename Superclass::OutputImagePixelType
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
using Pointer = SmartPointer< Self >
 
using Self = ImageToImageFilter
 
using Superclass = ImageSource< TDisplacementField >
 
- Public Types inherited from itk::ImageSource< TDisplacementField >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType
 
using OutputImagePixelType = typename OutputImageType::PixelType
 
using OutputImagePointer = typename OutputImageType::Pointer
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TDisplacementField
 
using Pointer = SmartPointer< Self >
 
using Self = ImageSource
 
using Superclass = ProcessObject
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector< DataObjectPointer >
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using MultiThreaderType = MultiThreaderBase
 
using NameArray = std::vector< DataObjectIdentifierType >
 
using Pointer = SmartPointer< Self >
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const
DisplacementFieldType
GetInverseDisplacementField () const
 
virtual DisplacementFieldTypeGetModifiableInverseDisplacementField ()
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
DisplacementFieldTypeGetDisplacementField () override
 
virtual unsigned int GetNumberOfExponentiatorIterations () const
 
virtual DisplacementFieldTypeGetVelocityField ()
 
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 const FixedImageTypeGetFixedImage (void) const
 
virtual const MaskImageTypeGetMaskImage (void) const
 
virtual double GetMetric () const
 
virtual const MovingImageTypeGetMovingImage (void) const
 
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
 
void PopBackInput () override
 
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)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftOutput (DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
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)
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (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 SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () 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
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexceptoverride
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
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::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
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 constexpr unsigned int ImageDimension = Superclass::ImageDimension
 
- Static Public Attributes inherited from itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
static constexpr unsigned int ImageDimension = Superclass::ImageDimension
 
- Static Public Attributes inherited from itk::VariationalRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
static constexpr unsigned int ImageDimension = Superclass::ImageDimension
 
- Static Public Attributes inherited from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
static constexpr unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
static constexpr unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::InPlaceImageFilter< TDisplacementField, TDisplacementField >
static constexpr unsigned int InputImageDimension
 
static constexpr unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >
static constexpr unsigned int InputImageDimension
 
static constexpr unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TDisplacementField >
static constexpr unsigned int OutputImageDimension
 

Protected Types

using ThreadRegionType = typename UpdateBufferType::RegionType
 
- Protected Types inherited from itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
using FieldExponentiatorPointer = typename FieldExponentiatorType::Pointer
 
using FieldExponentiatorType = itk::ExponentialDisplacementFieldImageFilter< DisplacementFieldType, DisplacementFieldType >
 
- Protected Types inherited from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
using ThreadRegionType = typename UpdateBufferType::RegionType
 
- Protected Types inherited from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >
using InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension >
 
using OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension >
 

Protected Member Functions

void ApplyUpdate (const TimeStepType &dt) override
 
virtual void CalcInverseDeformationFromVelocityField (const DisplacementFieldType *velocityField)
 
TimeStepType CalculateChange () override
 
virtual const UpdateBufferTypeGetBackwardUpdateBuffer () const
 
virtual UpdateBufferTypeGetModifiableBackwardUpdateBuffer ()
 
void Initialize () override
 
virtual void InitializeBackwardIteration ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void ThreadedApplyUpdate (const TimeStepType &dt, const ThreadRegionType &regionToProcess, unsigned int threadId) override
 
 VariationalSymmetricDiffeomorphicRegistrationFilter ()
 
 ~VariationalSymmetricDiffeomorphicRegistrationFilter () override
 
- Protected Member Functions inherited from itk::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
void ApplyUpdate (const TimeStepType &dt) override
 
virtual void CalcDeformationFromVelocityField (const DisplacementFieldType *velocityField)
 
virtual FieldExponentiatorPointer GetExponentiator ()
 
 VariationalDiffeomorphicRegistrationFilter ()
 
 ~VariationalDiffeomorphicRegistrationFilter () override
 
- Protected Member Functions inherited from itk::VariationalRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
void ApplyUpdate (const TimeStepType &dt) override
 
void CopyInputToOutput () override
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
bool Halt () override
 
void InitializeIteration () override
 
 VariationalRegistrationFilter ()
 
void VerifyInputInformation () const override
 
 ~VariationalRegistrationFilter () override
 
RegistrationFunctionTypeDownCastDifferenceFunctionType ()
 
const RegistrationFunctionTypeDownCastDifferenceFunctionType () const
 
- Protected Member Functions inherited from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
void AllocateUpdateBuffer () override
 
void ApplyUpdate (const TimeStepType &dt) override
 
TimeStepType CalculateChange () override
 
void CopyInputToOutput () override
 
 DenseFiniteDifferenceImageFilter ()
 
virtual UpdateBufferTypeGetUpdateBuffer ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual TimeStepType ThreadedCalculateChange (const ThreadRegionType &regionToProcess, ThreadIdType threadId)
 
 ~DenseFiniteDifferenceImageFilter () override=default
 
- Protected Member Functions inherited from itk::FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >
virtual void ApplyUpdate (const TimeStepType &dt)=0
 
 FiniteDifferenceImageFilter ()
 
void GenerateData () override
 
void GenerateInputRequestedRegion () 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 *)
 
 ~FiniteDifferenceImageFilter () override=default
 
- Protected Member Functions inherited from itk::InPlaceImageFilter< TDisplacementField, TDisplacementField >
void AllocateOutputs () override
 
virtual bool GetRunningInPlace () const
 
 InPlaceImageFilter ()=default
 
void ReleaseInputs () override
 
 ~InPlaceImageFilter () override=default
 
- 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 ()
 
void VerifyInputInformation () ITKv5_CONST override
 
 ~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 ()
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
 ~ImageSource () override=default
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
- 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
 
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 () ITKv5_CONST
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () 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)
 
 ~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 Types

using FieldExponentiatorPointer = typename FieldExponentiatorType::Pointer
 
using FieldExponentiatorType = typename Superclass::FieldExponentiatorType
 

Private Attributes

UpdateBufferType::Pointer m_BackwardUpdateBuffer
 
DisplacementFieldPointer m_InverseDisplacementField
 
FieldExponentiatorPointer m_InverseExponentiator
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::ImageSource< TDisplacementField >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static
ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION 
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::ImageSource< TDisplacementField >
bool m_DynamicMultiThreading
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::ConstPointer = SmartPointer< const Self >
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldPointer = typename DisplacementFieldType::Pointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldType = TDisplacementField

Deformation field type.

Definition at line 124 of file itkVariationalSymmetricDiffeomorphicRegistrationFilter.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FieldExponentiatorPointer = typename FieldExponentiatorType::Pointer
private
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FieldExponentiatorType = typename Superclass::FieldExponentiatorType
private
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FixedImageConstPointer = typename FixedImageType::ConstPointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FixedImagePointer = typename FixedImageType::Pointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FixedImageType = TFixedImage

FixedImage image type.

Definition at line 114 of file itkVariationalSymmetricDiffeomorphicRegistrationFilter.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::MovingImageConstPointer = typename MovingImageType::ConstPointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::MovingImagePointer = typename MovingImageType::Pointer
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::MovingImageType = TMovingImage

MovingImage image type.

Definition at line 119 of file itkVariationalSymmetricDiffeomorphicRegistrationFilter.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::OutputImageType = typename Superclass::OutputImageType

Types inherited from the superclass

Definition at line 128 of file itkVariationalSymmetricDiffeomorphicRegistrationFilter.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::Pointer = SmartPointer< Self >
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::RegistrationFunctionType = typename Superclass::RegistrationFunctionType
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::RegularizerType = typename Superclass::RegularizerType

Regularizer type.

Definition at line 135 of file itkVariationalSymmetricDiffeomorphicRegistrationFilter.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::Self = VariationalSymmetricDiffeomorphicRegistrationFilter

Standard class type alias

Definition at line 97 of file itkVariationalSymmetricDiffeomorphicRegistrationFilter.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::Superclass = VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::ThreadRegionType = typename UpdateBufferType::RegionType
protected

The type of region used for multithreading

Definition at line 173 of file itkVariationalSymmetricDiffeomorphicRegistrationFilter.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::TimeStepType = typename Superclass::TimeStepType

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

Definition at line 138 of file itkVariationalSymmetricDiffeomorphicRegistrationFilter.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
using itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::UpdateBufferType = OutputImageType

Constructor & Destructor Documentation

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::VariationalSymmetricDiffeomorphicRegistrationFilter ( )
protected
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::~VariationalSymmetricDiffeomorphicRegistrationFilter ( )
inlineoverrideprotected

Member Function Documentation

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::ApplyUpdate ( const TimeStepType dt)
overrideprotected

Apply update function that additionally computes the inverse displacement field for the next iteration.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
virtual void itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::CalcInverseDeformationFromVelocityField ( const DisplacementFieldType velocityField)
protectedvirtual

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

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
TimeStepType itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::CalculateChange ( )
overrideprotectedvirtual

Calculate the update for each iteration by first performing the forward and then the backward update step.

Implements itk::FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
virtual::itk::LightObject::Pointer itk::VariationalSymmetricDiffeomorphicRegistrationFilter< 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::VariationalDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
virtual const UpdateBufferType* itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetBackwardUpdateBuffer ( ) const
protectedvirtual
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
virtual const DisplacementFieldType* itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetInverseDisplacementField ( ) const
virtual
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
virtual UpdateBufferType* itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetModifiableBackwardUpdateBuffer ( )
protectedvirtual

Method to allow subclasses to get direct access to the update buffer

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
virtual DisplacementFieldType* itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetModifiableInverseDisplacementField ( )
virtual

Get output inverse deformation field.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
virtual const char* itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods)

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

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::Initialize ( )
overrideprotectedvirtual

This method is called before iterating the solution.

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

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
virtual void itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::InitializeBackwardIteration ( )
protectedvirtual

Initialize the backward update after forward update was completed

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
static Pointer itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::New ( )
static

Method for creation through the object factory.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::ThreadedApplyUpdate ( const TimeStepType dt,
const ThreadRegionType regionToProcess,
unsigned int  threadId 
)
overrideprotectedvirtual

Threaded version of ApplyUpdate that adds forward and backward fields

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

Member Data Documentation

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
constexpr unsigned int itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::ImageDimension = Superclass::ImageDimension
static

Get image dimension.

Definition at line 111 of file itkVariationalSymmetricDiffeomorphicRegistrationFilter.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
UpdateBufferType::Pointer itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::m_BackwardUpdateBuffer
private
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
DisplacementFieldPointer itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::m_InverseDisplacementField
private
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
FieldExponentiatorPointer itk::VariationalSymmetricDiffeomorphicRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::m_InverseExponentiator
private

The deformation field.

Definition at line 185 of file itkVariationalSymmetricDiffeomorphicRegistrationFilter.h.


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