Orfeo Toolbox  4.0
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField > Class Template Reference

#include <itkLevelSetMotionRegistrationFunction.h>

+ Inheritance diagram for itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >:
+ Collaboration diagram for itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >:

Classes

struct  GlobalDataStruct
 

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef double CoordRepType
 
typedef CovariantVector
< double,
itkGetStaticConstMacro(ImageDimension) > 
CovariantVectorType
 
typedef
ZeroFluxNeumannBoundaryCondition
< ImageType
DefaultBoundaryConditionType
 
typedef
LinearInterpolateImageFunction
< MovingImageType,
CoordRepType
DefaultInterpolatorType
 
typedef
Superclass::DisplacementFieldType 
DisplacementFieldType
 
typedef
Superclass::DisplacementFieldTypePointer 
DisplacementFieldTypePointer
 
typedef
Superclass::FixedImagePointer 
FixedImagePointer
 
typedef Superclass::FixedImageType FixedImageType
 
typedef Superclass::FloatOffsetType FloatOffsetType
 
typedef TDisplacementField ImageType
 
typedef FixedImageType::IndexType IndexType
 
typedef InterpolatorType::Pointer InterpolatorPointer
 
typedef
InterpolateImageFunction
< MovingImageType,
CoordRepType
InterpolatorType
 
typedef
Superclass::MovingImagePointer 
MovingImagePointer
 
typedef
MovingImageSmoothingFilterType::Pointer 
MovingImageSmoothingFilterPointer
 
typedef
SmoothingRecursiveGaussianImageFilter
< MovingImageType
MovingImageSmoothingFilterType
 
typedef Superclass::MovingImageType MovingImageType
 
typedef
MovingImageType::SpacingType 
MovingSpacingType
 
typedef Vector< PixelRealType,
itkGetStaticConstMacro(ImageDimension) > 
NeighborhoodScalesType
 
typedef
Superclass::NeighborhoodType 
NeighborhoodType
 
typedef double PixelRealType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef InterpolatorType::PointType PointType
 
typedef Superclass::RadiusType RadiusType
 
typedef
LevelSetMotionRegistrationFunction 
Self
 
typedef FixedImageType::SizeType SizeType
 
typedef FixedImageType::SpacingType SpacingType
 
typedef
PDEDeformableRegistrationFunction
< TFixedImage, TMovingImage,
TDisplacementField > 
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
typedef Vector< double,
itkGetStaticConstMacro(ImageDimension) > 
VectorType
 

Public Member Functions

virtual TimeStepType ComputeGlobalTimeStep (void *GlobalData) const
 
const NeighborhoodScalesType ComputeNeighborhoodScales () const
 
virtual PixelType ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=FloatOffsetType(0.0))
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual void Delete ()
 
virtual double GetAlpha () const
 
DisplacementFieldTypeGetDisplacementField (void)
 
double GetEnergy () const
 
const FixedImageTypeGetFixedImage (void) const
 
virtual void * GetGlobalDataPointer () const
 
virtual double GetGradientMagnitudeThreshold () const
 
virtual double GetGradientSmoothingStandardDeviations () const
 
double GetGradientStep () const
 
virtual double GetIntensityDifferenceThreshold () const
 
virtual double GetMetric () const
 
const MovingImageTypeGetMovingImage (void) const
 
InterpolatorTypeGetMovingImageInterpolator (void)
 
virtual const char * GetNameOfClass () const
 
bool GetNormalizeGradient () const
 
const RadiusTypeGetRadius () const
 
virtual int GetReferenceCount () const
 
virtual double GetRMSChange () const
 
void GetScaleCoefficients (PixelRealType vals[ImageDimension]) const
 
bool GetUseImageSpacing () const
 
virtual void InitializeIteration ()
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void ReleaseGlobalDataPointer (void *GlobalData) const
 
virtual void SetAlpha (double)
 
void SetDisplacementField (DisplacementFieldTypePointer ptr)
 
void SetEnergy (double e)
 
void SetFixedImage (const FixedImageType *ptr)
 
virtual void SetGradientMagnitudeThreshold (double)
 
virtual void SetGradientSmoothingStandardDeviations (double)
 
void SetGradientStep (double e)
 
virtual void SetIntensityDifferenceThreshold (double)
 
void SetMovingImage (const MovingImageType *ptr)
 
void SetMovingImageInterpolator (InterpolatorType *ptr)
 
void SetNormalizeGradient (bool e)
 
void SetRadius (const RadiusType &r)
 
virtual void SetReferenceCount (int)
 
void SetScaleCoefficients (PixelRealType vals[ImageDimension])
 
void SetUseImageSpacing (bool)
 
virtual void UnRegister () const
 

Static Public Member Functions

static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = Superclass::ImageDimension
 

Protected Types

typedef
ConstNeighborhoodIterator
< FixedImageType
FixedImageNeighborhoodIteratorType
 
typedef int InternalReferenceCountType
 

Protected Member Functions

 LevelSetMotionRegistrationFunction ()
 
 ~LevelSetMotionRegistrationFunction ()
 
virtual LightObject::Pointer InternalClone () const
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 

Protected Attributes

DisplacementFieldTypePointer m_DisplacementField
 
double m_Energy
 
FixedImagePointer m_FixedImage
 
double m_GradientStep
 
MovingImagePointer m_MovingImage
 
bool m_NormalizeGradient
 
RadiusType m_Radius
 
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 
PixelRealType m_ScaleCoefficients [ImageDimension]
 

Private Member Functions

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

Private Attributes

double m_Alpha
 
PointType m_FixedImageOrigin
 
SpacingType m_FixedImageSpacing
 
double m_GradientMagnitudeThreshold
 
double m_GradientSmoothingStandardDeviations
 
double m_IntensityDifferenceThreshold
 
double m_Metric
 
SimpleFastMutexLock m_MetricCalculationLock
 
InterpolatorPointer m_MovingImageInterpolator
 
MovingImageSmoothingFilterPointer m_MovingImageSmoothingFilter
 
SizeValueType m_NumberOfPixelsProcessed
 
double m_RMSChange
 
InterpolatorPointer m_SmoothMovingImageInterpolator
 
double m_SumOfSquaredChange
 
double m_SumOfSquaredDifference
 
bool m_UseImageSpacing
 

Detailed Description

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
class itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >

This class encapsulate the PDE which drives the demons registration algorithm. It is used by LevelSetMotionRegistrationFilter to compute the output deformation field which will map a moving image onto a a fixed image.

Non-integer moving image values are obtained by using interpolation. The default interpolator is of type LinearInterpolateImageFunction. The user may set other interpolators via method SetMovingImageInterpolator. Note that the input interpolator must derive from baseclass InterpolateImageFunction.

This class is templated over the fixed image type, moving image type, and the deformation field type.

Warning
This filter assumes that the fixed image type, moving image type and deformation field type all have the same number of dimensions.
See Also
LevelSetMotionRegistrationFilter

Definition at line 54 of file itkLevelSetMotionRegistrationFunction.h.

Member Typedef Documentation

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef SmartPointer< const Self > itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ConstPointer

Definition at line 67 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef double itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::CoordRepType

Interpolator type.

Definition at line 105 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef CovariantVector< double, itkGetStaticConstMacro(ImageDimension) > itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::CovariantVectorType

Definition at line 115 of file itkLevelSetMotionRegistrationFunction.h.

The default boundary condition for finite difference functions that is used unless overridden in the Evaluate() method.

Definition at line 92 of file itkFiniteDifferenceFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef LinearInterpolateImageFunction< MovingImageType, CoordRepType > itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::DefaultInterpolatorType

Definition at line 110 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef Superclass::DisplacementFieldType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldType

Deformation field type.

Definition at line 89 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef Superclass::DisplacementFieldTypePointer itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldTypePointer

Definition at line 91 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef ConstNeighborhoodIterator< FixedImageType > itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::FixedImageNeighborhoodIteratorType
protected

FixedImage image neighborhood iterator type.

Definition at line 215 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef Superclass::FixedImagePointer itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::FixedImagePointer

Definition at line 83 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef Superclass::FixedImageType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::FixedImageType

FixedImage image type.

Definition at line 82 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef Superclass::FloatOffsetType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::FloatOffsetType

Definition at line 101 of file itkLevelSetMotionRegistrationFunction.h.

typedef TDisplacementField itk::FiniteDifferenceFunction< TDisplacementField >::ImageType
inherited

Extract some parameters from the image type

Definition at line 76 of file itkFiniteDifferenceFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef FixedImageType::IndexType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::IndexType

Definition at line 84 of file itkLevelSetMotionRegistrationFunction.h.

typedef int itk::LightObject::InternalReferenceCountType
protectedinherited

Define the type of the reference count according to the target. This allows the use of atomic operations

Definition at line 152 of file itkLightObject.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef InterpolatorType::Pointer itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::InterpolatorPointer

Definition at line 107 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef InterpolateImageFunction< MovingImageType, CoordRepType > itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::InterpolatorType

Definition at line 106 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef Superclass::MovingImagePointer itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImagePointer

Definition at line 78 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef MovingImageSmoothingFilterType::Pointer itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImageSmoothingFilterPointer

Definition at line 121 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef SmoothingRecursiveGaussianImageFilter< MovingImageType > itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImageSmoothingFilterType

Moving image gradient calculator type.

Definition at line 119 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef Superclass::MovingImageType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImageType

MovingImage image type.

Definition at line 74 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef MovingImageType::SpacingType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingSpacingType

Definition at line 79 of file itkLevelSetMotionRegistrationFunction.h.

typedef Vector< PixelRealType, itkGetStaticConstMacro(ImageDimension) > itk::FiniteDifferenceFunction< TDisplacementField >::NeighborhoodScalesType
inherited

The type of data structure that holds the scales with which the neighborhood is weighted to properly account for spacing and neighborhood radius.

Definition at line 103 of file itkFiniteDifferenceFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef Superclass::NeighborhoodType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::NeighborhoodType

Definition at line 100 of file itkLevelSetMotionRegistrationFunction.h.

typedef double itk::FiniteDifferenceFunction< TDisplacementField >::PixelRealType
inherited

Definition at line 81 of file itkFiniteDifferenceFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef Superclass::PixelType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::PixelType

Inherit some enums from the superclass.

Definition at line 98 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef SmartPointer< Self > itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::Pointer

Definition at line 66 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef InterpolatorType::PointType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::PointType

Definition at line 108 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef Superclass::RadiusType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::RadiusType

Definition at line 99 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef LevelSetMotionRegistrationFunction itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::Self

Standard class typedefs.

Definition at line 61 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef FixedImageType::SizeType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SizeType

Definition at line 85 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef FixedImageType::SpacingType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SpacingType

Definition at line 86 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField > itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::Superclass

Definition at line 64 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef Superclass::TimeStepType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::TimeStepType

Definition at line 102 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef Vector< double, itkGetStaticConstMacro(ImageDimension) > itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::VectorType

Vector types.

Definition at line 113 of file itkLevelSetMotionRegistrationFunction.h.

Constructor & Destructor Documentation

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::LevelSetMotionRegistrationFunction ( )
protected
template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::~LevelSetMotionRegistrationFunction ( )
inlineprotected

Definition at line 210 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::LevelSetMotionRegistrationFunction ( const Self )
private

Member Function Documentation

void itk::LightObject::BreakOnError ( )
staticinherited

This method is called when itkExceptionMacro executes. It allows the debugger to break on error.

Definition at line 150 of file itkLightObject.cxx.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::TimeStepType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ComputeGlobalTimeStep ( void *  GlobalData) const
virtual

Compute the time step that can taken for this iterations. In this context, the timestep is a function of the maximum gradients.

Compute the global time step for this iteration.

Implements itk::FiniteDifferenceFunction< TDisplacementField >.

Definition at line 417 of file itkLevelSetMotionRegistrationFunction.hxx.

References itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GlobalDataStruct::m_MaxL1Norm.

const NeighborhoodScalesType itk::FiniteDifferenceFunction< TDisplacementField >::ComputeNeighborhoodScales ( ) const
inherited

Compute the scales that weight the neighborhood during difference operations to properly account for spacing and neighborhood radius

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::PixelType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ComputeUpdate ( const NeighborhoodType it,
void *  gd,
const FloatOffsetType offset = FloatOffsetType(0.0) 
)
virtual
template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
virtual::itk::LightObject::Pointer itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::LightObject.

void itk::LightObject::Delete ( )
virtualinherited

Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.

Delete a itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C++ delete method will not work with reference counting.

Definition at line 91 of file itkLightObject.cxx.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
double itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetAlpha ( void  ) const
virtual
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
DisplacementFieldType* itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetDisplacementField ( void  )
inlineinherited

Get the deformation field. This function should have been declared const. It is not for backward compatibility reasons.

Definition at line 94 of file itkPDEDeformableRegistrationFunction.h.

References itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_DisplacementField.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
double itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetEnergy ( ) const
inlineinherited
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
const FixedImageType* itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetFixedImage ( void  ) const
inlineinherited
template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
virtual void* itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetGlobalDataPointer ( ) const
inlinevirtual
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
double itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetGradientMagnitudeThreshold ( ) const
virtual
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
double itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetGradientSmoothingStandardDeviations ( ) const
virtual
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
double itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetGradientStep ( ) const
inlineinherited
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
double itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetIntensityDifferenceThreshold ( ) const
virtual
template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
virtual double itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetMetric ( ) const
inlinevirtual

Get the metric value. The metric value is the mean square difference in intensity between the fixed image and transforming moving image computed over the the overlapping region between the two images.

Definition at line 164 of file itkLevelSetMotionRegistrationFunction.h.

References itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_Metric.

Referenced by itk::LevelSetMotionRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetMetric().

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
const MovingImageType* itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetMovingImage ( void  ) const
inlineinherited
template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
InterpolatorType* itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetMovingImageInterpolator ( void  )
inline
template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
virtual const char* itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
bool itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetNormalizeGradient ( ) const
inlineinherited
const RadiusType& itk::FiniteDifferenceFunction< TDisplacementField >::GetRadius ( void  ) const
inherited

Returns the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations.

virtual int itk::LightObject::GetReferenceCount ( ) const
inlinevirtualinherited

Gets the reference count on this object.

Definition at line 112 of file itkLightObject.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
virtual double itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetRMSChange ( ) const
inlinevirtual
void itk::FiniteDifferenceFunction< TDisplacementField >::GetScaleCoefficients ( PixelRealType  vals[ImageDimension]) const
inherited

Returns the current scale coefficients.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
bool itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetUseImageSpacing ( ) const

Return the flag that defines whether the image spacing should be taken into account in computations.

Definition at line 199 of file itkLevelSetMotionRegistrationFunction.hxx.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::InitializeIteration ( )
virtual

Set the object's state before each iteration.

Set the function state values before each iteration

Reimplemented from itk::FiniteDifferenceFunction< TDisplacementField >.

Definition at line 222 of file itkLevelSetMotionRegistrationFunction.hxx.

LightObject::Pointer itk::LightObject::InternalClone ( ) const
protectedvirtualinherited
itk::LightObject::itkCloneMacro ( Self  )
inherited
template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
static Pointer itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::New ( )
static

Method for creation through the object factory.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
void itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::operator= ( const Self )
private
void itk::LightObject::Print ( std::ostream &  os,
Indent  indent = 0 
) const
inherited

Cause the object to print itself out.

Avoid DLL boundary problems. This function will be common to all itk objects. It just calls the header/self/trailer virtual print methods, which can be overriden by subclasses (any itk object).

Definition at line 137 of file itkLightObject.cxx.

References itk::Indent::GetNextIndent().

Referenced by itk::operator<<(), and itk::VideoStream< TFrameType >::PrintSelf().

void itk::LightObject::PrintHeader ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print header for all objects.

Definition at line 315 of file itkLightObject.cxx.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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.

Chaining method to print an object's instance variables, as well as its superclasses.

Reimplemented from itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >.

Definition at line 79 of file itkLevelSetMotionRegistrationFunction.hxx.

void itk::LightObject::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print trailer for all objects.

Definition at line 325 of file itkLightObject.cxx.

void itk::LightObject::Register ( ) const
virtualinherited

Increase the reference count (mark as used by another object).

Reimplemented in itk::Object, and itk::ExceptionObject::ReferenceCountedExceptionData.

Definition at line 158 of file itkLightObject.cxx.

Referenced by itk::ExceptionObject::ReferenceCountedExceptionData::Register().

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ReleaseGlobalDataPointer ( void *  GlobalData) const
virtual
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetAlpha ( double  alpha)
virtual

Set/Get the parameter alpha. Alpha is added to the calculated gradient magnitude prior to normalizing the gradient to protect against numerical instability as the gradient magnitude approaches zero. This should be set as a small fraction of the intensity dynamic range, for instance 0.04%. Default is the absolute (not percentage) value of 0.1.

Definition at line 110 of file itkLevelSetMotionRegistrationFunction.hxx.

Referenced by itk::LevelSetMotionRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetAlpha().

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetDisplacementField ( DisplacementFieldTypePointer  ptr)
inlineinherited
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetEnergy ( double  e)
inlineinherited
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetFixedImage ( const FixedImageType ptr)
inlineinherited
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetGradientMagnitudeThreshold ( double  threshold)
virtual

Set/Get the threshold below which the gradient magnitude is considered the zero vector. Default is 1e-9.

Definition at line 154 of file itkLevelSetMotionRegistrationFunction.hxx.

Referenced by itk::LevelSetMotionRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetGradientMagnitudeThreshold().

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetGradientSmoothingStandardDeviations ( double  sigma)
virtual

Set/Get the standard deviation used for smoothing the moving image prior to calculating gradients.

Definition at line 176 of file itkLevelSetMotionRegistrationFunction.hxx.

Referenced by itk::LevelSetMotionRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetGradientSmoothingStandardDeviations().

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetGradientStep ( double  e)
inlineinherited
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetIntensityDifferenceThreshold ( double  threshold)
virtual

Set/Get the threshold below which the absolute difference of intensity yields a match. When the intensities match between a moving and fixed image pixel, the update vector (for that iteration) will be the zero vector. Default is 0.001.

Definition at line 132 of file itkLevelSetMotionRegistrationFunction.hxx.

Referenced by itk::LevelSetMotionRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetIntensityDifferenceThreshold().

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetMovingImage ( const MovingImageType ptr)
inlineinherited
template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
void itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetMovingImageInterpolator ( InterpolatorType ptr)
inline
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetNormalizeGradient ( bool  e)
inlineinherited
void itk::FiniteDifferenceFunction< TDisplacementField >::SetRadius ( const RadiusType r)
inherited

Sets the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations.

void itk::LightObject::SetReferenceCount ( int  ref)
virtualinherited

Sets the reference count on this object. This is a dangerous method, use it with care.

Sets the reference count (use with care)

Reimplemented in itk::Object.

Definition at line 240 of file itkLightObject.cxx.

void itk::FiniteDifferenceFunction< TDisplacementField >::SetScaleCoefficients ( PixelRealType  vals[ImageDimension])
inherited

Set the ScaleCoefficients for the difference operators. The defaults a 1.0. These can be set to take the image spacing into account.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
void itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::SetUseImageSpacing ( bool  useImageSpacing)

Use the image spacing information in calculations. Use this option if you want derivatives in physical space. Default is UseImageSpacing ON, due to a backward compatibility state.

Set the flag that defines whether the image spacing should be taken into account in computations.

Definition at line 211 of file itkLevelSetMotionRegistrationFunction.hxx.

Referenced by itk::LevelSetMotionRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::InitializeIteration().

void itk::LightObject::UnRegister ( ) const
virtualinherited

Decrease the reference count (release by another object).

Reimplemented in itk::Object, and itk::ExceptionObject::ReferenceCountedExceptionData.

Definition at line 189 of file itkLightObject.cxx.

Referenced by itk::LightObject::New(), and itk::ExceptionObject::ReferenceCountedExceptionData::UnRegister().

Member Data Documentation

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
const unsigned int itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::ImageDimension = Superclass::ImageDimension
static

Inherit some enums from the superclass.

Definition at line 95 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
double itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_Alpha
private

Stabilization factor for normalizing gradients to protect against small gradient magnitudes

Definition at line 243 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
DisplacementFieldTypePointer itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_DisplacementField
protectedinherited
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
double itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_Energy
mutableprotectedinherited
template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
FixedImagePointer itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_FixedImage
protectedinherited
template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
PointType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_FixedImageOrigin
private

Definition at line 232 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
SpacingType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_FixedImageSpacing
private

Cache fixed image information.

Definition at line 231 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
double itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_GradientMagnitudeThreshold
private

Threshold below which the gradient is considered zero.

Definition at line 246 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
double itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_GradientSmoothingStandardDeviations
private

Smoothing parameter for gradient calculation

Definition at line 252 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
double itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_GradientStep
mutableprotectedinherited
template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
double itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_IntensityDifferenceThreshold
private

Threshold below which two intensity value are assumed to match.

Definition at line 249 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
double itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_Metric
mutableprivate

The metric value is the mean square difference in intensity between the fixed image and transforming moving image computed over the the overlapping region between the two images.

Definition at line 257 of file itkLevelSetMotionRegistrationFunction.h.

Referenced by itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetMetric().

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
SimpleFastMutexLock itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_MetricCalculationLock
mutableprivate

Mutex lock to protect modification to metric.

Definition at line 264 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
MovingImagePointer itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_MovingImage
protectedinherited
template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
InterpolatorPointer itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_MovingImageInterpolator
private
template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
MovingImageSmoothingFilterPointer itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_MovingImageSmoothingFilter
private

Function to compute derivatives of the moving image.

Definition at line 235 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage , typename TMovingImage , typename TDisplacementField >
bool itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_NormalizeGradient
protectedinherited
template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
SizeValueType itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_NumberOfPixelsProcessed
mutableprivate

Definition at line 259 of file itkLevelSetMotionRegistrationFunction.h.

RadiusType itk::FiniteDifferenceFunction< TDisplacementField >::m_Radius
protectedinherited

Definition at line 191 of file itkFiniteDifferenceFunction.h.

InternalReferenceCountType itk::LightObject::m_ReferenceCount
mutableprotectedinherited

Number of uses of this object by other objects.

Definition at line 156 of file itkLightObject.h.

SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock
mutableprotectedinherited

Mutex lock to protect modification to the reference count

Definition at line 159 of file itkLightObject.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
double itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_RMSChange
mutableprivate
PixelRealType itk::FiniteDifferenceFunction< TDisplacementField >::m_ScaleCoefficients[ImageDimension]
protectedinherited

Definition at line 192 of file itkFiniteDifferenceFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
InterpolatorPointer itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_SmoothMovingImageInterpolator
private

Definition at line 239 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
double itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_SumOfSquaredChange
mutableprivate

Definition at line 261 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
double itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_SumOfSquaredDifference
mutableprivate

Definition at line 258 of file itkLevelSetMotionRegistrationFunction.h.

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
bool itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::m_UseImageSpacing
private

Definition at line 266 of file itkLevelSetMotionRegistrationFunction.h.


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

Generated at Sat Mar 8 2014 17:21:10 for Orfeo Toolbox with doxygen 1.8.3.1