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 Member Functions | Private Member Functions
elastix::VarianceOverLastDimensionMetric< TElastix > Class Template Reference

#include <elxVarianceOverLastDimensionMetric.h>

Inheritance diagram for elastix::VarianceOverLastDimensionMetric< TElastix >:
Inheritance graph
[legend]
Collaboration diagram for elastix::VarianceOverLastDimensionMetric< TElastix >:
Collaboration graph
[legend]

Public Types

typedef
AdvancedBSplineDeformableTransformBase
< ScalarType,
FixedImageDimension > 
BSplineTransformBaseType
typedef
AdvancedCombinationTransform
< ScalarType,
FixedImageDimension > 
CombinationTransformType
typedef
Superclass2::ConfigurationPointer 
ConfigurationPointer
typedef
Superclass2::ConfigurationType 
ConfigurationType
typedef SmartPointer< const SelfConstPointer
typedef
Superclass1::CoordinateRepresentationType 
CoordinateRepresentationType
typedef Superclass1::DerivativeType DerivativeType
typedef Superclass2::ElastixPointer ElastixPointer
typedef Superclass2::ElastixType ElastixType
typedef
Superclass1::FixedImageConstPointer 
FixedImageConstPointer
typedef
Superclass1::FixedImageLimiterOutputType 
FixedImageLimiterOutputType
typedef
Superclass1::FixedImageLimiterType 
FixedImageLimiterType
typedef
Superclass1::FixedImageMaskPointer 
FixedImageMaskPointer
typedef
Superclass1::FixedImageMaskType 
FixedImageMaskType
typedef
Superclass1::FixedImagePixelType 
FixedImagePixelType
typedef
Superclass1::FixedImageRegionType 
FixedImageRegionType
typedef
Superclass1::FixedImageSizeType 
FixedImageSizeType
typedef Superclass1::FixedImageType FixedImageType
typedef
Superclass1::GradientImageFilterPointer 
GradientImageFilterPointer
typedef
Superclass1::GradientImageFilterType 
GradientImageFilterType
typedef
Superclass1::GradientImagePointer 
GradientImagePointer
typedef
Superclass1::GradientImageType 
GradientImageType
typedef
Superclass1::GradientPixelType 
GradientPixelType
typedef
Superclass1::ImageSampleContainerPointer 
ImageSampleContainerPointer
typedef
Superclass1::ImageSampleContainerType 
ImageSampleContainerType
typedef
Superclass1::ImageSamplerPointer 
ImageSamplerPointer
typedef
Superclass1::ImageSamplerType 
ImageSamplerType
typedef Superclass1::InputPointType InputPointType
typedef
Superclass1::InterpolatorPointer 
InterpolatorPointer
typedef
Superclass1::InterpolatorType 
InterpolatorType
typedef Superclass2::ITKBaseType ITKBaseType
typedef Superclass1::MeasureType MeasureType
typedef
Superclass1::MovingImageConstPointer 
MovingImageConstPointer
typedef
Superclass1::MovingImageDerivativeScalesType 
MovingImageDerivativeScalesType
typedef
Superclass1::MovingImageLimiterOutputType 
MovingImageLimiterOutputType
typedef
Superclass1::MovingImageLimiterType 
MovingImageLimiterType
typedef
Superclass1::MovingImageMaskPointer 
MovingImageMaskPointer
typedef
Superclass1::MovingImageMaskType 
MovingImageMaskType
typedef
Superclass1::MovingImagePixelType 
MovingImagePixelType
typedef
Superclass1::MovingImageRegionType 
MovingImageRegionType
typedef
Superclass1::MovingImageType 
MovingImageType
typedef
Superclass1::OutputPointType 
OutputPointType
typedef Superclass1::ParametersType ParametersType
typedef SmartPointer< SelfPointer
typedef Superclass1::RealType RealType
typedef
AdvancedBSplineDeformableTransformBase
< ScalarType,
FixedImageDimension-1 > 
ReducedDimensionBSplineTransformBaseType
typedef
Superclass2::RegistrationPointer 
RegistrationPointer
typedef
Superclass2::RegistrationType 
RegistrationType
typedef Superclass1::ScalarType ScalarType
typedef
VarianceOverLastDimensionMetric 
Self
typedef StackTransform
< ScalarType,
FixedImageDimension,
MovingImageDimension > 
StackTransformType
typedef
VarianceOverLastDimensionImageMetric
< typename MetricBase
< TElastix >::FixedImageType,
typename MetricBase< TElastix >
::MovingImageType
Superclass1
typedef MetricBase< TElastix > Superclass2
typedef TimerType::Pointer TimerPointer
typedef tmr::Timer TimerType
typedef
Superclass1::TransformJacobianType 
TransformJacobianType
typedef
Superclass1::TransformParametersType 
TransformParametersType
typedef
Superclass1::TransformPointer 
TransformPointer
typedef Superclass1::TransformType TransformType

Public Member Functions

virtual void BeforeEachResolution (void)
 elxClassNameMacro ("VarianceOverLastDimensionMetric")
virtual const char * GetClassName () const
virtual void Initialize (void) throw (ExceptionObject)
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 VarianceOverLastDimensionMetric ()
virtual ~VarianceOverLastDimensionMetric ()

Private Member Functions

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

Detailed Description

template<class TElastix>
class elastix::VarianceOverLastDimensionMetric< TElastix >

Compute the sum of variances over the slowest varying dimension in the moving image.

For a description of this metric see the paper:
Nonrigid registration of dynamic medical imaging data using nD+t B-splines and a groupwise optimization approach, C.T. Metz, S. Klein, M. Schaap, T. van Walsum and W.J. Niessen, Medical Image Analysis, in press.

This metric is based on the AdvancedImageToImageMetric. It is templated over the type of the fixed and moving images to be compared.

This metric computes the sum of variances over the slowest varying dimension in the moving image. The spatial positions of the moving image are established through a Transform. Pixel values are taken from the Moving image.

This implementation is based on the AdvancedImageToImageMetric, which means that:

Parameters:
SampleLastDimensionRandomly: randomly sample a number of time points to to compute the variance from. When set to "false", all time points are taken into account. When set to "true", a random number of time points is selected, which can be set with parameter NumSamplesLastDimension.
Parameters:
NumSamplesLastDimension: the number of random samples to take in the time time direction of the data when SampleLastDimensionRandomly is set to true.
Parameters:
SubtractMean: subtract the over time computed mean parameter value from each parameter. This should be used when registration is performed directly on the moving image, without using a fixed image. Possible values are "true" or "false".

Definition at line 67 of file elxVarianceOverLastDimensionMetric.h.


Member Typedef Documentation

template<class TElastix >
typedef AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension > elastix::VarianceOverLastDimensionMetric< TElastix >::BSplineTransformBaseType

Typedef's for the B-spline transform.

Definition at line 164 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef AdvancedCombinationTransform< ScalarType, FixedImageDimension > elastix::VarianceOverLastDimensionMetric< TElastix >::CombinationTransformType

Definition at line 166 of file elxVarianceOverLastDimensionMetric.h.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 157 of file elxVarianceOverLastDimensionMetric.h.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 156 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef SmartPointer<const Self> elastix::VarianceOverLastDimensionMetric< TElastix >::ConstPointer

Typedefs from the superclass.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 99 of file elxVarianceOverLastDimensionMetric.h.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 155 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef Superclass2::ElastixType elastix::VarianceOverLastDimensionMetric< TElastix >::ElastixType

Typedef's inherited from Elastix.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 154 of file elxVarianceOverLastDimensionMetric.h.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 104 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef Superclass2::ITKBaseType elastix::VarianceOverLastDimensionMetric< TElastix >::ITKBaseType

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 160 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef Superclass1::MeasureType elastix::VarianceOverLastDimensionMetric< TElastix >::MeasureType

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 126 of file elxVarianceOverLastDimensionMetric.h.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 101 of file elxVarianceOverLastDimensionMetric.h.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 128 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef SmartPointer<Self> elastix::VarianceOverLastDimensionMetric< TElastix >::Pointer
template<class TElastix >
typedef Superclass1::RealType elastix::VarianceOverLastDimensionMetric< TElastix >::RealType

Definition at line 170 of file elxVarianceOverLastDimensionMetric.h.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 159 of file elxVarianceOverLastDimensionMetric.h.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 158 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef Superclass1::ScalarType elastix::VarianceOverLastDimensionMetric< TElastix >::ScalarType
template<class TElastix >
typedef VarianceOverLastDimensionMetric elastix::VarianceOverLastDimensionMetric< TElastix >::Self

Standard ITK-stuff.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 77 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef StackTransform< ScalarType, FixedImageDimension, MovingImageDimension > elastix::VarianceOverLastDimensionMetric< TElastix >::StackTransformType

Definition at line 168 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef VarianceOverLastDimensionImageMetric< typename MetricBase<TElastix>::FixedImageType, typename MetricBase<TElastix>::MovingImageType > elastix::VarianceOverLastDimensionMetric< TElastix >::Superclass1

Definition at line 80 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef MetricBase<TElastix> elastix::VarianceOverLastDimensionMetric< TElastix >::Superclass2

Definition at line 81 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef TimerType::Pointer elastix::VarianceOverLastDimensionMetric< TElastix >::TimerPointer

Typedef for timer.

Definition at line 175 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef tmr::Timer elastix::VarianceOverLastDimensionMetric< TElastix >::TimerType

Typedef for timer.

Definition at line 173 of file elxVarianceOverLastDimensionMetric.h.


Constructor & Destructor Documentation

template<class TElastix >
elastix::VarianceOverLastDimensionMetric< TElastix >::VarianceOverLastDimensionMetric ( ) [inline, protected]

The constructor.

Definition at line 192 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
virtual elastix::VarianceOverLastDimensionMetric< TElastix >::~VarianceOverLastDimensionMetric ( ) [inline, protected, virtual]

The destructor.

Definition at line 194 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
elastix::VarianceOverLastDimensionMetric< TElastix >::VarianceOverLastDimensionMetric ( const Self ) [private]

The private constructor.


Member Function Documentation

template<class TElastix >
virtual void elastix::VarianceOverLastDimensionMetric< TElastix >::BeforeEachResolution ( void  ) [virtual]

Do some things before each resolution:

  • Set CheckNumberOfSamples setting
  • Set UseNormalization setting

Reimplemented from elastix::BaseComponent.

template<class TElastix >
elastix::VarianceOverLastDimensionMetric< TElastix >::elxClassNameMacro ( "VarianceOverLastDimensionMetric< TElastix >"  )

Name of this class. Use this name in the parameter file to select this specific metric.
example: (Metric "VarianceOverLastDimensionMetric")

template<class TElastix >
virtual const char* elastix::VarianceOverLastDimensionMetric< TElastix >::GetClassName ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from elastix::MetricBase< TElastix >.

template<class TElastix >
virtual void elastix::VarianceOverLastDimensionMetric< TElastix >::Initialize ( void  ) throw (ExceptionObject) [virtual]

Sets up a timer to measure the initialisation time and calls the Superclass' implementation.

Reimplemented from itk::VarianceOverLastDimensionImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >.

template<class TElastix >
elastix::VarianceOverLastDimensionMetric< TElastix >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned  int,
FixedImageType::ImageDimension   
)

The fixed image dimension.

Reimplemented from elastix::MetricBase< TElastix >.

template<class TElastix >
elastix::VarianceOverLastDimensionMetric< TElastix >::itkStaticConstMacro ( MovingImageDimension  ,
unsigned  int,
MovingImageType::ImageDimension   
)

The moving image dimension.

Reimplemented from elastix::MetricBase< TElastix >.

template<class TElastix >
static Pointer elastix::VarianceOverLastDimensionMetric< TElastix >::New ( ) [static]
template<class TElastix >
void elastix::VarianceOverLastDimensionMetric< TElastix >::operator= ( const Self ) [private]

The private copy constructor.



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