Orfeo Toolbox  3.16
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::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField > Class Template Reference

Fast implementation of the symmetric demons registration force. More...

#include <itkESMDemonsRegistrationFunction.h>

+ Inheritance diagram for itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >:
+ Collaboration diagram for itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >:

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::DeformationFieldType 
DeformationFieldType
 
typedef
Superclass::DeformationFieldTypePointer 
DeformationFieldTypePointer
 
typedef
FixedImageType::DirectionType 
DirectionType
 
typedef
Superclass::FixedImagePointer 
FixedImagePointer
 
typedef Superclass::FixedImageType FixedImageType
 
typedef Superclass::FloatOffsetType FloatOffsetType
 
typedef
GradientCalculatorType::Pointer 
GradientCalculatorPointer
 
typedef
CentralDifferenceImageFunction
< FixedImageType
GradientCalculatorType
 
enum  GradientType {
  Symmetric =0,
  Fixed =1,
  WarpedMoving =2,
  MappedMoving =3
}
 
typedef TDeformationField ImageType
 
typedef FixedImageType::IndexType IndexType
 
typedef InterpolatorType::Pointer InterpolatorPointer
 
typedef
InterpolateImageFunction
< MovingImageType,
CoordRepType
InterpolatorType
 
typedef
MovingImageGradientCalculatorType::Pointer 
MovingImageGradientCalculatorPointer
 
typedef
CentralDifferenceImageFunction
< MovingImageType,
CoordRepType
MovingImageGradientCalculatorType
 
typedef
Superclass::MovingImagePointer 
MovingImagePointer
 
typedef Superclass::MovingImageType MovingImageType
 
typedef MovingImageType::PixelType MovingPixelType
 
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
ESMDemonsRegistrationFunction 
Self
 
typedef FixedImageType::SizeType SizeType
 
typedef FixedImageType::SpacingType SpacingType
 
typedef
PDEDeformableRegistrationFunction
< TFixedImage, TMovingImage,
TDeformationField > 
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
typedef WarperType::Pointer WarperPointer
 
typedef WarpImageFilter
< MovingImageType,
MovingImageType,
DeformationFieldType
WarperType
 

Public Member Functions

virtual TimeStepType ComputeGlobalTimeStep (void *) 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 ()
 
DeformationFieldTypeGetDeformationField (void)
 
double GetEnergy () const
 
const FixedImageTypeGetFixedImage (void) const
 
virtual void * GetGlobalDataPointer () const
 
double GetGradientStep () const
 
virtual double GetIntensityDifferenceThreshold () const
 
virtual double GetMaximumUpdateStepLength () 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 const double & GetRMSChange () const
 
virtual GradientType GetUseGradientType () const
 
virtual void InitializeIteration ()
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void ReleaseGlobalDataPointer (void *GlobalData) const
 
void SetDeformationField (DeformationFieldTypePointer ptr)
 
void SetEnergy (double e)
 
void SetFixedImage (const FixedImageType *ptr)
 
void SetGradientStep (double e)
 
virtual void SetIntensityDifferenceThreshold (double)
 
virtual void SetMaximumUpdateStepLength (double sm)
 
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])
 
virtual void SetUseGradientType (GradientType gtype)
 
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

 ESMDemonsRegistrationFunction ()
 
 ~ESMDemonsRegistrationFunction ()
 
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

DeformationFieldTypePointer m_DeformationField
 
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

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

Private Attributes

double m_DenominatorThreshold
 
DirectionType m_FixedImageDirection
 
GradientCalculatorPointer m_FixedImageGradientCalculator
 
PointType m_FixedImageOrigin
 
SpacingType m_FixedImageSpacing
 
double m_IntensityDifferenceThreshold
 
MovingImageGradientCalculatorPointer m_MappedMovingImageGradientCalculator
 
double m_MaximumUpdateStepLength
 
double m_Metric
 
SimpleFastMutexLock m_MetricCalculationLock
 
InterpolatorPointer m_MovingImageInterpolator
 
WarperPointer m_MovingImageWarper
 
double m_Normalizer
 
unsigned long m_NumberOfPixelsProcessed
 
double m_RMSChange
 
double m_SumOfSquaredChange
 
double m_SumOfSquaredDifference
 
TimeStepType m_TimeStep
 
GradientType m_UseGradientType
 

Detailed Description

template<class TFixedImage, class TMovingImage, class TDeformationField>
class itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >

Fast implementation of the symmetric demons registration force.

This class provides a substantially faster implementation of the symmetric demons registration force. Speed is improved by keeping a deformed copy of the moving image for gradient evaluation.

Symmetric forces simply means using the mean of the gradient of the fixed image and the gradient of the warped moving image.

Note that this class also enables the use of fixed, mapped moving and warped moving images forces by using a call to SetUseGradientType

The moving image should not be saturated. We indeed use NumericTraits<MovingPixelType>::Max() as a special value.

Author
Tom Vercauteren, INRIA & Mauna Kea Technologies

This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/510

See Also
SymmetricForcesDemonsRegistrationFunction
SymmetricForcesDemonsRegistrationFilter
DemonsRegistrationFilter
DemonsRegistrationFunction

Definition at line 62 of file itkESMDemonsRegistrationFunction.h.

Member Typedef Documentation

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef SmartPointer<const Self> itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ConstPointer

Definition at line 72 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef double itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::CoordRepType

Interpolator type.

Definition at line 110 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef CovariantVector<double,itkGetStaticConstMacro(ImageDimension)> itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::CovariantVectorType

Covariant vector type.

Definition at line 125 of file itkESMDemonsRegistrationFunction.h.

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

Definition at line 91 of file itkFiniteDifferenceFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef LinearInterpolateImageFunction< MovingImageType,CoordRepType> itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::DefaultInterpolatorType

Definition at line 116 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef Superclass::DeformationFieldType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::DeformationFieldType

Deformation field type.

Definition at line 95 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef Superclass::DeformationFieldTypePointer itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::DeformationFieldTypePointer

Definition at line 97 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef FixedImageType::DirectionType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::DirectionType

Definition at line 92 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef ConstNeighborhoodIterator<FixedImageType> itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::FixedImageNeighborhoodIteratorType
protected

FixedImage image neighborhood iterator type.

Definition at line 221 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef Superclass::FixedImagePointer itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::FixedImagePointer

Definition at line 88 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef Superclass::FixedImageType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::FixedImageType

FixedImage image type.

Definition at line 87 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef Superclass::FloatOffsetType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::FloatOffsetType

Definition at line 106 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef GradientCalculatorType::Pointer itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GradientCalculatorPointer

Definition at line 129 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef CentralDifferenceImageFunction<FixedImageType> itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GradientCalculatorType

Fixed image gradient calculator type.

Definition at line 128 of file itkESMDemonsRegistrationFunction.h.

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

Extract some parameters from the image type

Definition at line 75 of file itkFiniteDifferenceFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef FixedImageType::IndexType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::IndexType

Definition at line 89 of file itkESMDemonsRegistrationFunction.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 137 of file itkLightObject.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef InterpolatorType::Pointer itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::InterpolatorPointer

Definition at line 113 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef InterpolateImageFunction< MovingImageType,CoordRepType> itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::InterpolatorType

Definition at line 112 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef MovingImageGradientCalculatorType::Pointer itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::MovingImageGradientCalculatorPointer

Definition at line 135 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef CentralDifferenceImageFunction<MovingImageType,CoordRepType> itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::MovingImageGradientCalculatorType

Moving image gradient (unwarped) calculator type.

Definition at line 133 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef Superclass::MovingImagePointer itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::MovingImagePointer

Definition at line 83 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef Superclass::MovingImageType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::MovingImageType

MovingImage image type.

Definition at line 79 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef MovingImageType::PixelType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::MovingPixelType

Definition at line 84 of file itkESMDemonsRegistrationFunction.h.

typedef Vector<PixelRealType,itkGetStaticConstMacro(ImageDimension)> itk::FiniteDifferenceFunction< TDeformationField >::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 102 of file itkFiniteDifferenceFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef Superclass::NeighborhoodType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::NeighborhoodType

Definition at line 105 of file itkESMDemonsRegistrationFunction.h.

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

Definition at line 80 of file itkFiniteDifferenceFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef Superclass::PixelType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::PixelType

Inherit some enums from the superclass.

Definition at line 103 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef SmartPointer<Self> itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::Pointer

Definition at line 71 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef InterpolatorType::PointType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::PointType

Definition at line 114 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef Superclass::RadiusType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::RadiusType

Definition at line 104 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef ESMDemonsRegistrationFunction itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::Self

Standard class typedefs.

Definition at line 68 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef FixedImageType::SizeType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SizeType

Definition at line 90 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef FixedImageType::SpacingType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SpacingType

Definition at line 91 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField > itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::Superclass

Definition at line 70 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef Superclass::TimeStepType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::TimeStepType

Definition at line 107 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef WarperType::Pointer itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::WarperPointer

Definition at line 122 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
typedef WarpImageFilter< MovingImageType, MovingImageType,DeformationFieldType> itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::WarperType

Warper type

Definition at line 121 of file itkESMDemonsRegistrationFunction.h.

Member Enumeration Documentation

template<class TFixedImage, class TMovingImage, class TDeformationField>
enum itk::ESMDemonsRegistrationFunction::GradientType

Type of available image forces

Enumerator
Symmetric 
Fixed 
WarpedMoving 
MappedMoving 

Definition at line 202 of file itkESMDemonsRegistrationFunction.h.

Constructor & Destructor Documentation

template<class TFixedImage , class TMovingImage , class TDeformationField >
itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ESMDemonsRegistrationFunction ( )
protected

Default constructor

Definition at line 32 of file itkESMDemonsRegistrationFunction.txx.

References itk::SmartPointer< TObjectType >::GetPointer(), and NULL.

template<class TFixedImage, class TMovingImage, class TDeformationField>
itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::~ESMDemonsRegistrationFunction ( )
inlineprotected

Definition at line 217 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ESMDemonsRegistrationFunction ( 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 149 of file itkLightObject.cxx.

template<class TFixedImage, class TMovingImage, class TDeformationField>
virtual TimeStepType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeGlobalTimeStep ( void *  ) const
inlinevirtual

This class uses a constant timestep of 1.

Implements itk::FiniteDifferenceFunction< TDeformationField >.

Definition at line 146 of file itkESMDemonsRegistrationFunction.h.

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

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

template<class TFixedImage , class TMovingImage , class TDeformationField >
ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::PixelType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate ( const NeighborhoodType it,
void *  gd,
const FloatOffsetType offset = FloatOffsetType(0.0) 
)
virtual
template<class TFixedImage, class TMovingImage, class TDeformationField>
virtual::itk::LightObject::Pointer itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::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 88 of file itkLightObject.cxx.

template<class TFixedImage , class TMovingImage , class TDeformationField >
DeformationFieldType* itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetDeformationField ( void  )
inlineinherited

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

Definition at line 88 of file itkPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
double itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetEnergy ( ) const
inlineinherited
template<class TFixedImage , class TMovingImage , class TDeformationField >
const FixedImageType* itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetFixedImage ( void  ) const
inlineinherited

Get the fixed image.

Definition at line 79 of file itkPDEDeformableRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
virtual void* itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetGlobalDataPointer ( ) const
inlinevirtual
template<class TFixedImage , class TMovingImage , class TDeformationField >
double itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetGradientStep ( ) const
inlineinherited

Definition at line 94 of file itkPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
double itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetIntensityDifferenceThreshold ( ) const
virtual
template<class TFixedImage, class TMovingImage, class TDeformationField>
virtual double itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetMaximumUpdateStepLength ( ) const
inlinevirtual
template<class TFixedImage, class TMovingImage, class TDeformationField>
virtual double itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::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 175 of file itkESMDemonsRegistrationFunction.h.

Referenced by itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >::GetMetric(), and itk::DiffeomorphicDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >::GetMetric().

template<class TFixedImage , class TMovingImage , class TDeformationField >
const MovingImageType* itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetMovingImage ( void  ) const
inlineinherited

Get the moving image.

Definition at line 71 of file itkPDEDeformableRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
InterpolatorType* itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetMovingImageInterpolator ( void  )
inline

Get the moving image interpolator.

Definition at line 142 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
virtual const char* itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

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

template<class TFixedImage , class TMovingImage , class TDeformationField >
bool itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetNormalizeGradient ( ) const
inlineinherited

Definition at line 96 of file itkPDEDeformableRegistrationFunction.h.

const RadiusType& itk::FiniteDifferenceFunction< TDeformationField >::GetRadius ( void  ) const
inlineinherited

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

Definition at line 145 of file itkFiniteDifferenceFunction.h.

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

Gets the reference count on this object.

Definition at line 105 of file itkLightObject.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
virtual const double& itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetRMSChange ( ) const
inlinevirtual
template<class TFixedImage, class TMovingImage, class TDeformationField>
virtual GradientType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetUseGradientType ( ) const
inlinevirtual
template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::InitializeIteration ( )
virtual

Set the object's state before each iteration.

Set the function state values before each iteration

Reimplemented from itk::FiniteDifferenceFunction< TDeformationField >.

Definition at line 148 of file itkESMDemonsRegistrationFunction.txx.

template<class TFixedImage, class TMovingImage, class TDeformationField>
static Pointer itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::New ( )
static

Method for creation through the object factory.

template<class TFixedImage, class TMovingImage, class TDeformationField>
void itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::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 135 of file itkLightObject.cxx.

References itk::Indent::GetNextIndent().

Referenced by itk::operator<<().

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

Define a default print header for all objects.

Definition at line 320 of file itkLightObject.cxx.

template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::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, TDeformationField >.

Definition at line 87 of file itkESMDemonsRegistrationFunction.txx.

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

Define a default print trailer for all objects.

Definition at line 331 of file itkLightObject.cxx.

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

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

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

Definition at line 160 of file itkLightObject.cxx.

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

template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ReleaseGlobalDataPointer ( void *  gd) const
virtual
template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetDeformationField ( DeformationFieldTypePointer  ptr)
inlineinherited
template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetEnergy ( double  e)
inlineinherited

Definition at line 91 of file itkPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetFixedImage ( const FixedImageType ptr)
inlineinherited
template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetGradientStep ( double  e)
inlineinherited

Definition at line 93 of file itkPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::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 126 of file itkESMDemonsRegistrationFunction.txx.

Referenced by itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >::SetIntensityDifferenceThreshold(), and itk::DiffeomorphicDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >::SetIntensityDifferenceThreshold().

template<class TFixedImage, class TMovingImage, class TDeformationField>
virtual void itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetMaximumUpdateStepLength ( double  sm)
inlinevirtual

Set/Get the maximum update step length. In Thirion this is 0.5. Setting it to 0 implies no restriction (beware of numerical instability in this case.

Definition at line 192 of file itkESMDemonsRegistrationFunction.h.

Referenced by itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >::SetMaximumUpdateStepLength(), and itk::DiffeomorphicDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >::SetMaximumUpdateStepLength().

template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetMovingImage ( const MovingImageType ptr)
inlineinherited
template<class TFixedImage, class TMovingImage, class TDeformationField>
void itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetMovingImageInterpolator ( InterpolatorType ptr)
inline

Set the moving image interpolator.

Definition at line 138 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetNormalizeGradient ( bool  e)
inlineinherited

Definition at line 95 of file itkPDEDeformableRegistrationFunction.h.

void itk::FiniteDifferenceFunction< TDeformationField >::SetRadius ( const RadiusType r)
inlineinherited

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

Definition at line 140 of file itkFiniteDifferenceFunction.h.

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 244 of file itkLightObject.cxx.

void itk::FiniteDifferenceFunction< TDeformationField >::SetScaleCoefficients ( PixelRealType  vals[ImageDimension])
inlineinherited

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

Definition at line 151 of file itkFiniteDifferenceFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
virtual void itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetUseGradientType ( GradientType  gtype)
inlinevirtual
void itk::LightObject::UnRegister ( ) const
virtualinherited

Decrease the reference count (release by another object).

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

Definition at line 192 of file itkLightObject.cxx.

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

Member Data Documentation

template<class TFixedImage, class TMovingImage, class TDeformationField>
const unsigned int itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ImageDimension = Superclass::ImageDimension
static

Inherit some enums from the superclass.

Definition at line 100 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
DeformationFieldTypePointer itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_DeformationField
protectedinherited

The deformation field.

Definition at line 128 of file itkPDEDeformableRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
double itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_DenominatorThreshold
private

Threshold below which the denominator term is considered zero.

Definition at line 260 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
double itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_Energy
mutableprotectedinherited

Definition at line 130 of file itkPDEDeformableRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
FixedImagePointer itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_FixedImage
protectedinherited

The fixed image.

Definition at line 125 of file itkPDEDeformableRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
DirectionType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_FixedImageDirection
private

Definition at line 239 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
GradientCalculatorPointer itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_FixedImageGradientCalculator
private

Function to compute derivatives of the fixed image.

Definition at line 243 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
PointType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_FixedImageOrigin
private

Cache fixed image information.

Definition at line 237 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
SpacingType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_FixedImageSpacing
private

Definition at line 238 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
double itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_GradientStep
mutableprotectedinherited

Definition at line 132 of file itkPDEDeformableRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
double itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_IntensityDifferenceThreshold
private

Threshold below which two intensity value are assumed to match.

Definition at line 263 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
MovingImageGradientCalculatorPointer itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_MappedMovingImageGradientCalculator
private

Function to compute derivatives of the moving image (unwarped).

Definition at line 246 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
double itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_MaximumUpdateStepLength
private

Maximum update step length in pixels (default is 0.5 as in Thirion).

Definition at line 266 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
double itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::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 271 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
SimpleFastMutexLock itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_MetricCalculationLock
mutableprivate

Mutex lock to protect modification to metric.

Definition at line 278 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
MovingImagePointer itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_MovingImage
protectedinherited

The moving image.

Definition at line 122 of file itkPDEDeformableRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
InterpolatorPointer itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_MovingImageInterpolator
private

Function to interpolate the moving image.

Definition at line 251 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
WarperPointer itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_MovingImageWarper
private

Filter to warp moving image for fast gradient computation.

Definition at line 254 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage , class TMovingImage , class TDeformationField >
bool itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_NormalizeGradient
protectedinherited

Definition at line 131 of file itkPDEDeformableRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
double itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_Normalizer
private

Definition at line 240 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
unsigned long itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_NumberOfPixelsProcessed
mutableprivate

Definition at line 273 of file itkESMDemonsRegistrationFunction.h.

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

Definition at line 201 of file itkFiniteDifferenceFunction.h.

InternalReferenceCountType itk::LightObject::m_ReferenceCount
mutableprotectedinherited

Number of uses of this object by other objects.

Definition at line 141 of file itkLightObject.h.

SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock
mutableprotectedinherited

Mutex lock to protect modification to the reference count

Definition at line 144 of file itkLightObject.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
double itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_RMSChange
mutableprivate

Definition at line 274 of file itkESMDemonsRegistrationFunction.h.

PixelRealType itk::FiniteDifferenceFunction< TDeformationField >::m_ScaleCoefficients[ImageDimension]
protectedinherited

Definition at line 202 of file itkFiniteDifferenceFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
double itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_SumOfSquaredChange
mutableprivate

Definition at line 275 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
double itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_SumOfSquaredDifference
mutableprivate

Definition at line 272 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
TimeStepType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_TimeStep
private

The global timestep.

Definition at line 257 of file itkESMDemonsRegistrationFunction.h.

template<class TFixedImage, class TMovingImage, class TDeformationField>
GradientType itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_UseGradientType
private

Definition at line 248 of file itkESMDemonsRegistrationFunction.h.


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

Generated at Sun May 19 2013 01:39:22 for Orfeo Toolbox with doxygen 1.8.3.1