NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions > Class Template Reference

This class takes two inputs, the first is the current deformation vector field and the second is the fluid velocity vector field. The output is a vector field of deformation according to Christensens paper. More...

Inheritance diagram for itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >:
Inheritance graph
[legend]
Collaboration diagram for itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >:
Collaboration graph
[legend]

Public Types

typedef
FluidVelocityToDeformationFilter 
Self
 
typedef ImageToImageFilter
< Image< Vector< TScalarType,
NDimensions >, NDimensions >
, Image< Vector< TScalarType,
NDimensions >, NDimensions > > 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Vector< TScalarType,
itkGetStaticConstMacro(Dimension) > 
OutputPixelType
 
typedef Image< OutputPixelType,
itkGetStaticConstMacro(Dimension) > 
OutputImageType
 
typedef Superclass::InputImageType InputImageType
 
typedef
Superclass::InputImagePointer 
InputImagePointer
 
typedef
Superclass::InputImageRegionType 
InputImageRegionType
 
typedef Image< float, DimensionInputImageMaskType
 

Public Member Functions

virtual const char * GetClassName () const
 
 itkStaticConstMacro (Dimension, unsigned int, NDimensions)
 
virtual void SetCurrentDeformationField (const InputImageType *image)
 
virtual void SetVelocityField (const InputImageType *image)
 
virtual void SetNthInput (unsigned int idx, const InputImageType *)
 
virtual void SetInputMask (const InputImageMaskType *inputImageMask)
 
virtual double GetMaxDeformation ()
 
virtual void SetIsNegativeVelocity (bool _arg)
 
virtual bool GetIsNegativeVelocity ()
 
virtual void SetIsTakeDerivative (bool _arg)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 FluidVelocityToDeformationFilter ()
 
virtual ~FluidVelocityToDeformationFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void BeforeThreadedGenerateData ()
 
virtual void ThreadedGenerateData (const InputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual void AfterThreadedGenerateData ()
 

Protected Attributes

double m_MaxDeformation
 
bool m_IsNegativeVelocity
 
const InputImageMaskTypem_InputMask
 
bool m_IsTakeDerivative
 

Friends

class ::FluidVelocityToDeformationFilterUnitTest
 

Detailed Description

template<class TScalarType = double, unsigned int NDimensions = 3>
class itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >

This class takes two inputs, the first is the current deformation vector field and the second is the fluid velocity vector field. The output is a vector field of deformation according to Christensens paper.

Member Typedef Documentation

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef SmartPointer<const Self> itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::ConstPointer
template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Image<float, Dimension> itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::InputImageMaskType
template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::InputImagePointer itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::InputImagePointer
template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::InputImageRegionType itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::InputImageRegionType
template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Superclass::InputImageType itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::InputImageType
template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Image< OutputPixelType, itkGetStaticConstMacro(Dimension) > itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::OutputImageType
template<class TScalarType = double, unsigned int NDimensions = 3>
typedef Vector< TScalarType, itkGetStaticConstMacro(Dimension) > itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::OutputPixelType

Standard typedefs.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef SmartPointer<Self> itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::Pointer
template<class TScalarType = double, unsigned int NDimensions = 3>
typedef FluidVelocityToDeformationFilter itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::Self

Standard "Self" typedef.

template<class TScalarType = double, unsigned int NDimensions = 3>
typedef ImageToImageFilter< Image< Vector<TScalarType, NDimensions>, NDimensions>, Image< Vector<TScalarType, NDimensions>, NDimensions> > itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::Superclass

Constructor & Destructor Documentation

template<class TScalarType = double, unsigned int NDimensions = 3>
itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::FluidVelocityToDeformationFilter ( )
protected
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::~FluidVelocityToDeformationFilter ( )
inlineprotectedvirtual

Member Function Documentation

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::AfterThreadedGenerateData ( )
protectedvirtual

Compute the maximum deformation.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::BeforeThreadedGenerateData ( )
protectedvirtual
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual const char* itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual bool itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::GetIsNegativeVelocity ( )
virtual
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual double itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::GetMaxDeformation ( )
virtual

Get the maximum deformation.

template<class TScalarType = double, unsigned int NDimensions = 3>
itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::itkStaticConstMacro ( Dimension  ,
unsigned  int,
NDimensions   
)

Get the number of dimensions we are working in.

template<class TScalarType = double, unsigned int NDimensions = 3>
static Pointer itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::New ( )
static

Method for creation through the object factory.

template<class TScalarType = double, unsigned int NDimensions = 3>
void itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::SetCurrentDeformationField ( const InputImageType image)
inlinevirtual

Set the current deformation field at position 0.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::SetInputMask ( const InputImageMaskType inputImageMask)
inlinevirtual

Set fixed image mask.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::SetIsNegativeVelocity ( bool  _arg)
virtual

Set/Get.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::SetIsTakeDerivative ( bool  _arg)
virtual
template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::SetNthInput ( unsigned int  idx,
const InputImageType  
)
virtual

We set the input images by number.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::SetVelocityField ( const InputImageType image)
inlinevirtual

Set the velocity field at position 1.

template<class TScalarType = double, unsigned int NDimensions = 3>
virtual void itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::ThreadedGenerateData ( const InputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
)
protectedvirtual

Friends And Related Function Documentation

template<class TScalarType = double, unsigned int NDimensions = 3>
friend class ::FluidVelocityToDeformationFilterUnitTest
friend

Friend class for unit testing.

Member Data Documentation

template<class TScalarType = double, unsigned int NDimensions = 3>
const InputImageMaskType* itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::m_InputMask
protected

Input image mask.

template<class TScalarType = double, unsigned int NDimensions = 3>
bool itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::m_IsNegativeVelocity
protected

Negative the velocity field?

template<class TScalarType = double, unsigned int NDimensions = 3>
bool itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::m_IsTakeDerivative
protected

Taking derivative?

template<class TScalarType = double, unsigned int NDimensions = 3>
double itk::FluidVelocityToDeformationFilter< TScalarType, NDimensions >::m_MaxDeformation
protected

The time step size.


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