ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions
itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions > Class Template Reference

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

#include <itkGaussianSmoothingOnUpdateDisplacementFieldTransform.h>

Inheritance diagram for itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >:
Collaboration diagram for itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef Superclass::DerivativeType DerivativeType
typedef DerivativeType::ValueType DerivativeValueType
typedef
Superclass::DisplacementFieldPointer 
DisplacementFieldPointer
typedef
Superclass::DisplacementFieldType 
DisplacementFieldType
typedef
DisplacementFieldType::PixelType 
DisplacementVectorType
typedef SmartPointer< SelfPointer
typedef Superclass::ScalarType ScalarType
typedef
GaussianSmoothingOnUpdateDisplacementFieldTransform 
Self
typedef
DisplacementFieldTransform
< TScalar, NDimensions > 
Superclass

Public Member Functions

virtual DisplacementFieldPointer GaussianSmoothDisplacementField (DisplacementFieldType *, ScalarType)
virtual const char * GetNameOfClass () const
virtual void UpdateTransformParameters (DerivativeType &update, ScalarType factor=1.0)
virtual void SetGaussianSmoothingVarianceForTheUpdateField (ScalarType _arg)
virtual const ScalarTypeGetGaussianSmoothingVarianceForTheUpdateField ()
virtual void SetGaussianSmoothingVarianceForTheTotalField (ScalarType _arg)
virtual const ScalarTypeGetGaussianSmoothingVarianceForTheTotalField ()

Static Public Member Functions

static Pointer New ()

Protected Types

typedef GaussianOperator
< ScalarType,
Superclass::Dimension
GaussianSmoothingOperatorType
typedef
VectorNeighborhoodOperatorImageFilter
< DisplacementFieldType,
DisplacementFieldType
GaussianSmoothingSmootherType

Protected Member Functions

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

Protected Attributes

GaussianSmoothingOperatorType m_GaussianSmoothingOperator
GaussianSmoothingSmootherType::Pointer m_GaussianSmoothingSmoother
DisplacementFieldType::Pointer m_GaussianSmoothingTempField
unsigned long m_GaussianSmoothingTempFieldModifiedTime
ScalarType m_GaussianSmoothingVarianceForTheTotalField
ScalarType m_GaussianSmoothingVarianceForTheUpdateField

Private Member Functions

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

Detailed Description

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

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

This class is the same as DisplacementFieldTransform, 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.

To free the memory allocated and cached in GaussianSmoothDisplacementField on demand, see FreeGaussianSmoothingTempField.

Definition at line 46 of file itkGaussianSmoothingOnUpdateDisplacementFieldTransform.h.


Member Typedef Documentation

template<class TScalar , unsigned int NDimensions>
typedef SmartPointer<const Self> itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::ConstPointer
template<class TScalar , unsigned int NDimensions>
typedef Superclass::DerivativeType itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::DerivativeType
template<class TScalar , unsigned int NDimensions>
typedef DerivativeType::ValueType itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::DerivativeValueType
template<class TScalar , unsigned int NDimensions>
typedef Superclass::DisplacementFieldPointer itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::DisplacementFieldPointer
template<class TScalar , unsigned int NDimensions>
typedef Superclass::DisplacementFieldType itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::DisplacementFieldType

Define the displacement field type and corresponding interpolator type.

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

Definition at line 67 of file itkGaussianSmoothingOnUpdateDisplacementFieldTransform.h.

template<class TScalar , unsigned int NDimensions>
typedef DisplacementFieldType::PixelType itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::DisplacementVectorType
template<class TScalar , unsigned int NDimensions>
typedef GaussianOperator<ScalarType, Superclass::Dimension> itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::GaussianSmoothingOperatorType [protected]

Type of Gaussian Operator used during smoothing. Define here so we can use a member var during the operation.

Definition at line 123 of file itkGaussianSmoothingOnUpdateDisplacementFieldTransform.h.

template<class TScalar , unsigned int NDimensions>
typedef SmartPointer<Self> itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::Pointer
template<class TScalar , unsigned int NDimensions>
typedef Superclass::ScalarType itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::ScalarType
template<class TScalar , unsigned int NDimensions>
typedef GaussianSmoothingOnUpdateDisplacementFieldTransform itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::Self

Standard class typedefs.

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

Definition at line 51 of file itkGaussianSmoothingOnUpdateDisplacementFieldTransform.h.

template<class TScalar , unsigned int NDimensions>
typedef DisplacementFieldTransform<TScalar, NDimensions> itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::Superclass

Constructor & Destructor Documentation

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

Member Function Documentation

template<class TScalar , unsigned int NDimensions>
virtual DisplacementFieldPointer itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::GaussianSmoothDisplacementField ( DisplacementFieldType ,
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::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::GetGaussianSmoothingVarianceForTheTotalField ( ) [virtual]

Get/Set the Gaussian smoothing standard deviation for the total field. Default = 0.5.

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

Get/Set the Gaussian smoothing standard deviation for the update field. Default = 1.75.

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

Run-time type information (and related methods).

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

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

New macro for creation of through a Smart Pointer

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

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

Create an identity jacobian for use in ComputeJacobianWithRespectToParameters.

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

template<class TScalar , unsigned int NDimensions>
void itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< 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::DisplacementFieldTransform< TScalar, NDimensions >.

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

Get/Set the Gaussian smoothing standard deviation for the total field. Default = 0.5.

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

Get/Set the Gaussian smoothing standard deviation for the update field. Default = 1.75.

template<class TScalar , unsigned int NDimensions>
virtual void itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< 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. GaussianSmoothDisplacementField is called after the update is added to the field. See base class for more details.


Member Data Documentation

template<class TScalar , unsigned int NDimensions>
GaussianSmoothingOperatorType itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::m_GaussianSmoothingOperator [protected]
template<class TScalar , unsigned int NDimensions>
GaussianSmoothingSmootherType::Pointer itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::m_GaussianSmoothingSmoother [protected]
template<class TScalar , unsigned int NDimensions>
DisplacementFieldType::Pointer itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::m_GaussianSmoothingTempField [protected]
template<class TScalar , unsigned int NDimensions>
unsigned long itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< 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 112 of file itkGaussianSmoothingOnUpdateDisplacementFieldTransform.h.

template<class TScalar , unsigned int NDimensions>
ScalarType itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::m_GaussianSmoothingVarianceForTheTotalField [protected]
template<class TScalar , unsigned int NDimensions>
ScalarType itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >::m_GaussianSmoothingVarianceForTheUpdateField [protected]

Used in GaussianSmoothDisplacementField as variance for the GaussianOperator

Definition at line 116 of file itkGaussianSmoothingOnUpdateDisplacementFieldTransform.h.


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