ITK  4.1.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
itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions > Class Template Reference

#include <itkGaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform.h>

+ Inheritance diagram for itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >:
+ Collaboration diagram for itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef Superclass::DerivativeType DerivativeType
typedef DerivativeType::ValueType DerivativeValueType
typedef
TimeVaryingVelocityFieldType::PixelType 
DisplacementVectorType
typedef
DisplacementVectorType::ValueType 
DisplacementVectorValueType
typedef SmartPointer< SelfPointer
typedef Superclass::ScalarType ScalarType
typedef
GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform 
Self
typedef
TimeVaryingVelocityFieldTransform
< TScalar, NDimensions > 
Superclass
typedef
TimeVaryingVelocityFieldType::Pointer 
TimeVaryingVelocityFieldPointer
typedef
Superclass::TimeVaryingVelocityFieldType 
TimeVaryingVelocityFieldType

Public Member Functions

virtual
TimeVaryingVelocityFieldPointer 
GaussianSmoothTimeVaryingVelocityField (TimeVaryingVelocityFieldType *, ScalarType, ScalarType)
virtual const char * GetNameOfClass () const
virtual void UpdateTransformParameters (DerivativeType &update, ScalarType factor=1.0)
virtual void SetGaussianSpatialSmoothingVarianceForTheUpdateField (ScalarType _arg)
virtual const ScalarTypeGetGaussianSpatialSmoothingVarianceForTheUpdateField ()
virtual void SetGaussianTemporalSmoothingVarianceForTheUpdateField (ScalarType _arg)
virtual const ScalarTypeGetGaussianTemporalSmoothingVarianceForTheUpdateField ()
virtual void SetGaussianSpatialSmoothingVarianceForTheTotalField (ScalarType _arg)
virtual const ScalarTypeGetGaussianSpatialSmoothingVarianceForTheTotalField ()
virtual void SetGaussianTemporalSmoothingVarianceForTheTotalField (ScalarType _arg)
virtual const ScalarTypeGetGaussianTemporalSmoothingVarianceForTheTotalField ()

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int TimeVaryingVelocityFieldDimension = NDimensions+1

Protected Member Functions

 GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual ~GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform ()

Protected Attributes

unsigned long m_GaussianSmoothingTempFieldModifiedTime
ScalarType m_GaussianSpatialSmoothingVarianceForTheTotalField
ScalarType m_GaussianSpatialSmoothingVarianceForTheUpdateField
ScalarType m_GaussianTemporalSmoothingVarianceForTheTotalField
ScalarType m_GaussianTemporalSmoothingVarianceForTheUpdateField

Private Member Functions

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

Detailed Description

template<class TScalar, unsigned int NDimensions>
class itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >

Modifies the UpdateTransformParameters method to peform a Gaussian smoothing of the velocity field after adding the update array.

This class is the same as TimeVaryingVelocityFieldTransform, except for the changes to UpdateTransformParameters. The method smooths the result of the addition of the update array and the displacement field, using a GaussianOperator filter.

Definition at line 40 of file itkGaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform.h.


Member Typedef Documentation

template<class TScalar , unsigned int NDimensions>
typedef SmartPointer<const Self> itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::ConstPointer
template<class TScalar , unsigned int NDimensions>
typedef Superclass::DerivativeType itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::DerivativeType
template<class TScalar , unsigned int NDimensions>
typedef DerivativeType::ValueType itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::DerivativeValueType
template<class TScalar , unsigned int NDimensions>
typedef TimeVaryingVelocityFieldType::PixelType itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::DisplacementVectorType
template<class TScalar , unsigned int NDimensions>
typedef DisplacementVectorType::ValueType itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::DisplacementVectorValueType
template<class TScalar , unsigned int NDimensions>
typedef SmartPointer<Self> itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::Pointer
template<class TScalar , unsigned int NDimensions>
typedef Superclass::ScalarType itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::ScalarType
template<class TScalar , unsigned int NDimensions>
typedef GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::Self
template<class TScalar , unsigned int NDimensions>
typedef TimeVaryingVelocityFieldTransform<TScalar, NDimensions> itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::Superclass
template<class TScalar , unsigned int NDimensions>
typedef TimeVaryingVelocityFieldType::Pointer itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::TimeVaryingVelocityFieldPointer
template<class TScalar , unsigned int NDimensions>
typedef Superclass::TimeVaryingVelocityFieldType itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::TimeVaryingVelocityFieldType

Define the time-varying velocity field type and corresponding interpolator type.

Reimplemented from itk::TimeVaryingVelocityFieldTransform< TScalar, NDimensions >.

Definition at line 64 of file itkGaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform.h.


Constructor & Destructor Documentation

template<class TScalar , unsigned int NDimensions>
itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform ( ) [protected]
template<class TScalar , unsigned int NDimensions>
virtual itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::~GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform ( ) [protected, virtual]
template<class TScalar , unsigned int NDimensions>
itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform ( const Self ) [private]

Member Function Documentation

template<class TScalar , unsigned int NDimensions>
virtual TimeVaryingVelocityFieldPointer itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::GaussianSmoothTimeVaryingVelocityField ( TimeVaryingVelocityFieldType ,
ScalarType  ,
ScalarType   
) [virtual]

Smooth the displacement field in-place. Uses m_GaussSmoothSigma to change the variance for the GaussianOperator.

Warning:
Not thread safe. Does its own threading.
template<class TScalar , unsigned int NDimensions>
virtual const ScalarType& itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::GetGaussianSpatialSmoothingVarianceForTheTotalField ( ) [virtual]

Get/Set the Gaussian spatial smoothing variance for the total field. Default = 0.5.

template<class TScalar , unsigned int NDimensions>
virtual const ScalarType& itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::GetGaussianSpatialSmoothingVarianceForTheUpdateField ( ) [virtual]

Get/Set the Gaussian spatial smoothing variance for the update field. Default = 3.

template<class TScalar , unsigned int NDimensions>
virtual const ScalarType& itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::GetGaussianTemporalSmoothingVarianceForTheTotalField ( ) [virtual]

Get/Set the Gaussian temporal smoothing variance for the total field. Default = 0.

template<class TScalar , unsigned int NDimensions>
virtual const ScalarType& itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::GetGaussianTemporalSmoothingVarianceForTheUpdateField ( ) [virtual]

Get/Set the Gaussian temporal smoothing variance for the update field. Default = 1.0.

template<class TScalar , unsigned int NDimensions>
virtual const char* itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::TimeVaryingVelocityFieldTransform< TScalar, NDimensions >.

template<class TScalar , unsigned int NDimensions>
static Pointer itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::New ( ) [static]

New macro for creation of through a Smart Pointer

Reimplemented from itk::TimeVaryingVelocityFieldTransform< TScalar, NDimensions >.

template<class TScalar , unsigned int NDimensions>
void itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::operator= ( const Self ) [private]

Create an identity jacobian for use in ComputeJacobianWithRespectToParameters.

Reimplemented from itk::TimeVaryingVelocityFieldTransform< TScalar, NDimensions >.

template<class TScalar , unsigned int NDimensions>
void itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

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::TimeVaryingVelocityFieldTransform< TScalar, NDimensions >.

template<class TScalar , unsigned int NDimensions>
virtual void itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::SetGaussianSpatialSmoothingVarianceForTheTotalField ( ScalarType  _arg) [virtual]

Get/Set the Gaussian spatial smoothing variance for the total field. Default = 0.5.

template<class TScalar , unsigned int NDimensions>
virtual void itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::SetGaussianSpatialSmoothingVarianceForTheUpdateField ( ScalarType  _arg) [virtual]

Get/Set the Gaussian spatial smoothing variance for the update field. Default = 3.

template<class TScalar , unsigned int NDimensions>
virtual void itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::SetGaussianTemporalSmoothingVarianceForTheTotalField ( ScalarType  _arg) [virtual]

Get/Set the Gaussian temporal smoothing variance for the total field. Default = 0.

template<class TScalar , unsigned int NDimensions>
virtual void itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::SetGaussianTemporalSmoothingVarianceForTheUpdateField ( ScalarType  _arg) [virtual]

Get/Set the Gaussian temporal smoothing variance for the update field. Default = 1.0.

template<class TScalar , unsigned int NDimensions>
virtual void itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::UpdateTransformParameters ( DerivativeType update,
ScalarType  factor = 1.0 
) [virtual]

Update the transform's parameters by the values in update. We assume update is of the same length as Parameters. Throw exception otherwise. factor is a scalar multiplier for each value in update. GaussianSmoothTimeVaryingVelocityField is called after the update is added to the field. See base class for more details.

Reimplemented from itk::TimeVaryingVelocityFieldTransform< TScalar, NDimensions >.


Member Data Documentation

template<class TScalar , unsigned int NDimensions>
unsigned long itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::m_GaussianSmoothingTempFieldModifiedTime [protected]

Track when the temporary displacement field used during smoothing was last modified/initialized. We only want to change it if the main displacement field is also changed, i.e. assigned to a new object

Definition at line 126 of file itkGaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform.h.

template<class TScalar , unsigned int NDimensions>
ScalarType itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::m_GaussianSpatialSmoothingVarianceForTheTotalField [protected]
template<class TScalar , unsigned int NDimensions>
ScalarType itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::m_GaussianSpatialSmoothingVarianceForTheUpdateField [protected]

Used in GaussianSmoothTimeVaryingVelocityField as variance for the GaussianOperator

Definition at line 131 of file itkGaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform.h.

template<class TScalar , unsigned int NDimensions>
ScalarType itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::m_GaussianTemporalSmoothingVarianceForTheTotalField [protected]
template<class TScalar , unsigned int NDimensions>
ScalarType itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::m_GaussianTemporalSmoothingVarianceForTheUpdateField [protected]
template<class TScalar , unsigned int NDimensions>
const unsigned int itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TScalar, NDimensions >::TimeVaryingVelocityFieldDimension = NDimensions+1 [static]

Dimension of the time varying velocity field.

Reimplemented from itk::TimeVaryingVelocityFieldTransform< TScalar, NDimensions >.

Definition at line 58 of file itkGaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform.h.


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