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

#include <elxCorrespondingPointsEuclideanDistanceMetric.h>

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

Public Types

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::FixedImageMaskPointer 
FixedImageMaskPointer
typedef
Superclass1::FixedImageMaskType 
FixedImageMaskType
typedef Superclass2::FixedImageType FixedImageType
typedef
Superclass1::FixedPointSetConstPointer 
FixedPointSetConstPointer
typedef
Superclass1::FixedPointSetType 
FixedPointSetType
typedef FixedImageType ImageType
typedef Superclass1::InputPointType InputPointType
typedef Superclass2::ITKBaseType ITKBaseType
typedef Superclass1::MeasureType MeasureType
typedef
Superclass1::MovingImageMaskPointer 
MovingImageMaskPointer
typedef
Superclass1::MovingImageMaskType 
MovingImageMaskType
typedef
Superclass2::MovingImageType 
MovingImageType
typedef
Superclass1::MovingPointSetConstPointer 
MovingPointSetConstPointer
typedef
Superclass1::MovingPointSetType 
MovingPointSetType
typedef
Superclass1::OutputPointType 
OutputPointType
typedef Superclass1::ParametersType ParametersType
typedef SmartPointer< SelfPointer
typedef FixedPointSetType PointSetType
typedef
Superclass2::RegistrationPointer 
RegistrationPointer
typedef
Superclass2::RegistrationType 
RegistrationType
typedef
CorrespondingPointsEuclideanDistanceMetric 
Self
typedef
CorrespondingPointsEuclideanDistancePointMetric
< typename MetricBase
< TElastix >
::FixedPointSetType, typename
MetricBase< TElastix >
::MovingPointSetType
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 int BeforeAllBase (void)
virtual void BeforeRegistration (void)
 elxClassNameMacro ("CorrespondingPointsEuclideanDistanceMetric")
virtual const char * GetClassName () const
virtual void Initialize (void) throw ( ExceptionObject )
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
unsigned int ReadLandmarks (const std::string &landmarkFileName, typename PointSetType::Pointer &pointSet, const typename ImageType::ConstPointer image)
virtual void SelectNewSamples (void)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 CorrespondingPointsEuclideanDistanceMetric ()
virtual ~CorrespondingPointsEuclideanDistanceMetric ()

Private Member Functions

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

Detailed Description

template<class TElastix>
class elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >

An metric based on the itk::CorrespondingPointsEuclideanDistancePointMetric.

The parameters used in this class are:

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

Definition at line 40 of file elxCorrespondingPointsEuclideanDistanceMetric.h.


Member Typedef Documentation

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

Typedefs from the superclass.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 72 of file elxCorrespondingPointsEuclideanDistanceMetric.h.

Typedefs inherited from elastix.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 95 of file elxCorrespondingPointsEuclideanDistanceMetric.h.

template<class TElastix >
typedef FixedImageType elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >::ImageType
template<class TElastix >
typedef SmartPointer<Self> elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >::Pointer

Assuming fixed and moving pointsets are of equal type, which implicitly assumes that the fixed and moving image are of the same type.

Definition at line 116 of file elxCorrespondingPointsEuclideanDistanceMetric.h.

Standard ITK-stuff.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 50 of file elxCorrespondingPointsEuclideanDistanceMetric.h.

template<class TElastix >
typedef MetricBase<TElastix> elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >::Superclass2
template<class TElastix >
typedef tmr::Timer elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >::TimerType

Typedef for timer.

Definition at line 120 of file elxCorrespondingPointsEuclideanDistanceMetric.h.


Constructor & Destructor Documentation

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

The constructor.

Definition at line 153 of file elxCorrespondingPointsEuclideanDistanceMetric.h.

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

The destructor.

Definition at line 155 of file elxCorrespondingPointsEuclideanDistanceMetric.h.

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

The private constructor.


Member Function Documentation

template<class TElastix >
virtual int elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >::BeforeAllBase ( void  ) [virtual]

Do some things before all:

  • Check and print the command line arguments fp and mp. This should be done in BeforeAllBase and not BeforeAll.

Reimplemented from elastix::BaseComponent.

template<class TElastix >
virtual void elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >::BeforeRegistration ( void  ) [virtual]

Do some things before registration:

  • Load and set the pointsets.

Reimplemented from elastix::BaseComponent.

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

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

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

Run-time type information (and related methods).

Reimplemented from elastix::MetricBase< TElastix >.

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

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

Reimplemented from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >.

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

The fixed image dimension.

Reimplemented from elastix::MetricBase< TElastix >.

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

The moving image dimension.

Reimplemented from elastix::MetricBase< TElastix >.

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

The private copy constructor.

template<class TElastix >
unsigned int elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >::ReadLandmarks ( const std::string &  landmarkFileName,
typename PointSetType::Pointer &  pointSet,
const typename ImageType::ConstPointer  image 
)

Function to read the corresponding points.

template<class TElastix >
virtual void elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >::SelectNewSamples ( void  ) [inline, virtual]

Overwrite to silence warning.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 148 of file elxCorrespondingPointsEuclideanDistanceMetric.h.



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