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 itk::SmartPointer
< const Self
ConstPointer
 
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 itk::SmartPointer< SelfPointer
 
typedef FixedPointSetType PointSetType
 
typedef
Superclass2::RegistrationPointer 
RegistrationPointer
 
typedef
Superclass2::RegistrationType 
RegistrationType
 
typedef
CorrespondingPointsEuclideanDistanceMetric 
Self
 
typedef
itk::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 Types inherited from itk::CorrespondingPointsEuclideanDistancePointMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
typedef SmartPointer< const SelfConstPointer
 
typedef
OutputPointType::CoordRepType 
CoordRepType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef
Superclass::DerivativeValueType 
DerivativeValueType
 
typedef
Superclass::FixedPointSetConstPointer 
FixedPointSetConstPointer
 
typedef
Superclass::FixedPointSetType 
FixedPointSetType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::MeasureType MeasureType
 
typedef
Superclass::MovingPointSetConstPointer 
MovingPointSetConstPointer
 
typedef
Superclass::MovingPointSetType 
MovingPointSetType
 
typedef
Superclass::NonZeroJacobianIndicesType 
NonZeroJacobianIndicesType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef
Superclass::PointDataIterator 
PointDataIterator
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::PointIterator PointIterator
 
typedef
CorrespondingPointsEuclideanDistancePointMetric 
Self
 
typedef
SingleValuedPointSetToPointSetMetric
< MetricBase< TElastix >
::FixedPointSetType,
MetricBase< TElastix >
::MovingPointSetType
Superclass
 
typedef
Superclass::TransformJacobianType 
TransformJacobianType
 
typedef
Superclass::TransformParametersType 
TransformParametersType
 
typedef
Superclass::TransformPointer 
TransformPointer
 
typedef Superclass::TransformType TransformType
 
typedef vnl_vector< CoordRepTypeVnlVectorType
 
- Public Types inherited from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::ParametersValueType 
CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef DerivativeType::ValueType DerivativeValueType
 
typedef
FixedImageMaskType::ConstPointer 
FixedImageMaskConstPointer
 
typedef FixedImageMaskType::Pointer FixedImageMaskPointer
 
typedef SpatialObject
< itkGetStaticConstMacro(FixedPointSetDimension) > 
FixedImageMaskType
 
typedef
FixedPointSetType::ConstPointer 
FixedPointSetConstPointer
 
typedef
FixedPointSetType::PixelType 
FixedPointSetPixelType
 
typedef MetricBase< TElastix >
::FixedPointSetType 
FixedPointSetType
 
typedef
TransformType::InputPointType 
InputPointType
 
typedef Superclass::MeasureType MeasureType
 
typedef
MovingImageMaskType::ConstPointer 
MovingImageMaskConstPointer
 
typedef
MovingImageMaskType::Pointer 
MovingImageMaskPointer
 
typedef SpatialObject
< itkGetStaticConstMacro(MovingPointSetDimension) > 
MovingImageMaskType
 
typedef
MovingPointSetType::ConstPointer 
MovingPointSetConstPointer
 
typedef
MovingPointSetType::PixelType 
MovingPointSetPixelType
 
typedef MetricBase< TElastix >
::MovingPointSetType 
MovingPointSetType
 
typedef
TransformType::NonZeroJacobianIndicesType 
NonZeroJacobianIndicesType
 
typedef
TransformType::OutputPointType 
OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef
FixedPointSetType::PointDataContainer::ConstIterator 
PointDataIterator
 
typedef SmartPointer< SelfPointer
 
typedef
FixedPointSetType::PointsContainer::ConstIterator 
PointIterator
 
typedef
SingleValuedPointSetToPointSetMetric 
Self
 
typedef SingleValuedCostFunction Superclass
 
typedef TransformType::JacobianType TransformJacobianType
 
typedef
TransformType::ParametersType 
TransformParametersType
 
typedef TransformType::Pointer TransformPointer
 
typedef AdvancedTransform
< CoordinateRepresentationType,
itkGetStaticConstMacro(FixedPointSetDimension),
itkGetStaticConstMacro(MovingPointSetDimension) > 
TransformType
 
- Public Types inherited from elastix::MetricBase< TElastix >
typedef
itk::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 itk::PointSet
< CoordinateRepresentationType,
FixedImageDimension,
itk::DefaultStaticMeshTraits
< CoordinateRepresentationType,
FixedImageDimension,
FixedImageDimension,
CoordinateRepresentationType,
CoordinateRepresentationType,
CoordinateRepresentationType > > 
FixedPointSetType
 
typedef FixedImageType::PointType FixedPointType
 
typedef FixedPointType::ValueType FixedPointValueType
 
typedef
AdvancedMetricType::ImageSamplerType 
ImageSamplerBaseType
 
typedef
itk::SingleValuedCostFunction 
ITKBaseType
 
typedef ITKBaseType::MeasureType MeasureType
 
typedef
ElastixType::MovingImageType 
MovingImageType
 
typedef itk::PointSet
< CoordinateRepresentationType,
MovingImageDimension,
itk::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 int BeforeAllBase (void)
 
virtual void BeforeRegistration (void)
 
 elxClassNameMacro ("CorrespondingPointsEuclideanDistanceMetric")
 
virtual const char * GetClassName () const
 
virtual void Initialize (void) throw ( itk::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)
 
- Public Member Functions inherited from itk::CorrespondingPointsEuclideanDistancePointMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
void GetDerivative (const TransformParametersType &parameters, DerivativeType &Derivative) const
 
MeasureType GetValue (const TransformParametersType &parameters) const
 
void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const
 
- Public Member Functions inherited from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
virtual void BeforeThreadedGetValueAndDerivative (const TransformParametersType &parameters) const
 
virtual const FixedImageMaskTypeGetFixedImageMask ()
 
virtual const FixedPointSetTypeGetFixedPointSet ()
 
virtual const MovingImageMaskTypeGetMovingImageMask ()
 
virtual const MovingPointSetTypeGetMovingPointSet ()
 
unsigned int GetNumberOfParameters (void) const
 
virtual const TransformTypeGetTransform ()
 
virtual const boolGetUseMetricSingleThreaded ()
 
 itkStaticConstMacro (FixedPointSetDimension, unsigned int, MetricBase< TElastix >::FixedPointSetType::PointDimension)
 
 itkStaticConstMacro (MovingPointSetDimension, unsigned int, MetricBase< TElastix >::MovingPointSetType::PointDimension)
 
virtual void SetFixedImageMask (const FixedImageMaskType *_arg)
 
virtual void SetFixedPointSet (const FixedPointSetType *_arg)
 
virtual void SetMovingImageMask (const MovingImageMaskType *_arg)
 
virtual void SetMovingPointSet (const MovingPointSetType *_arg)
 
virtual void SetTransform (TransformType *_arg)
 
void SetTransformParameters (const ParametersType &parameters) const
 
virtual void SetUseMetricSingleThreaded (bool _arg)
 
virtual void UseMetricSingleThreadedOff ()
 
virtual void UseMetricSingleThreadedOn ()
 
- 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)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
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 void BeforeEachResolution (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 ()
 
- Static Public Member Functions inherited from itk::CorrespondingPointsEuclideanDistancePointMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
static Pointer New ()
 

Protected Member Functions

 CorrespondingPointsEuclideanDistanceMetric ()
 
virtual ~CorrespondingPointsEuclideanDistanceMetric ()
 
- Protected Member Functions inherited from itk::CorrespondingPointsEuclideanDistancePointMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
 CorrespondingPointsEuclideanDistancePointMetric ()
 
virtual ~CorrespondingPointsEuclideanDistancePointMetric ()
 
- Protected Member Functions inherited from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
void PrintSelf (std::ostream &os, Indent indent) const
 
 SingleValuedPointSetToPointSetMetric ()
 
virtual ~SingleValuedPointSetToPointSetMetric ()
 
- 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

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

Additional Inherited Members

- Protected Types inherited from elastix::MetricBase< TElastix >
typedef
ExactMetricImageSamplerType::Pointer 
ExactMetricImageSamplerPointer
 
typedef itk::ImageGridSampler
< FixedImageType
ExactMetricImageSamplerType
 
typedef
ExactMetricImageSamplerType::SampleGridSpacingType 
ExactMetricSampleGridSpacingType
 
typedef ITKBaseType::ParametersType ParametersType
 
- Protected Attributes inherited from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
FixedImageMaskConstPointer m_FixedImageMask
 
FixedPointSetConstPointer m_FixedPointSet
 
MovingImageMaskConstPointer m_MovingImageMask
 
MovingPointSetConstPointer m_MovingPointSet
 
unsigned int m_NumberOfPointsCounted
 
TransformPointer m_Transform
 
bool m_UseMetricSingleThreaded
 
- Protected Attributes inherited from elastix::MetricBase< TElastix >
MeasureType m_CurrentExactMetricValue
 
ExactMetricSampleGridSpacingType m_ExactMetricSampleGridSpacing
 
ExactMetricImageSamplerPointer m_ExactMetricSampler
 
bool m_ShowExactMetricValue
 
- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration
 
ElastixPointer m_Elastix
 
RegistrationPointer m_Registration
 

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 38 of file elxCorrespondingPointsEuclideanDistanceMetric.h.

Member Typedef Documentation

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

Typedefs from the superclass.

Definition at line 70 of file elxCorrespondingPointsEuclideanDistanceMetric.h.

Typedefs inherited from elastix.

Definition at line 93 of file elxCorrespondingPointsEuclideanDistanceMetric.h.

template<class TElastix >
typedef FixedImageType elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >::ImageType
template<class TElastix >
typedef itk::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 114 of file elxCorrespondingPointsEuclideanDistanceMetric.h.

Standard ITK-stuff.

Definition at line 48 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 118 of file elxCorrespondingPointsEuclideanDistanceMetric.h.

Constructor & Destructor Documentation

template<class TElastix >
elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >::CorrespondingPointsEuclideanDistanceMetric ( )
inlineprotected

The constructor.

Definition at line 151 of file elxCorrespondingPointsEuclideanDistanceMetric.h.

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

The destructor.

Definition at line 153 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 (itk::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.

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

The moving image dimension.

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

Method for creation through the object factory.

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  )
inlinevirtual

Overwrite to silence warning.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 146 of file elxCorrespondingPointsEuclideanDistanceMetric.h.



Generated on 11-03-2014 for elastix by doxygen 1.8.6 elastix logo