go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Private Member Functions
itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType > Class Template Reference

#include <itkDisplacementMagnitudePenaltyTerm.h>

Inheritance diagram for itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >:
Inheritance graph
[legend]
Collaboration diagram for itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >:
Collaboration graph
[legend]

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Superclass::CoordinateRepresentationType 
CoordinateRepresentationType
typedef Superclass::DerivativeType DerivativeType
typedef
Superclass::DerivativeValueType 
DerivativeValueType
typedef
Superclass::FixedImageConstPointer 
FixedImageConstPointer
typedef
Superclass::FixedImageMaskPointer 
FixedImageMaskPointer
typedef
Superclass::FixedImageMaskType 
FixedImageMaskType
typedef
Superclass::FixedImagePixelType 
FixedImagePixelType
typedef
Superclass::FixedImagePointer 
FixedImagePointer
typedef
Superclass::FixedImageRegionType 
FixedImageRegionType
typedef Superclass::FixedImageType FixedImageType
typedef
Superclass::GradientImageFilterPointer 
GradientImageFilterPointer
typedef
Superclass::GradientImageFilterType 
GradientImageFilterType
typedef
Superclass::GradientImagePointer 
GradientImagePointer
typedef
Superclass::GradientImageType 
GradientImageType
typedef
Superclass::GradientPixelType 
GradientPixelType
typedef
Superclass::ImageSampleContainerPointer 
ImageSampleContainerPointer
typedef
Superclass::ImageSampleContainerType 
ImageSampleContainerType
typedef Superclass::InputPointType InputPointType
typedef
Superclass::InternalMatrixType 
InternalMatrixType
typedef
Superclass::InterpolatorPointer 
InterpolatorPointer
typedef
Superclass::InterpolatorType 
InterpolatorType
typedef
Superclass::JacobianOfSpatialHessianType 
JacobianOfSpatialHessianType
typedef
Superclass::JacobianOfSpatialJacobianType 
JacobianOfSpatialJacobianType
typedef Superclass::MeasureType MeasureType
typedef
Superclass::MovingImageConstPointer 
MovingImageConstPointer
typedef
Superclass::MovingImageMaskPointer 
MovingImageMaskPointer
typedef
Superclass::MovingImageMaskType 
MovingImageMaskType
typedef
Superclass::MovingImagePixelType 
MovingImagePixelType
typedef
Superclass::MovingImagePointer 
MovingImagePointer
typedef Superclass::MovingImageType MovingImageType
typedef Superclass::OutputPointType OutputPointType
typedef Superclass::ParametersType ParametersType
typedef SmartPointer< SelfPointer
typedef Superclass::RealType RealType
typedef Superclass::ScalarType ScalarType
typedef
DisplacementMagnitudePenaltyTerm 
Self
typedef
Superclass::SpatialHessianType 
SpatialHessianType
typedef
Superclass::SpatialJacobianType 
SpatialJacobianType
typedef TransformPenaltyTerm
< TFixedImage, TScalarType > 
Superclass
typedef
Superclass::TransformJacobianType 
TransformJacobianType
typedef
Superclass::TransformParametersType 
TransformParametersType
typedef
Superclass::TransformPointer 
TransformPointer
typedef Superclass::TransformType TransformType

Public Member Functions

virtual const char * GetClassName () const
virtual void GetDerivative (const ParametersType &parameters, DerivativeType &derivative) const
virtual MeasureType GetValue (const ParametersType &parameters) const
virtual void GetValueAndDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)

Static Public Member Functions

static Pointer New ()

Protected Types

typedef
Superclass::FixedImageIndexType 
FixedImageIndexType
typedef
Superclass::FixedImageIndexValueType 
FixedImageIndexValueType
typedef
Superclass::FixedImagePointType 
FixedImagePointType
typedef
Superclass::MovingImageContinuousIndexType 
MovingImageContinuousIndexType
typedef
Superclass::MovingImageIndexType 
MovingImageIndexType
typedef
Superclass::MovingImagePointType 
MovingImagePointType
typedef
Superclass::NonZeroJacobianIndicesType 
NonZeroJacobianIndicesType

Protected Member Functions

 DisplacementMagnitudePenaltyTerm ()
virtual ~DisplacementMagnitudePenaltyTerm ()

Private Member Functions

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

Detailed Description

template<class TFixedImage, class TScalarType>
class itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >

A cost function that calculates $||T(x)-x||^2$.

Definition at line 30 of file itkDisplacementMagnitudePenaltyTerm.h.


Member Typedef Documentation

template<class TFixedImage, class TScalarType>
typedef SmartPointer<const Self> itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::ConstPointer
template<class TFixedImage, class TScalarType>
typedef Superclass::CoordinateRepresentationType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::CoordinateRepresentationType

Typedefs inherited from the superclass.

Reimplemented from itk::TransformPenaltyTerm< TFixedImage, TScalarType >.

Reimplemented in elastix::DisplacementMagnitudePenalty< TElastix >.

Definition at line 46 of file itkDisplacementMagnitudePenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef Superclass::DerivativeType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::DerivativeType
template<class TFixedImage, class TScalarType>
typedef Superclass::DerivativeValueType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::DerivativeValueType
template<class TFixedImage, class TScalarType>
typedef Superclass::FixedImageConstPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImageConstPointer
template<class TFixedImage, class TScalarType>
typedef Superclass::FixedImageIndexType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImageIndexType [protected]

Typedefs for indices and points.

Reimplemented from itk::TransformPenaltyTerm< TFixedImage, TScalarType >.

Definition at line 119 of file itkDisplacementMagnitudePenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef Superclass::FixedImageIndexValueType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImageIndexValueType [protected]
template<class TFixedImage, class TScalarType>
typedef Superclass::FixedImageMaskPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImageMaskPointer
template<class TFixedImage, class TScalarType>
typedef Superclass::FixedImageMaskType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImageMaskType
template<class TFixedImage, class TScalarType>
typedef Superclass::FixedImagePixelType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImagePixelType
template<class TFixedImage, class TScalarType>
typedef Superclass::FixedImagePointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImagePointer
template<class TFixedImage, class TScalarType>
typedef Superclass::FixedImagePointType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImagePointType [protected]
template<class TFixedImage, class TScalarType>
typedef Superclass::FixedImageRegionType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImageRegionType
template<class TFixedImage, class TScalarType>
typedef Superclass::FixedImageType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImageType
template<class TFixedImage, class TScalarType>
typedef Superclass::GradientImageFilterPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GradientImageFilterPointer
template<class TFixedImage, class TScalarType>
typedef Superclass::GradientImageFilterType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GradientImageFilterType
template<class TFixedImage, class TScalarType>
typedef Superclass::GradientImagePointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GradientImagePointer
template<class TFixedImage, class TScalarType>
typedef Superclass::GradientImageType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GradientImageType
template<class TFixedImage, class TScalarType>
typedef Superclass::GradientPixelType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GradientPixelType
template<class TFixedImage, class TScalarType>
typedef Superclass::ImageSampleContainerPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::ImageSampleContainerPointer
template<class TFixedImage, class TScalarType>
typedef Superclass::ImageSampleContainerType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::ImageSampleContainerType
template<class TFixedImage, class TScalarType>
typedef Superclass::InputPointType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::InputPointType
template<class TFixedImage, class TScalarType>
typedef Superclass::InternalMatrixType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::InternalMatrixType
template<class TFixedImage, class TScalarType>
typedef Superclass::InterpolatorPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::InterpolatorPointer
template<class TFixedImage, class TScalarType>
typedef Superclass::InterpolatorType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::InterpolatorType
template<class TFixedImage, class TScalarType>
typedef Superclass ::JacobianOfSpatialHessianType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::JacobianOfSpatialHessianType
template<class TFixedImage, class TScalarType>
typedef Superclass ::JacobianOfSpatialJacobianType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::JacobianOfSpatialJacobianType
template<class TFixedImage, class TScalarType>
typedef Superclass::MeasureType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MeasureType
template<class TFixedImage, class TScalarType>
typedef Superclass::MovingImageConstPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImageConstPointer
template<class TFixedImage, class TScalarType>
typedef Superclass::MovingImageContinuousIndexType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImageContinuousIndexType [protected]
template<class TFixedImage, class TScalarType>
typedef Superclass::MovingImageIndexType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImageIndexType [protected]
template<class TFixedImage, class TScalarType>
typedef Superclass::MovingImageMaskPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImageMaskPointer
template<class TFixedImage, class TScalarType>
typedef Superclass::MovingImageMaskType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImageMaskType
template<class TFixedImage, class TScalarType>
typedef Superclass::MovingImagePixelType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImagePixelType
template<class TFixedImage, class TScalarType>
typedef Superclass::MovingImagePointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImagePointer
template<class TFixedImage, class TScalarType>
typedef Superclass::MovingImagePointType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImagePointType [protected]
template<class TFixedImage, class TScalarType>
typedef Superclass::MovingImageType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImageType
template<class TFixedImage, class TScalarType>
typedef Superclass::NonZeroJacobianIndicesType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::NonZeroJacobianIndicesType [protected]
template<class TFixedImage, class TScalarType>
typedef Superclass::OutputPointType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::OutputPointType
template<class TFixedImage, class TScalarType>
typedef Superclass::ParametersType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::ParametersType
template<class TFixedImage, class TScalarType>
typedef SmartPointer<Self> itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::Pointer
template<class TFixedImage, class TScalarType>
typedef Superclass::RealType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::RealType
template<class TFixedImage, class TScalarType>
typedef Superclass::ScalarType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::ScalarType
template<class TFixedImage, class TScalarType>
typedef DisplacementMagnitudePenaltyTerm itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::Self
template<class TFixedImage, class TScalarType>
typedef Superclass::SpatialHessianType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::SpatialHessianType
template<class TFixedImage, class TScalarType>
typedef Superclass::SpatialJacobianType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::SpatialJacobianType
template<class TFixedImage, class TScalarType>
typedef TransformPenaltyTerm< TFixedImage, TScalarType > itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::Superclass
template<class TFixedImage, class TScalarType>
typedef Superclass::TransformJacobianType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::TransformJacobianType
template<class TFixedImage, class TScalarType>
typedef Superclass::TransformParametersType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::TransformParametersType
template<class TFixedImage, class TScalarType>
typedef Superclass::TransformPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::TransformPointer
template<class TFixedImage, class TScalarType>
typedef Superclass::TransformType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::TransformType

Constructor & Destructor Documentation

template<class TFixedImage, class TScalarType>
itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::DisplacementMagnitudePenaltyTerm ( ) [protected]

The constructor.

template<class TFixedImage, class TScalarType>
virtual itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::~DisplacementMagnitudePenaltyTerm ( ) [inline, protected, virtual]

The destructor.

Definition at line 131 of file itkDisplacementMagnitudePenaltyTerm.h.

template<class TFixedImage, class TScalarType>
itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::DisplacementMagnitudePenaltyTerm ( const Self ) [private]

PrintSelf. * void PrintSelf( std::ostream& os, Indent indent ) const; The private constructor.


Member Function Documentation

template<class TFixedImage, class TScalarType>
virtual const char* itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GetClassName ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::TransformPenaltyTerm< TFixedImage, TScalarType >.

Reimplemented in elastix::DisplacementMagnitudePenalty< TElastix >.

template<class TFixedImage, class TScalarType>
virtual void itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GetDerivative ( const ParametersType parameters,
DerivativeType derivative 
) const [virtual]

Get the penalty term derivative. Simply calls GetValueAndDerivative and returns the derivative.

template<class TFixedImage, class TScalarType>
virtual MeasureType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GetValue ( const ParametersType parameters) const [virtual]

Get the penalty term value.

\[ Value = 1/N sum_x ||T(x) - x||^2 \]

template<class TFixedImage, class TScalarType>
virtual void itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GetValueAndDerivative ( const ParametersType parameters,
MeasureType value,
DerivativeType derivative 
) const [virtual]

Get the penalty term value and derivative.

\[ Value = C(\mu) = 1/N sum_x ||T_{\mu}(x) - x||^2 \]

\[ Derivative = \frac{\partial C}{\partial\mu} = 2/N sum_x (T_{\mu}(x)-x)' \frac{\partial T}{\partial \mu} \]

template<class TFixedImage, class TScalarType>
itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned  int,
FixedImageType::ImageDimension   
)
template<class TFixedImage, class TScalarType>
static Pointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::New ( ) [static]

Method for creation through the object factory.

Reimplemented in elastix::DisplacementMagnitudePenalty< TElastix >.

template<class TFixedImage, class TScalarType>
void itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::operator= ( const Self ) [private]

The private copy constructor.

Reimplemented from itk::TransformPenaltyTerm< TFixedImage, TScalarType >.



Generated on 24-05-2012 for elastix by doxygen 1.7.6.1 elastix logo