ITK  5.4.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField > Class Template Reference

#include <itkTimeVaryingVelocityFieldIntegrationImageFilter.h>

Detailed Description

template<typename TTimeVaryingVelocityField, typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
class itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >

Integrate a time-varying velocity field using 4th order Runge-Kutta.

Diffeomorphisms are topology-preserving mappings that are useful for describing biologically plausible deformations. Mathematically, a diffeomorphism, \( \phi \), is generated from a time-varying velocity field, v, as described by the integral equation:

\[ \phi(t_b) = \phi(t_a) + \int_{t_a}^{t_b} v(\phi(t),t) dt \]

In this class, the input is the time-varying velocity field and an initial diffeomorphism. The output diffeomorphism is produced using fourth order Runge-Kutta.

Warning
The output deformation field needs to have dimensionality of 1 less than the input time-varying velocity field.
Author
Nick Tustison
Brian Avants

Definition at line 55 of file itkTimeVaryingVelocityFieldIntegrationImageFilter.h.

+ Inheritance diagram for itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >:
+ Collaboration diagram for itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using DisplacementFieldInterpolatorPointer = typename DisplacementFieldInterpolatorType::Pointer
 
using DisplacementFieldInterpolatorType = VectorInterpolateImageFunction< DisplacementFieldType, ScalarType >
 
using DisplacementFieldPointer = typename DisplacementFieldType::Pointer
 
using DisplacementFieldType = TDisplacementField
 
using OutputRegionType = typename DisplacementFieldType::RegionType
 
using Pointer = SmartPointer< Self >
 
using PointType = typename DisplacementFieldType::PointType
 
using RealType = typename VectorType::RealValueType
 
using ScalarType = typename VectorType::ValueType
 
using Self = TimeVaryingVelocityFieldIntegrationImageFilter
 
using Superclass = ImageToImageFilter< TTimeVaryingVelocityField, TDisplacementField >
 
using TimeVaryingVelocityFieldType = TTimeVaryingVelocityField
 
using VectorType = typename DisplacementFieldType::PixelType
 
using VelocityFieldInterpolatorPointer = typename VelocityFieldInterpolatorType::Pointer
 
using VelocityFieldInterpolatorType = VectorInterpolateImageFunction< TimeVaryingVelocityFieldType, ScalarType >
 
- Public Types inherited from itk::ImageToImageFilter< TTimeVaryingVelocityField, 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 = TTimeVaryingVelocityField
 
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 RealType GetLowerTimeBound () const
 
virtual unsigned int GetNumberOfIntegrationSteps () const
 
virtual RealType GetUpperTimeBound () const
 
 itkOverrideGetNameOfClassMacro (TimeVaryingVelocityFieldIntegrationImageFilter)
 
virtual void SetLowerTimeBound (RealType _arg)
 
virtual void SetNumberOfIntegrationSteps (unsigned int _arg)
 
virtual void SetUpperTimeBound (RealType _arg)
 
virtual void SetVelocityFieldInterpolator (VelocityFieldInterpolatorType *_arg)
 
virtual VelocityFieldInterpolatorTypeGetModifiableVelocityFieldInterpolator ()
 
virtual void SetDisplacementFieldInterpolator (DisplacementFieldInterpolatorType *_arg)
 
virtual DisplacementFieldInterpolatorTypeGetModifiableDisplacementFieldInterpolator ()
 
virtual void SetInitialDiffeomorphism (DisplacementFieldType *_arg)
 
virtual DisplacementFieldTypeGetModifiableInitialDiffeomorphism ()
 
virtual void SetTimeBoundsAsRates (bool _arg)
 
virtual bool GetTimeBoundsAsRates () const
 
virtual void TimeBoundsAsRatesOn ()
 
- Public Member Functions inherited from itk::ImageToImageFilter< TTimeVaryingVelocityField, TDisplacementField >
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
 itkOverrideGetNameOfClassMacro (ImageToImageFilter)
 
void PopBackInput () override
 
void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *input)
 
virtual void PushFrontInput (const InputImageType *input)
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetInput (const InputImageType *input)
 
virtual void SetInput (unsigned int, const TTimeVaryingVelocityField *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)
 
 itkOverrideGetNameOfClassMacro (ImageSource)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftOutput (DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
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
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
 itkOverrideGetNameOfClassMacro (ProcessObject)
 
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 val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
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
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
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
 
 itkOverrideGetNameOfClassMacro (Object)
 
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 noexcept override
 
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
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkVirtualGetNameOfClassMacro (LightObject)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageToImageFilter< TTimeVaryingVelocityField, TDisplacementField >
static double GetGlobalDefaultCoordinateTolerance ()
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static void SetGlobalDefaultDirectionTolerance (double)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int InputImageDimension = TTimeVaryingVelocityField::ImageDimension
 
static constexpr unsigned int OutputImageDimension = TDisplacementField::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TTimeVaryingVelocityField, 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 Member Functions

void BeforeThreadedGenerateData () override
 
void DynamicThreadedGenerateData (const OutputRegionType &) override
 
void GenerateOutputInformation () override
 
VectorType IntegrateVelocityAtPoint (const PointType &initialSpatialPoint, const TimeVaryingVelocityFieldType *inputField)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 TimeVaryingVelocityFieldIntegrationImageFilter ()
 
 ~TimeVaryingVelocityFieldIntegrationImageFilter () override=default
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TTimeVaryingVelocityField, TDisplacementField >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
void GenerateInputRequestedRegion () override
 
 ImageToImageFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void VerifyInputInformation () ITKv5_CONST override
 
 ~ImageToImageFilter () override=default
 
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 AllocateOutputs ()
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
void GenerateData () override
 
virtual const ImageRegionSplitterBaseGetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
 ~ImageSource () override=default
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
- 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 DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () 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 ReleaseInputs ()
 
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 idx, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *object)
 
virtual void SetPrimaryOutput (DataObject *object)
 
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 i)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType i) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~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 ()
 

Protected Attributes

DisplacementFieldInterpolatorPointer m_DisplacementFieldInterpolator {}
 
DisplacementFieldPointer m_InitialDiffeomorphism {}
 
RealType m_LowerTimeBound {}
 
unsigned int m_NumberOfIntegrationSteps {}
 
unsigned int m_NumberOfTimePoints {}
 
bool m_TimeBoundsAsRates { true }
 
RealType m_UpperTimeBound {}
 
- 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 {}
 

Private Attributes

VelocityFieldInterpolatorPointer m_VelocityFieldInterpolator {}
 

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TTimeVaryingVelocityField, TDisplacementField >
using InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension >
 
using OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension >
 
- Static Protected Member Functions inherited from itk::ImageSource< TDisplacementField >
static const ImageRegionSplitterBaseGetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- Static Protected Member Functions inherited from itk::ProcessObject
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 

Member Typedef Documentation

◆ ConstPointer

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::ConstPointer = SmartPointer<const Self>

◆ DisplacementFieldInterpolatorPointer

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::DisplacementFieldInterpolatorPointer = typename DisplacementFieldInterpolatorType::Pointer

◆ DisplacementFieldInterpolatorType

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::DisplacementFieldInterpolatorType = VectorInterpolateImageFunction<DisplacementFieldType, ScalarType>

◆ DisplacementFieldPointer

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::DisplacementFieldPointer = typename DisplacementFieldType::Pointer

◆ DisplacementFieldType

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::DisplacementFieldType = TDisplacementField

◆ OutputRegionType

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::OutputRegionType = typename DisplacementFieldType::RegionType

◆ Pointer

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::Pointer = SmartPointer<Self>

◆ PointType

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::PointType = typename DisplacementFieldType::PointType

◆ RealType

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::RealType = typename VectorType::RealValueType

◆ ScalarType

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::ScalarType = typename VectorType::ValueType

◆ Self

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::Self = TimeVaryingVelocityFieldIntegrationImageFilter

◆ Superclass

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::Superclass = ImageToImageFilter<TTimeVaryingVelocityField, TDisplacementField>

◆ TimeVaryingVelocityFieldType

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::TimeVaryingVelocityFieldType = TTimeVaryingVelocityField

◆ VectorType

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::VectorType = typename DisplacementFieldType::PixelType

◆ VelocityFieldInterpolatorPointer

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::VelocityFieldInterpolatorPointer = typename VelocityFieldInterpolatorType::Pointer

◆ VelocityFieldInterpolatorType

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
using itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::VelocityFieldInterpolatorType = VectorInterpolateImageFunction<TimeVaryingVelocityFieldType, ScalarType>

Constructor & Destructor Documentation

◆ TimeVaryingVelocityFieldIntegrationImageFilter()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::TimeVaryingVelocityFieldIntegrationImageFilter ( )
protected

◆ ~TimeVaryingVelocityFieldIntegrationImageFilter()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::~TimeVaryingVelocityFieldIntegrationImageFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ BeforeThreadedGenerateData()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
void itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::BeforeThreadedGenerateData ( )
overrideprotectedvirtual

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

Reimplemented from itk::ImageSource< TDisplacementField >.

◆ DynamicThreadedGenerateData()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
void itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::DynamicThreadedGenerateData ( const OutputRegionType )
overrideprotected

◆ GenerateOutputInformation()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
void itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::GenerateOutputInformation ( )
overrideprotectedvirtual

Generate the information describing the output data. The default implementation of this method will copy information from the input to the output. A filter may override this method if its output will have different information than its input. For instance, a filter that shrinks an image will need to provide an implementation for this method that changes the spacing of the pixels. Such filters should call their superclass' implementation of this method prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information.

Reimplemented from itk::ProcessObject.

◆ GetLowerTimeBound()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
virtual RealType itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::GetLowerTimeBound ( ) const
virtual

Get the lower time bound defining the integration domain of the transform. We assume that the total possible time domain is [0,1].

◆ GetModifiableDisplacementFieldInterpolator()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
virtual DisplacementFieldInterpolatorType* itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::GetModifiableDisplacementFieldInterpolator ( )
virtual

Get/Set the deformation field interpolator for the initial diffeomorphism (if set). Default = linear.

◆ GetModifiableInitialDiffeomorphism()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
virtual DisplacementFieldType* itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::GetModifiableInitialDiffeomorphism ( )
virtual

Get/Set the initial diffeomorphism

◆ GetModifiableVelocityFieldInterpolator()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
virtual VelocityFieldInterpolatorType* itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::GetModifiableVelocityFieldInterpolator ( )
virtual

Get/Set the time-varying velocity field interpolator. Default = linear.

◆ GetNumberOfIntegrationSteps()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
virtual unsigned int itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::GetNumberOfIntegrationSteps ( ) const
virtual

Get the number of integration steps used in the Runge-Kutta solution of the initial value problem. Default = 10.

◆ GetTimeBoundsAsRates()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
virtual bool itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::GetTimeBoundsAsRates ( ) const
virtual

Get/Set a flag to interpret LowerTimeBound and UpperTimeBound as rates in the velocity field time span. This is equivalent to consider that the velocity field is defined in the normalized time interval [0, 1], ignoring the input origin and spacing in the temporal dimension.

The default is true for backwards compatibility.

◆ GetUpperTimeBound()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
virtual RealType itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::GetUpperTimeBound ( ) const
virtual

Get the upper time bound defining the integration domain of the transform. We assume that the total possible time domain is [0,1].

◆ IntegrateVelocityAtPoint()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
VectorType itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::IntegrateVelocityAtPoint ( const PointType initialSpatialPoint,
const TimeVaryingVelocityFieldType inputField 
)
protected

◆ itkOverrideGetNameOfClassMacro()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::itkOverrideGetNameOfClassMacro ( TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >  )

Run-time type information ( and related methods )

◆ New()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
static Pointer itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
void itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ProcessObject.

◆ SetDisplacementFieldInterpolator()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
virtual void itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::SetDisplacementFieldInterpolator ( DisplacementFieldInterpolatorType _arg)
virtual

Get/Set the deformation field interpolator for the initial diffeomorphism (if set). Default = linear.

◆ SetInitialDiffeomorphism()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
virtual void itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::SetInitialDiffeomorphism ( DisplacementFieldType _arg)
virtual

Get/Set the initial diffeomorphism

◆ SetLowerTimeBound()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
virtual void itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::SetLowerTimeBound ( RealType  _arg)
virtual

Set the lower time bound defining the integration domain of the transform. We assume that the total possible time domain is [0,1].

◆ SetNumberOfIntegrationSteps()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
virtual void itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::SetNumberOfIntegrationSteps ( unsigned int  _arg)
virtual

Set the number of integration steps used in the Runge-Kutta solution of the initial value problem. Default = 10.

◆ SetTimeBoundsAsRates()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
virtual void itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::SetTimeBoundsAsRates ( bool  _arg)
virtual

Get/Set a flag to interpret LowerTimeBound and UpperTimeBound as rates in the velocity field time span. This is equivalent to consider that the velocity field is defined in the normalized time interval [0, 1], ignoring the input origin and spacing in the temporal dimension.

The default is true for backwards compatibility.

◆ SetUpperTimeBound()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
virtual void itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::SetUpperTimeBound ( RealType  _arg)
virtual

Set the upper time bound defining the integration domain of the transform. We assume that the total possible time domain is [0,1].

◆ SetVelocityFieldInterpolator()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
virtual void itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::SetVelocityFieldInterpolator ( VelocityFieldInterpolatorType _arg)
virtual

Get/Set the time-varying velocity field interpolator. Default = linear.

◆ TimeBoundsAsRatesOn()

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
virtual void itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::TimeBoundsAsRatesOn ( )
virtual

Get/Set a flag to interpret LowerTimeBound and UpperTimeBound as rates in the velocity field time span. This is equivalent to consider that the velocity field is defined in the normalized time interval [0, 1], ignoring the input origin and spacing in the temporal dimension.

The default is true for backwards compatibility.

Member Data Documentation

◆ InputImageDimension

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
constexpr unsigned int itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::InputImageDimension = TTimeVaryingVelocityField::ImageDimension
staticconstexpr

Dimensionality of input data is assumed to be one more than the output data the same.

Definition at line 75 of file itkTimeVaryingVelocityFieldIntegrationImageFilter.h.

◆ m_DisplacementFieldInterpolator

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
DisplacementFieldInterpolatorPointer itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::m_DisplacementFieldInterpolator {}
protected

◆ m_InitialDiffeomorphism

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
DisplacementFieldPointer itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::m_InitialDiffeomorphism {}
protected

◆ m_LowerTimeBound

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
RealType itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::m_LowerTimeBound {}
protected

◆ m_NumberOfIntegrationSteps

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
unsigned int itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::m_NumberOfIntegrationSteps {}
protected

◆ m_NumberOfTimePoints

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
unsigned int itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::m_NumberOfTimePoints {}
protected

◆ m_TimeBoundsAsRates

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
bool itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::m_TimeBoundsAsRates { true }
protected

◆ m_UpperTimeBound

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
RealType itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::m_UpperTimeBound {}
protected

◆ m_VelocityFieldInterpolator

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
VelocityFieldInterpolatorPointer itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::m_VelocityFieldInterpolator {}
private

◆ OutputImageDimension

template<typename TTimeVaryingVelocityField , typename TDisplacementField = Image<typename TTimeVaryingVelocityField::PixelType, TTimeVaryingVelocityField::ImageDimension - 1>>
constexpr unsigned int itk::TimeVaryingVelocityFieldIntegrationImageFilter< TTimeVaryingVelocityField, TDisplacementField >::OutputImageDimension = TDisplacementField::ImageDimension
staticconstexpr

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