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::MutualInformationHistogramMetric< TElastix > Class Template Reference

#include <elxMutualInformationHistogramMetric.h>

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

Public Types

typedef
Superclass2::ConfigurationPointer 
ConfigurationPointer
typedef
Superclass2::ConfigurationType 
ConfigurationType
typedef SmartPointer< const SelfConstPointer
typedef Superclass1::DerivativeType DerivativeType
typedef Superclass2::ElastixPointer ElastixPointer
typedef Superclass2::ElastixType ElastixType
typedef
Superclass1::FixedImageConstPointer 
FixedImageConstPointer
typedef Superclass1::FixedImageType FixedImageType
typedef
Superclass1::InterpolatorType 
InterpolatorType
typedef Superclass2::ITKBaseType ITKBaseType
typedef Superclass1::MeasureType MeasureType
typedef
Superclass1::MovingImageConstPointer 
MovingImageCosntPointer
typedef
Superclass1::MovingImageType 
MovingImageType
typedef Superclass1::ParametersType ParametersType
typedef SmartPointer< SelfPointer
typedef
Superclass2::RegistrationPointer 
RegistrationPointer
typedef
Superclass2::RegistrationType 
RegistrationType
typedef Superclass1::ScalesType ScalesType
typedef
MutualInformationHistogramMetric 
Self
typedef
MutualInformationHistogramImageToImageMetric
< 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::TransformPointer 
TransformPointer
typedef Superclass1::TransformType TransformType
- Public Types inherited from elastix::MetricBase< TElastix >
typedef
AdvancedImageToImageMetric
< FixedImageType,
MovingImageType
AdvancedMetricType
typedef
Superclass::ConfigurationPointer 
ConfigurationPointer
typedef
Superclass::ConfigurationType 
ConfigurationType
typedef
ITKBaseType::ParametersValueType 
CoordinateRepresentationType
typedef Superclass::ElastixPointer ElastixPointer
typedef Superclass::ElastixType ElastixType
typedef ElastixType::FixedImageType FixedImageType
typedef PointSet
< CoordinateRepresentationType,
FixedImageDimension,
DefaultStaticMeshTraits
< CoordinateRepresentationType,
FixedImageDimension,
FixedImageDimension,
CoordinateRepresentationType,
CoordinateRepresentationType,
CoordinateRepresentationType > > 
FixedPointSetType
typedef FixedImageType::PointType FixedPointType
typedef FixedPointType::ValueType FixedPointValueType
typedef
AdvancedMetricType::ImageSamplerType 
ImageSamplerBaseType
typedef SingleValuedCostFunction ITKBaseType
typedef ITKBaseType::MeasureType MeasureType
typedef
ElastixType::MovingImageType 
MovingImageType
typedef PointSet
< CoordinateRepresentationType,
MovingImageDimension,
DefaultStaticMeshTraits
< CoordinateRepresentationType,
MovingImageDimension,
MovingImageDimension,
CoordinateRepresentationType,
CoordinateRepresentationType,
CoordinateRepresentationType > > 
MovingPointSetType
typedef MovingImageType::PointType MovingPointType
typedef MovingPointType::ValueType MovingPointValueType
typedef
Superclass::RegistrationPointer 
RegistrationPointer
typedef
Superclass::RegistrationType 
RegistrationType
typedef MetricBase Self
typedef BaseComponentSE< TElastix > Superclass
- Public Types inherited from elastix::BaseComponentSE< TElastix >
typedef
ElastixType::ConfigurationPointer 
ConfigurationPointer
typedef
ElastixType::ConfigurationType 
ConfigurationType
typedef ElastixType::Pointer ElastixPointer
typedef TElastix ElastixType
typedef RegistrationTypeRegistrationPointer
typedef
ElastixType::RegistrationBaseType 
RegistrationType
typedef BaseComponentSE Self
typedef BaseComponent Superclass

Public Member Functions

virtual void BeforeEachResolution (void)
virtual void BeforeRegistration (void)
 elxClassNameMacro ("MutualInformationHistogram")
virtual const char * GetClassName () const
virtual void Initialize (void) throw (ExceptionObject)
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
- Public Member Functions inherited from elastix::MetricBase< TElastix >
virtual void AfterEachIterationBase (void)
virtual void BeforeEachResolutionBase (void)
virtual ImageSamplerBaseTypeGetAdvancedMetricImageSampler (void) const
virtual bool GetAdvancedMetricUseImageSampler (void) const
virtual ITKBaseTypeGetAsITKBaseType (void)
virtual const ITKBaseTypeGetAsITKBaseType (void) const
virtual MeasureType GetCurrentExactMetricValue (void) const
virtual bool GetShowExactMetricValue (void) const
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
virtual void SelectNewSamples (void)
virtual void SetAdvancedMetricImageSampler (ImageSamplerBaseType *sampler)
- Public Member Functions inherited from elastix::BaseComponentSE< TElastix >
virtual ConfigurationTypeGetConfiguration (void) const
virtual ElastixTypeGetElastix (void) const
virtual RegistrationPointer GetRegistration (void) const
virtual void SetConfiguration (ConfigurationType *_arg)
virtual void SetElastix (ElastixType *_arg)
- Public Member Functions inherited from elastix::BaseComponent
virtual void AfterEachIteration (void)
virtual void AfterEachResolution (void)
virtual void AfterEachResolutionBase (void)
virtual void AfterRegistration (void)
virtual void AfterRegistrationBase (void)
virtual int BeforeAll (void)
virtual int BeforeAllBase (void)
virtual void BeforeRegistrationBase (void)
virtual const char * elxGetClassName (void) const
virtual const char * GetComponentLabel (void) const
virtual void SetComponentLabel (const char *label, unsigned int idx)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 MutualInformationHistogramMetric ()
virtual ~MutualInformationHistogramMetric ()
- Protected Member Functions inherited from elastix::MetricBase< TElastix >
virtual MeasureType GetExactValue (const ParametersType &parameters)
 MetricBase ()
virtual ~MetricBase ()
- Protected Member Functions inherited from elastix::BaseComponentSE< TElastix >
 BaseComponentSE ()
virtual ~BaseComponentSE ()
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()
virtual ~BaseComponent ()

Private Member Functions

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

Additional Inherited Members

- Protected Types inherited from elastix::MetricBase< TElastix >
typedef itk::ImageGridSampler
< FixedImageType
ExactMetricImageSamplerType
typedef
ExactMetricImageSamplerType::SampleGridSpacingType 
ExactMetricSampleGridSpacingType
typedef ITKBaseType::ParametersType ParametersType
- Protected Attributes inherited from elastix::MetricBase< TElastix >
MeasureType m_CurrentExactMetricValue
ExactMetricSampleGridSpacingType m_ExactMetricSampleGridSpacing
ExactMetricImageSamplerType::Pointer m_ExactMetricSampler
bool m_ShowExactMetricValue

Detailed Description

template<class TElastix>
class elastix::MutualInformationHistogramMetric< TElastix >

A metric based on the itk::MutualInformationHistogramImageToImageMetric.

This metric is not yet fully supported. But with a little effort it is!

Warning
: this metric is not very well tested in elastix.
: this metric is not based on the AdvancedImageToImageMetric so does not support the ImageSampler framework and might be very slow in combination with B-spline transform.

The parameters used in this class are:

Parameters:
Metric: Select this metric as follows:
(Metric "MutualInformationHistogram")

Definition at line 46 of file elxMutualInformationHistogramMetric.h.

Member Typedef Documentation

Definition at line 99 of file elxMutualInformationHistogramMetric.h.

Definition at line 98 of file elxMutualInformationHistogramMetric.h.

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

Definition at line 62 of file elxMutualInformationHistogramMetric.h.

template<class TElastix >
typedef Superclass1::DerivativeType elastix::MutualInformationHistogramMetric< TElastix >::DerivativeType

Definition at line 83 of file elxMutualInformationHistogramMetric.h.

Definition at line 97 of file elxMutualInformationHistogramMetric.h.

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

Typedef's inherited from Elastix.

Definition at line 96 of file elxMutualInformationHistogramMetric.h.

template<class TElastix >
typedef Superclass1::FixedImageConstPointer elastix::MutualInformationHistogramMetric< TElastix >::FixedImageConstPointer

Definition at line 87 of file elxMutualInformationHistogramMetric.h.

template<class TElastix >
typedef Superclass1::FixedImageType elastix::MutualInformationHistogramMetric< TElastix >::FixedImageType

Definition at line 85 of file elxMutualInformationHistogramMetric.h.

template<class TElastix >
typedef Superclass1::InterpolatorType elastix::MutualInformationHistogramMetric< TElastix >::InterpolatorType

Definition at line 81 of file elxMutualInformationHistogramMetric.h.

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

Definition at line 102 of file elxMutualInformationHistogramMetric.h.

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

Definition at line 82 of file elxMutualInformationHistogramMetric.h.

template<class TElastix >
typedef Superclass1::MovingImageConstPointer elastix::MutualInformationHistogramMetric< TElastix >::MovingImageCosntPointer

Definition at line 88 of file elxMutualInformationHistogramMetric.h.

template<class TElastix >
typedef Superclass1::MovingImageType elastix::MutualInformationHistogramMetric< TElastix >::MovingImageType

Definition at line 86 of file elxMutualInformationHistogramMetric.h.

template<class TElastix >
typedef Superclass1::ParametersType elastix::MutualInformationHistogramMetric< TElastix >::ParametersType

Definition at line 84 of file elxMutualInformationHistogramMetric.h.

template<class TElastix >
typedef SmartPointer<Self> elastix::MutualInformationHistogramMetric< TElastix >::Pointer

Definition at line 61 of file elxMutualInformationHistogramMetric.h.

Definition at line 101 of file elxMutualInformationHistogramMetric.h.

Definition at line 100 of file elxMutualInformationHistogramMetric.h.

template<class TElastix >
typedef Superclass1::ScalesType elastix::MutualInformationHistogramMetric< TElastix >::ScalesType

Definition at line 89 of file elxMutualInformationHistogramMetric.h.

Standard ITK-stuff.

Definition at line 56 of file elxMutualInformationHistogramMetric.h.

template<class TElastix >
typedef MutualInformationHistogramImageToImageMetric< typename MetricBase<TElastix>::FixedImageType, typename MetricBase<TElastix>::MovingImageType > elastix::MutualInformationHistogramMetric< TElastix >::Superclass1

Definition at line 59 of file elxMutualInformationHistogramMetric.h.

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

Definition at line 60 of file elxMutualInformationHistogramMetric.h.

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

Definition at line 106 of file elxMutualInformationHistogramMetric.h.

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

Typedef's for timer.

Definition at line 105 of file elxMutualInformationHistogramMetric.h.

template<class TElastix >
typedef Superclass1::TransformJacobianType elastix::MutualInformationHistogramMetric< TElastix >::TransformJacobianType

Definition at line 80 of file elxMutualInformationHistogramMetric.h.

template<class TElastix >
typedef Superclass1::TransformPointer elastix::MutualInformationHistogramMetric< TElastix >::TransformPointer

Definition at line 79 of file elxMutualInformationHistogramMetric.h.

template<class TElastix >
typedef Superclass1::TransformType elastix::MutualInformationHistogramMetric< TElastix >::TransformType

Typedefs inherited from the superclass.

Definition at line 78 of file elxMutualInformationHistogramMetric.h.

Constructor & Destructor Documentation

template<class TElastix >
elastix::MutualInformationHistogramMetric< TElastix >::MutualInformationHistogramMetric ( )
protected

The constructor.

template<class TElastix >
virtual elastix::MutualInformationHistogramMetric< TElastix >::~MutualInformationHistogramMetric ( )
inlineprotectedvirtual

The destructor.

Definition at line 128 of file elxMutualInformationHistogramMetric.h.

template<class TElastix >
elastix::MutualInformationHistogramMetric< TElastix >::MutualInformationHistogramMetric ( const Self )
private

The private constructor.

Member Function Documentation

template<class TElastix >
virtual void elastix::MutualInformationHistogramMetric< TElastix >::BeforeEachResolution ( void  )
virtual

Execute stuff before each new pyramid resolution:

  • Nothing yet: still to be implemented.

Reimplemented from elastix::BaseComponent.

template<class TElastix >
virtual void elastix::MutualInformationHistogramMetric< TElastix >::BeforeRegistration ( void  )
virtual

Execute stuff before the actual registration:

  • Nothing yet: still to be implemented.

Reimplemented from elastix::BaseComponent.

template<class TElastix >
elastix::MutualInformationHistogramMetric< TElastix >::elxClassNameMacro ( "MutualInformationHistogram"  )

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

template<class TElastix >
virtual const char* elastix::MutualInformationHistogramMetric< TElastix >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from elastix::MetricBase< TElastix >.

template<class TElastix >
virtual void elastix::MutualInformationHistogramMetric< TElastix >::Initialize ( void  ) throw (ExceptionObject)
virtual

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

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

The moving image dimension.

Reimplemented from elastix::MetricBase< TElastix >.

template<class TElastix >
static Pointer elastix::MutualInformationHistogramMetric< TElastix >::New ( )
static

Method for creation through the object factory.

template<class TElastix >
void elastix::MutualInformationHistogramMetric< TElastix >::operator= ( const Self )
private

The private copy constructor.



Generated on 21-03-2014 for elastix by doxygen 1.8.1.2 elastix logo