ITK  4.9.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
itk::DisplacementFieldTransform< TParametersValueType, NDimensions > Class Template Reference

#include <itkDisplacementFieldTransform.h>

+ Inheritance diagram for itk::DisplacementFieldTransform< TParametersValueType, NDimensions >:
+ Collaboration diagram for itk::DisplacementFieldTransform< TParametersValueType, NDimensions >:

Detailed Description

template<typename TParametersValueType, unsigned int NDimensions>
class itk::DisplacementFieldTransform< TParametersValueType, NDimensions >

Provides local/dense/high-dimensionaltiy transformation via a a displacement field.

The displacement field stores vectors of displacements, with dimension NDimensions. Transformation is performed at a given point by adding the displacement at that point to the input point.

T(x, p), x is the position, p is the local parameter at position x. For a 2D example:

x = (x0, x1), p = (p0, p1)

then T(x, p) is defined as:

T(x, p) = (T0, T1) = (x0+p0, x1+p1)

During transformation, out-of-bounds input points are returned with zero displacement.

The displacement field is defined using an itkImage, and must be set before use by the user, using SetDisplacementField. The image has the same dimensionality as the input and output spaces, defined by template parameter NDimensions, and is an image of vectors of type OutputVectorType, with dimensionality NDimensions as well.

An interpolator of type VectorInterpolateImageFunction is used with the displacement field image. By default, VectorLinearInterpolateImageFunction is used, and the user can override using SetInterpolator.

The displacement field data is stored using the common OptimizerParameters type in conjunction with the ImageVectorOptimizerParametersHelper class. This allows access of the displacement field image as if it were an itkArray, allowing transparent use with other classes.

Warning
The SetParameters method will copy the passed parameters, which can be costly since displacement fields are dense and thus potentially very large.

The UpdateTransformParameters method simply adds the provided update array, applying the usual optional scaling factor. Derived classes may provide different behavior.

Because this is a local transform, methods that have a version that takes a point must be used, such as TransformVector, TransformCovariantVector, and TransformDiffusionTensor. Also, ComputeJacobianWithRespectToParameters simply returns an identity matrix (see method documentation), and ComputeJacobianWithRespectToPosition should be used.

Examples:
WikiExamples/Registration/DeformationFieldTransform.cxx.

Definition at line 87 of file itkDisplacementFieldTransform.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::DerivativeType DerivativeType
 
typedef
DisplacementFieldType::DirectionType 
DirectionType
 
typedef
DisplacementFieldType::ConstPointer 
DisplacementFieldConstPointer
 
typedef
DisplacementFieldType::Pointer 
DisplacementFieldPointer
 
typedef Image
< OutputVectorType, Dimension
DisplacementFieldType
 
typedef
Superclass::FixedParametersType 
FixedParametersType
 
typedef
Superclass::FixedParametersValueType 
FixedParametersValueType
 
typedef
DisplacementFieldType::IndexType 
IndexType
 
typedef
Superclass::InputCovariantVectorType 
InputCovariantVectorType
 
typedef
Superclass::InputDiffusionTensor3DType 
InputDiffusionTensor3DType
 
typedef Superclass::InputPointType InputPointType
 
typedef CovariantVector
< ScalarType,
InputDiffusionTensor3DType::Dimension > 
InputTensorEigenVectorType
 
typedef
Superclass::InputVectorPixelType 
InputVectorPixelType
 
typedef Superclass::InputVectorType InputVectorType
 
typedef
Superclass::InputVnlVectorType 
InputVnlVectorType
 
typedef
VectorInterpolateImageFunction
< DisplacementFieldType,
ScalarType
InterpolatorType
 
typedef
Superclass::InverseTransformBasePointer 
InverseTransformBasePointer
 
typedef Superclass::JacobianType JacobianType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef
ImageVectorOptimizerParametersHelper
< ScalarType,
OutputVectorType::Dimension,
Dimension
OptimizerParametersHelperType
 
typedef
Superclass::OutputCovariantVectorType 
OutputCovariantVectorType
 
typedef
Superclass::OutputDiffusionTensor3DType 
OutputDiffusionTensor3DType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef CovariantVector
< ScalarType,
OutputDiffusionTensor3DType::Dimension > 
OutputTensorEigenVectorType
 
typedef
Superclass::OutputVectorPixelType 
OutputVectorPixelType
 
typedef
Superclass::OutputVectorType 
OutputVectorType
 
typedef
Superclass::OutputVnlVectorType 
OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef
DisplacementFieldType::PixelType 
PixelType
 
typedef SmartPointer< SelfPointer
 
typedef
DisplacementFieldType::PointType 
PointType
 
typedef
DisplacementFieldType::RegionType 
RegionType
 
typedef Superclass::ScalarType ScalarType
 
typedef DisplacementFieldTransform Self
 
typedef
DisplacementFieldType::SizeType 
SizeType
 
typedef
DisplacementFieldType::SpacingType 
SpacingType
 
typedef Transform
< TParametersValueType,
NDimensions, NDimensions > 
Superclass
 
typedef
Superclass::TransformCategoryType 
TransformCategoryType
 
- Public Types inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions >
typedef SmartPointer< const SelfConstPointer
 
typedef Array
< ParametersValueType
DerivativeType
 
typedef Matrix< double,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
DirectionChangeMatrix
 
typedef
Superclass::FixedParametersType 
FixedParametersType
 
typedef
Superclass::FixedParametersValueType 
FixedParametersValueType
 
typedef CovariantVector
< TParametersValueType,
NInputDimensions > 
InputCovariantVectorType
 
typedef DiffusionTensor3D
< TParametersValueType > 
InputDiffusionTensor3DType
 
typedef Matrix< double,
itkGetStaticConstMacro(InputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
InputDirectionMatrix
 
typedef Point
< TParametersValueType,
NInputDimensions > 
InputPointType
 
typedef
SymmetricSecondRankTensor
< TParametersValueType,
NInputDimensions > 
InputSymmetricSecondRankTensorType
 
typedef VariableLengthVector
< TParametersValueType > 
InputVectorPixelType
 
typedef Vector
< TParametersValueType,
NInputDimensions > 
InputVectorType
 
typedef vnl_vector_fixed
< TParametersValueType,
NInputDimensions > 
InputVnlVectorType
 
typedef
InverseTransformBaseType::Pointer 
InverseTransformBasePointer
 
typedef Transform
< TParametersValueType,
NOutputDimensions,
NInputDimensions > 
InverseTransformBaseType
 
typedef Array2D
< ParametersValueType
JacobianType
 
typedef Matrix
< TParametersValueType,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
MatrixType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef CovariantVector
< TParametersValueType,
NOutputDimensions > 
OutputCovariantVectorType
 
typedef DiffusionTensor3D
< TParametersValueType > 
OutputDiffusionTensor3DType
 
typedef Matrix< double,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(OutputSpaceDimension)> 
OutputDirectionMatrix
 
typedef Point
< TParametersValueType,
NOutputDimensions > 
OutputPointType
 
typedef
SymmetricSecondRankTensor
< TParametersValueType,
NOutputDimensions > 
OutputSymmetricSecondRankTensorType
 
typedef VariableLengthVector
< TParametersValueType > 
OutputVectorPixelType
 
typedef Vector
< TParametersValueType,
NOutputDimensions > 
OutputVectorType
 
typedef vnl_vector_fixed
< TParametersValueType,
NOutputDimensions > 
OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef ParametersValueType ScalarType
 
typedef Transform Self
 
typedef TransformBaseTemplate
< TParametersValueType > 
Superclass
 
typedef
Superclass::TransformCategoryType 
TransformCategoryType
 
- Public Types inherited from itk::TransformBaseTemplate< TParametersValueType >
typedef SmartPointer< const SelfConstPointer
 
typedef OptimizerParameters
< FixedParametersValueType
FixedParametersType
 
typedef double FixedParametersValueType
 
typedef IdentifierType NumberOfParametersType
 
typedef OptimizerParameters
< ParametersValueType
ParametersType
 
typedef TParametersValueType ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef TransformBaseTemplate Self
 
typedef Object Superclass
 
enum  TransformCategoryType {
  UnknownTransformCategory =0,
  Linear =1,
  BSpline =2,
  Spline =3,
  DisplacementField =4,
  VelocityField =5
}
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual void ComputeInverseJacobianWithRespectToPosition (const InputPointType &x, JacobianType &j) const override
 
virtual void ComputeJacobianWithRespectToParameters (const IndexType &, JacobianType &j) const
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &x, JacobianType &j) const override
 
virtual void ComputeJacobianWithRespectToPosition (const IndexType &x, JacobianType &j) const
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const ModifiedTimeTypeGetDisplacementFieldSetTime () const
 
bool GetInverse (Self *inverse) const
 
virtual void GetInverseJacobianOfForwardFieldWithRespectToPosition (const InputPointType &point, JacobianType &jacobian, bool useSVD=false) const
 
virtual void GetInverseJacobianOfForwardFieldWithRespectToPosition (const IndexType &index, JacobianType &jacobian, bool useSVD=false) const
 
virtual InverseTransformBasePointer GetInverseTransform () const override
 
virtual const char * GetNameOfClass () const
 
virtual NumberOfParametersType GetNumberOfLocalParameters (void) const override
 
virtual TransformCategoryType GetTransformCategory () const override
 
virtual void SetFixedParameters (const FixedParametersType &) override
 
virtual void SetIdentity ()
 
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &) const override
 
OutputVectorPixelType TransformDiffusionTensor (const InputVectorPixelType &) const
 
virtual OutputPointType TransformPoint (const InputPointType &thisPoint) const override
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &) const override
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &) const override
 
virtual void UpdateTransformParameters (const DerivativeType &update, ScalarType factor=1.0) override
 
virtual void SetDisplacementField (DisplacementFieldType *field)
 
virtual DisplacementFieldTypeGetModifiableDisplacementField ()
 
virtual const
DisplacementFieldType
GetDisplacementField () const
 
virtual void SetInverseDisplacementField (DisplacementFieldType *inverseDisplacementField)
 
virtual DisplacementFieldTypeGetModifiableInverseDisplacementField ()
 
virtual const
DisplacementFieldType
GetInverseDisplacementField () const
 
virtual void SetInterpolator (InterpolatorType *interpolator)
 
virtual InterpolatorTypeGetModifiableInterpolator ()
 
virtual const InterpolatorTypeGetInterpolator () const
 
virtual void SetInverseInterpolator (InterpolatorType *interpolator)
 
virtual InterpolatorTypeGetModifiableInverseInterpolator ()
 
virtual const InterpolatorTypeGetInverseInterpolator () const
 
virtual OutputVectorType TransformVector (const InputVectorType &) const override
 
OutputDiffusionTensor3DType TransformDiffusionTensor (const InputDiffusionTensor3DType &) const
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const override
 
virtual void SetParameters (const ParametersType &params) override
 
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &j) const override
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions >
virtual void ComputeInverseJacobianWithRespectToPosition (const InputPointType &x, JacobianType &jacobian) const
 
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const =0
 
virtual void ComputeJacobianWithRespectToParametersCachedTemporaries (const InputPointType &p, JacobianType &jacobian, JacobianType &) const
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &, JacobianType &) const
 
virtual void CopyInFixedParameters (const FixedParametersValueType *const begin, const FixedParametersValueType *const end) override
 
virtual void CopyInParameters (const ParametersValueType *const begin, const ParametersValueType *const end) override
 
virtual const FixedParametersTypeGetFixedParameters (void) const override
 
unsigned int GetInputSpaceDimension (void) const override
 
bool GetInverse (Self *) const
 
virtual NumberOfParametersType GetNumberOfFixedParameters () const
 
virtual NumberOfParametersType GetNumberOfParameters (void) const override
 
unsigned int GetOutputSpaceDimension (void) const override
 
virtual const ParametersTypeGetParameters (void) const override
 
virtual std::string GetTransformTypeAsString () const override
 
virtual bool IsLinear () const
 
 itkCloneMacro (Self)
 
virtual void SetParametersByValue (const ParametersType &p) override
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &) const
 
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &tensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &tensor, const InputPointType &point) const
 
virtual OutputPointType TransformPoint (const InputPointType &) const =0
 
virtual
OutputSymmetricSecondRankTensorType 
TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &tensor, const InputPointType &point) const
 
virtual
OutputSymmetricSecondRankTensorType 
TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &) const
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &tensor, const InputPointType &point) const
 
virtual OutputVectorType TransformVector (const InputVectorType &) const
 
virtual OutputVectorType TransformVector (const InputVectorType &vector, const InputPointType &point) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &vector, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual void UpdateTransformParameters (const DerivativeType &update, ParametersValueType factor=1.0)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int Dimension = NDimensions
 
- Static Public Attributes inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions >
static const unsigned int InputSpaceDimension
 
static const unsigned int OutputSpaceDimension
 

Protected Member Functions

 DisplacementFieldTransform ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual ~DisplacementFieldTransform ()
 
- Protected Member Functions inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions >
virtual LightObject::Pointer InternalClone () const override
 
OutputDiffusionTensor3DType PreservationOfPrincipalDirectionDiffusionTensor3DReorientation (const InputDiffusionTensor3DType, const JacobianType) const
 
 Transform ()
 
 Transform (NumberOfParametersType NumberOfParameters)
 
virtual ~Transform ()
 
- Protected Member Functions inherited from itk::TransformBaseTemplate< TParametersValueType >
 TransformBaseTemplate ()
 
virtual ~TransformBaseTemplate ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

DisplacementFieldType::Pointer m_DisplacementField
 
ModifiedTimeType m_DisplacementFieldSetTime
 
JacobianType m_IdentityJacobian
 
InterpolatorType::Pointer m_Interpolator
 
DisplacementFieldType::Pointer m_InverseDisplacementField
 
InterpolatorType::Pointer m_InverseInterpolator
 
- Protected Attributes inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions >
DirectionChangeMatrix m_DirectionChange
 
FixedParametersType m_FixedParameters
 
ParametersType m_Parameters
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Private Member Functions

virtual void ComputeJacobianWithRespectToPositionInternal (const IndexType &index, JacobianType &jacobian, bool doInverseJacobian) const
 
 DisplacementFieldTransform (const Self &) ITK_DELETE_FUNCTION
 
void operator= (const Self &) ITK_DELETE_FUNCTION
 
virtual void SetFixedParametersFromDisplacementField () const
 
virtual void VerifyFixedParametersInformation ()
 

Private Attributes

double m_CoordinateTolerance
 
double m_DirectionTolerance
 

Member Typedef Documentation

template<typename TParametersValueType , unsigned int NDimensions>
typedef SmartPointer<const Self> itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::ConstPointer

Definition at line 95 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::DerivativeType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::DerivativeType

Derivative type

Definition at line 158 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef DisplacementFieldType::DirectionType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::DirectionType

Definition at line 176 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef DisplacementFieldType::ConstPointer itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::DisplacementFieldConstPointer

Definition at line 166 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef DisplacementFieldType::Pointer itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::DisplacementFieldPointer

Definition at line 165 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Image<OutputVectorType, Dimension> itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::DisplacementFieldType

Define the displacement field type and corresponding interpolator type.

Definition at line 164 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::FixedParametersType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::FixedParametersType

Type of the input parameters.

Definition at line 110 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::FixedParametersValueType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::FixedParametersValueType

Definition at line 111 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef DisplacementFieldType::IndexType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::IndexType

Standard types for the displacement Field

Definition at line 172 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::InputCovariantVectorType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::InputCovariantVectorType

Standard covariant vector type for this class

Definition at line 137 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::InputDiffusionTensor3DType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::InputDiffusionTensor3DType

Standard diffusion tensor type for this class

Definition at line 147 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::InputPointType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::InputPointType

Standard coordinate point type for this class.

Definition at line 125 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef CovariantVector<ScalarType, InputDiffusionTensor3DType::Dimension> itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::InputTensorEigenVectorType

Standard tensor type for this class

Definition at line 153 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::InputVectorPixelType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::InputVectorPixelType

Definition at line 132 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::InputVectorType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::InputVectorType

Standard vector type for this class.

Definition at line 129 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::InputVnlVectorType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::InputVnlVectorType

Standard vnl_vector type for this class.

Definition at line 142 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef VectorInterpolateImageFunction<DisplacementFieldType, ScalarType> itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::InterpolatorType

Definition at line 169 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::InverseTransformBasePointer itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::InverseTransformBasePointer

InverseTransform type.

Definition at line 101 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::JacobianType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::JacobianType

Jacobian type.

Definition at line 116 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::NumberOfParametersType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::NumberOfParametersType

The number of parameters defininig this transform.

Definition at line 122 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef ImageVectorOptimizerParametersHelper< ScalarType, OutputVectorType::Dimension, Dimension> itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::OptimizerParametersHelperType

Define the internal parameter helper used to access the field

Definition at line 185 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::OutputCovariantVectorType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::OutputCovariantVectorType

Definition at line 139 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::OutputDiffusionTensor3DType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::OutputDiffusionTensor3DType

Definition at line 149 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::OutputPointType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::OutputPointType

Definition at line 126 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef CovariantVector<ScalarType, OutputDiffusionTensor3DType::Dimension> itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::OutputTensorEigenVectorType

Definition at line 155 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::OutputVectorPixelType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::OutputVectorPixelType

Definition at line 133 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::OutputVectorType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::OutputVectorType

Definition at line 130 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::OutputVnlVectorType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::OutputVnlVectorType

Definition at line 143 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::ParametersType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::ParametersType

Definition at line 112 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::ParametersValueType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::ParametersValueType

Definition at line 113 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef DisplacementFieldType::PixelType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::PixelType

Definition at line 178 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef SmartPointer<Self> itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::Pointer

Definition at line 94 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef DisplacementFieldType::PointType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::PointType

Definition at line 177 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef DisplacementFieldType::RegionType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::RegionType

Definition at line 173 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::ScalarType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::ScalarType

Scalar type.

Definition at line 107 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef DisplacementFieldTransform itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::Self

Standard class typedefs.

Definition at line 92 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef DisplacementFieldType::SizeType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::SizeType

Definition at line 174 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef DisplacementFieldType::SpacingType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::SpacingType

Definition at line 175 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Transform<TParametersValueType, NDimensions, NDimensions> itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::Superclass

Definition at line 93 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
typedef Superclass::TransformCategoryType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::TransformCategoryType

Transform category type.

Definition at line 119 of file itkDisplacementFieldTransform.h.

Constructor & Destructor Documentation

template<typename TParametersValueType , unsigned int NDimensions>
itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::DisplacementFieldTransform ( )
protected
template<typename TParametersValueType , unsigned int NDimensions>
virtual itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::~DisplacementFieldTransform ( )
protectedvirtual
template<typename TParametersValueType , unsigned int NDimensions>
itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::DisplacementFieldTransform ( const Self )
private

Member Function Documentation

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::ComputeInverseJacobianWithRespectToPosition ( const InputPointType x,
JacobianType j 
) const
overridevirtual

Compute the jacobian with respect to the position, by point. j will be resized as needed.

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::ComputeJacobianWithRespectToParameters ( const InputPointType ,
JacobianType j 
) const
inlineoverridevirtual

Compute the jacobian with respect to the parameters at a point. Simply returns identity matrix, sized [NDimensions, NDimensions].

T(x, p), x is the position, p is the local parameter at position x. Take a 2D example, x = (x0, x1), p = (p0, p1) and T(x, p) is defined as:

T(x, p) = (T0, T1) = (x0+p0, x1+p1)

Each local deformation is defined as a translation transform. So the Jacobian w.r.t parameters are

dT/dp = [ dT0/dp0, dT0/dp1; dT1/dp0, dT1/dp1 ];

= [1, 0; 0, 1];

TODO: format the above for doxygen formula.

Definition at line 326 of file itkDisplacementFieldTransform.h.

References itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::m_IdentityJacobian.

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::ComputeJacobianWithRespectToParameters ( const IndexType ,
JacobianType j 
) const
inlinevirtual

Compute the jacobian with respect to the parameters at an index. Simply returns identity matrix, sized [NDimensions, NDimensions]. See ComputeJacobianWithRespectToParameters( InputPointType, ... ) for rationale.

Definition at line 339 of file itkDisplacementFieldTransform.h.

References itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::m_IdentityJacobian.

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::ComputeJacobianWithRespectToPosition ( const InputPointType x,
JacobianType j 
) const
overridevirtual

Compute the jacobian with respect to the position, by point. j will be resized as needed.

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::ComputeJacobianWithRespectToPosition ( const IndexType x,
JacobianType j 
) const
virtual

Compute the jacobian with respect to the position, by index. j will be resized as needed.

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::ComputeJacobianWithRespectToPositionInternal ( const IndexType index,
JacobianType jacobian,
bool  doInverseJacobian 
) const
privatevirtual

Internal method for calculating either forward or inverse jacobian, depending on state of doInverseJacobian. Used by public methods ComputeJacobianWithRespectToPosition and GetInverseJacobianOfForwardFieldWithRespectToPosition to perform actual work. doInverseJacobian indicates that the inverse jacobian should be returned

template<typename TParametersValueType , unsigned int NDimensions>
virtual::itk::LightObject::Pointer itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::CreateAnother ( ) const
virtual
template<typename TParametersValueType , unsigned int NDimensions>
virtual double itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetCoordinateTolerance ( ) const
virtual

get/set the Coordinate tolerance This tolerance is used when comparing the space defined by deformation fields and it's inverse to ensure they occupy the same physical space.

See Also
ImageToImageFilterCommon::SetGlobalDefaultCoordinateTolerance
template<typename TParametersValueType , unsigned int NDimensions>
virtual double itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetDirectionTolerance ( ) const
virtual

get/set the direction tolerance This tolerance is used to when comparing the orientation of the deformation fields and it's inverse to ensure they occupy the same physical space.

See Also
ImageToImageFilterCommon::SetGlobalDefaultDirectionTolerance
template<typename TParametersValueType , unsigned int NDimensions>
virtual const DisplacementFieldType* itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetDisplacementField ( ) const
virtual

Get/Set the displacement field. Set the displacement field. Create special set accessor to update interpolator and assign displacement field to transform parameters container.

template<typename TParametersValueType , unsigned int NDimensions>
virtual const ModifiedTimeType& itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetDisplacementFieldSetTime ( ) const
virtual

Get the modification time of displacement field

template<typename TParametersValueType , unsigned int NDimensions>
virtual const InterpolatorType* itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetInterpolator ( ) const
virtual

Get/Set the interpolator. Create out own set accessor that assigns the displacement field

template<typename TParametersValueType , unsigned int NDimensions>
bool itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetInverse ( Self inverse) const

Return an inverse of this transform. Note that the inverse displacement field must be set by the user.

template<typename TParametersValueType , unsigned int NDimensions>
virtual const DisplacementFieldType* itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetInverseDisplacementField ( ) const
virtual

Get/Set the inverse displacement field. This must be supplied by the user for GetInverse() to work.

template<typename TParametersValueType , unsigned int NDimensions>
virtual const InterpolatorType* itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetInverseInterpolator ( ) const
virtual

Get/Set the interpolator for the inverse field. Create out own set accessor that assigns the displacement field

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetInverseJacobianOfForwardFieldWithRespectToPosition ( const InputPointType point,
JacobianType jacobian,
bool  useSVD = false 
) const
virtual

Compute the inverse jacobian of the forward displacement field with respect to the position, by point. Note that this is different than the jacobian of the inverse displacement field. This takes advantage of the ability to compute the inverse jacobian of a displacement field by simply reversing the sign of the forward jacobian. However, a more accurate method for computing the inverse jacobian is to take the inverse of the jacobian matrix. This method is more computationally expensive and may be used by setting useSVD to true

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetInverseJacobianOfForwardFieldWithRespectToPosition ( const IndexType index,
JacobianType jacobian,
bool  useSVD = false 
) const
virtual

Compute the inverse jacobian of the forward displacement field with respect to the position, by index.Note that this is different than the jacobian of the inverse displacement field. This takes advantage of the ability to compute the inverse jacobian of a displacement field by simply reversing the sign of the forward jacobian. However, a more accurate method for computing the inverse jacobian is to take the inverse of the jacobian matrix. This method is more computationally expensive and may be used by setting useSVD to true

template<typename TParametersValueType , unsigned int NDimensions>
virtual InverseTransformBasePointer itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetInverseTransform ( ) const
overridevirtual

Return an inverse of this transform. Note that the inverse displacement field must be set by the user.

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NDimensions >.

Reimplemented in itk::VelocityFieldTransform< TParametersValueType, NDimensions >, and itk::ConstantVelocityFieldTransform< TParametersValueType, NDimensions >.

template<typename TParametersValueType , unsigned int NDimensions>
virtual DisplacementFieldType* itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetModifiableDisplacementField ( )
virtual

Get/Set the displacement field. Set the displacement field. Create special set accessor to update interpolator and assign displacement field to transform parameters container.

template<typename TParametersValueType , unsigned int NDimensions>
virtual InterpolatorType* itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetModifiableInterpolator ( )
virtual

Get/Set the interpolator. Create out own set accessor that assigns the displacement field

template<typename TParametersValueType , unsigned int NDimensions>
virtual DisplacementFieldType* itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetModifiableInverseDisplacementField ( )
virtual

Get/Set the inverse displacement field. This must be supplied by the user for GetInverse() to work.

template<typename TParametersValueType , unsigned int NDimensions>
virtual InterpolatorType* itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetModifiableInverseInterpolator ( )
virtual

Get/Set the interpolator for the inverse field. Create out own set accessor that assigns the displacement field

template<typename TParametersValueType , unsigned int NDimensions>
virtual const char* itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetNameOfClass ( ) const
virtual
template<typename TParametersValueType , unsigned int NDimensions>
virtual NumberOfParametersType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetNumberOfLocalParameters ( void  ) const
inlineoverridevirtual

Return the number of local parameters that completely defines the Transform at an individual voxel. For transforms with local support, this will enable downstream computation of the jacobian wrt only the local support region. For instance, in the case of a deformation field, this will be equal to the number of image dimensions. If it is an affine transform, this will be the same as the GetNumberOfParameters().

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NDimensions >.

Definition at line 412 of file itkDisplacementFieldTransform.h.

References itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::Dimension.

template<typename TParametersValueType , unsigned int NDimensions>
virtual TransformCategoryType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::GetTransformCategory ( ) const
inlineoverridevirtual
template<typename TParametersValueType , unsigned int NDimensions>
static Pointer itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::New ( )
static

New macro for creation of through a Smart Pointer

template<typename TParametersValueType , unsigned int NDimensions>
void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::operator= ( const Self )
private
template<typename TParametersValueType , unsigned int NDimensions>
void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual
template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::SetCoordinateTolerance ( double  _arg)
virtual

get/set the Coordinate tolerance This tolerance is used when comparing the space defined by deformation fields and it's inverse to ensure they occupy the same physical space.

See Also
ImageToImageFilterCommon::SetGlobalDefaultCoordinateTolerance
template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::SetDirectionTolerance ( double  _arg)
virtual

get/set the direction tolerance This tolerance is used to when comparing the orientation of the deformation fields and it's inverse to ensure they occupy the same physical space.

See Also
ImageToImageFilterCommon::SetGlobalDefaultDirectionTolerance
template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::SetDisplacementField ( DisplacementFieldType field)
virtual

Get/Set the displacement field. Set the displacement field. Create special set accessor to update interpolator and assign displacement field to transform parameters container.

Reimplemented in itk::VelocityFieldTransform< TParametersValueType, NDimensions >.

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::SetFixedParameters ( const FixedParametersType )
overridevirtual

This method sets the fixed parameters of the transform. For a displacement field transform, the fixed parameters are the following: field size, field origin, field spacing, and field direction.

Note: If a displacement field already exists, this function creates a new one with zero displacement (identity transform). If an inverse displacement field exists, a new one is also created.

Implements itk::Transform< TParametersValueType, NDimensions, NDimensions >.

Reimplemented in itk::ConstantVelocityFieldTransform< TParametersValueType, NDimensions >, and itk::VelocityFieldTransform< TParametersValueType, NDimensions >.

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::SetFixedParametersFromDisplacementField ( ) const
privatevirtual

Convenience method which reads the information from the current displacement field into m_FixedParameters.

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::SetIdentity ( )
virtual
template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::SetInterpolator ( InterpolatorType interpolator)
virtual

Get/Set the interpolator. Create out own set accessor that assigns the displacement field

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::SetInverseDisplacementField ( DisplacementFieldType inverseDisplacementField)
virtual

Get/Set the inverse displacement field. This must be supplied by the user for GetInverse() to work.

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::SetInverseInterpolator ( InterpolatorType interpolator)
virtual

Get/Set the interpolator for the inverse field. Create out own set accessor that assigns the displacement field

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::SetParameters ( const ParametersType params)
inlineoverridevirtual
template<typename TParametersValueType , unsigned int NDimensions>
virtual OutputCovariantVectorType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::TransformCovariantVector ( const InputCovariantVectorType ) const
inlineoverridevirtual

Definition at line 260 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
virtual OutputVectorPixelType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::TransformCovariantVector ( const InputVectorPixelType ) const
inlineoverridevirtual

Definition at line 268 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
OutputDiffusionTensor3DType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::TransformDiffusionTensor ( const InputDiffusionTensor3DType ) const
inline

Definition at line 243 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
OutputVectorPixelType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::TransformDiffusionTensor ( const InputVectorPixelType ) const
inline

Definition at line 251 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
virtual OutputPointType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::TransformPoint ( const InputPointType thisPoint) const
overridevirtual

Method to transform a point. Out-of-bounds points will be returned with zero displacemnt.

template<typename TParametersValueType , unsigned int NDimensions>
virtual OutputVectorType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::TransformVector ( const InputVectorType ) const
inlineoverridevirtual

Definition at line 222 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
virtual OutputVectorPixelType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::TransformVector ( const InputVectorPixelType ) const
inlineoverridevirtual

Definition at line 229 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
virtual OutputVnlVectorType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::TransformVector ( const InputVnlVectorType ) const
inlineoverridevirtual

Definition at line 235 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::UpdateTransformParameters ( const DerivativeType update,
ScalarType  factor = 1.0 
)
overridevirtual
template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::VerifyFixedParametersInformation ( )
privatevirtual

Internal method to check that the inverse and forward displacement fields have the same fixed parameters.

Member Data Documentation

template<typename TParametersValueType , unsigned int NDimensions>
const unsigned int itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::Dimension = NDimensions
static
template<typename TParametersValueType , unsigned int NDimensions>
double itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::m_CoordinateTolerance
private

Tolerances for checking whether displacement field and it's inverse occupy the same physical space.

Definition at line 492 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
double itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::m_DirectionTolerance
private

Definition at line 493 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
DisplacementFieldType::Pointer itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::m_DisplacementField
protected

The displacement field and its inverse (if it exists).

Definition at line 446 of file itkDisplacementFieldTransform.h.

Referenced by itk::VelocityFieldTransform< TParametersValueType, NDimensions >::SetDisplacementField().

template<typename TParametersValueType , unsigned int NDimensions>
ModifiedTimeType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::m_DisplacementFieldSetTime
protected

Track when the displacement field was last set/assigned, as distinct from when it may have had its contents modified.

Definition at line 455 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
JacobianType itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::m_IdentityJacobian
protected

Create an identity jacobian for use in ComputeJacobianWithRespectToParameters.

Definition at line 459 of file itkDisplacementFieldTransform.h.

Referenced by itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::ComputeJacobianWithRespectToParameters().

template<typename TParametersValueType , unsigned int NDimensions>
InterpolatorType::Pointer itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::m_Interpolator
protected

The interpolator.

Definition at line 450 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
DisplacementFieldType::Pointer itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::m_InverseDisplacementField
protected

Definition at line 447 of file itkDisplacementFieldTransform.h.

template<typename TParametersValueType , unsigned int NDimensions>
InterpolatorType::Pointer itk::DisplacementFieldTransform< TParametersValueType, NDimensions >::m_InverseInterpolator
protected

Definition at line 451 of file itkDisplacementFieldTransform.h.


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