ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > Class Template Reference

#include <itkPointSetToPointSetMetric.h>

+ Inheritance diagram for itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >:
+ Collaboration diagram for itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >:

Detailed Description

template<typename TFixedPointSet, typename TMovingPointSet>
class itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >

Computes similarity between two point sets.

This Class is templated over the type of the two point-sets. It expects a Transform to be plugged in. This particular class is the base class for a hierarchy of point-set to point-set metrics.

This class computes a value that measures the similarity between the fixed point-set and the transformed moving point-set.

Definition at line 45 of file itkPointSetToPointSetMetric.h.

Public Types

using ConstPointer = SmartPointer< const Self >
 
using CoordinateRepresentationType = Superclass::ParametersValueType
 
using DerivativeType = Superclass::DerivativeType
 
using FixedPointDataIterator = typename FixedPointSetType::PointDataContainer::ConstIterator
 
using FixedPointIterator = typename FixedPointSetType::PointsContainer::ConstIterator
 
using FixedPointSetConstPointer = typename FixedPointSetType::ConstPointer
 
using FixedPointSetType = TFixedPointSet
 
using InputPointType = typename TransformType::InputPointType
 
using MeasureType = Superclass::MeasureType
 
using MovingPointDataIterator = typename MovingPointSetType::PointDataContainer::ConstIterator
 
using MovingPointIterator = typename MovingPointSetType::PointsContainer::ConstIterator
 
using MovingPointSetConstPointer = typename MovingPointSetType::ConstPointer
 
using MovingPointSetPixelType = typename TMovingPointSet::PixelType
 
using MovingPointSetType = TMovingPointSet
 
using OutputPointType = typename TransformType::OutputPointType
 
using ParametersType = Superclass::ParametersType
 
using Pointer = SmartPointer< Self >
 
using Self = PointSetToPointSetMetric
 
using Superclass = MultipleValuedCostFunction
 
using TransformJacobianType = typename TransformType::JacobianType
 
using TransformParametersType = typename TransformType::ParametersType
 
using TransformPointer = typename TransformType::Pointer
 
using TransformType = Transform< CoordinateRepresentationType, Self::MovingPointSetDimension, Self::FixedPointSetDimension >
 
- Public Types inherited from itk::MultipleValuedCostFunction
using ConstPointer = SmartPointer< const Self >
 
using DerivativeType = Array2D< double >
 
using MeasureType = Array< double >
 
using ParametersType = Superclass::ParametersType
 
using Pointer = SmartPointer< Self >
 
using Self = MultipleValuedCostFunction
 
using Superclass = CostFunction
 
- Public Types inherited from itk::CostFunctionTemplate< TInternalComputationValueType >
using ConstPointer = SmartPointer< const Self >
 
using ParametersType = OptimizerParameters< TInternalComputationValueType >
 
using ParametersValueType = TInternalComputationValueType
 
using Pointer = SmartPointer< Self >
 
using Self = CostFunctionTemplate
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual TransformTypeGetModifiableTransform ()
 
virtual const char * GetNameOfClass () const
 
unsigned int GetNumberOfParameters () const override
 
virtual const TransformTypeGetTransform () const
 
virtual void Initialize ()
 
virtual void SetTransform (TransformType *_arg)
 
void SetTransformParameters (const ParametersType &parameters) const
 
virtual void SetFixedPointSet (const FixedPointSetType *_arg)
 
virtual const FixedPointSetTypeGetFixedPointSet () const
 
virtual void SetMovingPointSet (const MovingPointSetType *_arg)
 
virtual const MovingPointSetTypeGetMovingPointSet () const
 
- Public Member Functions inherited from itk::MultipleValuedCostFunction
virtual void GetDerivative (const ParametersType &parameters, DerivativeType &derivative) const =0
 
virtual unsigned int GetNumberOfValues () const =0
 
virtual MeasureType GetValue (const ParametersType &parameters) const =0
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexceptoverride
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Attributes

static constexpr unsigned int FixedPointSetDimension = TFixedPointSet::PointDimension
 
static constexpr unsigned int MovingPointSetDimension = TMovingPointSet::PointDimension
 

Protected Member Functions

 PointSetToPointSetMetric ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~PointSetToPointSetMetric () override=default
 
- Protected Member Functions inherited from itk::MultipleValuedCostFunction
 MultipleValuedCostFunction ()=default
 
 ~MultipleValuedCostFunction () override
 
- Protected Member Functions inherited from itk::CostFunctionTemplate< TInternalComputationValueType >
 CostFunctionTemplate ()=default
 
 ~CostFunctionTemplate () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

FixedPointSetConstPointer m_FixedPointSet
 
MovingPointSetConstPointer m_MovingPointSet
 
TransformPointer m_Transform
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Member Typedef Documentation

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::ConstPointer = SmartPointer< const Self >

Definition at line 54 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::CoordinateRepresentationType = Superclass::ParametersValueType

Type used for representing point components

Definition at line 57 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::DerivativeType = Superclass::DerivativeType

Type of the derivative.

Definition at line 96 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedPointDataIterator = typename FixedPointSetType::PointDataContainer::ConstIterator

Definition at line 76 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedPointIterator = typename FixedPointSetType::PointsContainer::ConstIterator

Definition at line 75 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedPointSetConstPointer = typename FixedPointSetType::ConstPointer

Definition at line 69 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedPointSetType = TFixedPointSet

Type of the fixed Pointset.

Definition at line 68 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::InputPointType = typename TransformType::InputPointType

Definition at line 87 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MeasureType = Superclass::MeasureType

Type of the measure.

Definition at line 93 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingPointDataIterator = typename MovingPointSetType::PointDataContainer::ConstIterator

Definition at line 79 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingPointIterator = typename MovingPointSetType::PointsContainer::ConstIterator

Definition at line 78 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingPointSetConstPointer = typename MovingPointSetType::ConstPointer

Definition at line 65 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingPointSetPixelType = typename TMovingPointSet::PixelType

Definition at line 64 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingPointSetType = TMovingPointSet

Type of the moving Pointset.

Definition at line 63 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::OutputPointType = typename TransformType::OutputPointType

Definition at line 88 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::ParametersType = Superclass::ParametersType

Type of the parameters.

Definition at line 99 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::Pointer = SmartPointer< Self >

Definition at line 53 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::Self = PointSetToPointSetMetric

Standard class type aliases.

Definition at line 51 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::Superclass = MultipleValuedCostFunction

Definition at line 52 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformJacobianType = typename TransformType::JacobianType

Definition at line 90 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformParametersType = typename TransformType::ParametersType

Definition at line 89 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformPointer = typename TransformType::Pointer

Definition at line 86 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
using itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::TransformType = Transform< CoordinateRepresentationType, Self::MovingPointSetDimension, Self::FixedPointSetDimension >

Type of the Transform Base class

Definition at line 84 of file itkPointSetToPointSetMetric.h.

Constructor & Destructor Documentation

template<typename TFixedPointSet , typename TMovingPointSet >
itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::PointSetToPointSetMetric ( )
protected
template<typename TFixedPointSet , typename TMovingPointSet >
itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::~PointSetToPointSetMetric ( )
overrideprotecteddefault

Member Function Documentation

template<typename TFixedPointSet , typename TMovingPointSet >
virtual const FixedPointSetType* itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::GetFixedPointSet ( ) const
virtual

Get/Set the Fixed Pointset.

template<typename TFixedPointSet , typename TMovingPointSet >
virtual TransformType* itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::GetModifiableTransform ( )
virtual

Get a pointer to the Transform.

template<typename TFixedPointSet , typename TMovingPointSet >
virtual const MovingPointSetType* itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::GetMovingPointSet ( ) const
virtual

Get/Set the Moving Pointset.

template<typename TFixedPointSet , typename TMovingPointSet >
virtual const char* itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::MultipleValuedCostFunction.

Reimplemented in itk::EuclideanDistancePointMetric< TFixedPointSet, TMovingPointSet, TDistanceMap >.

template<typename TFixedPointSet , typename TMovingPointSet >
unsigned int itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::GetNumberOfParameters ( void  ) const
inlineoverridevirtual

Return the number of parameters required by the Transform

Implements itk::CostFunctionTemplate< TInternalComputationValueType >.

Definition at line 121 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
virtual const TransformType* itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::GetTransform ( ) const
virtual
template<typename TFixedPointSet , typename TMovingPointSet >
virtual void itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::Initialize ( )
virtual

Initialize the Metric by making sure that all the components are present and plugged together correctly

template<typename TFixedPointSet , typename TMovingPointSet >
void itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::CostFunctionTemplate< TInternalComputationValueType >.

template<typename TFixedPointSet , typename TMovingPointSet >
virtual void itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::SetFixedPointSet ( const FixedPointSetType _arg)
virtual

Get/Set the Fixed Pointset.

template<typename TFixedPointSet , typename TMovingPointSet >
virtual void itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::SetMovingPointSet ( const MovingPointSetType _arg)
virtual

Get/Set the Moving Pointset.

template<typename TFixedPointSet , typename TMovingPointSet >
virtual void itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::SetTransform ( TransformType _arg)
virtual

Connect the Transform.

template<typename TFixedPointSet , typename TMovingPointSet >
void itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::SetTransformParameters ( const ParametersType parameters) const

Set the parameters defining the Transform.

Member Data Documentation

template<typename TFixedPointSet , typename TMovingPointSet >
constexpr unsigned int itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::FixedPointSetDimension = TFixedPointSet::PointDimension
static

Definition at line 73 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
FixedPointSetConstPointer itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::m_FixedPointSet
protected

Definition at line 133 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
MovingPointSetConstPointer itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::m_MovingPointSet
protected

Definition at line 135 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
TransformPointer itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::m_Transform
mutableprotected

Definition at line 137 of file itkPointSetToPointSetMetric.h.

template<typename TFixedPointSet , typename TMovingPointSet >
constexpr unsigned int itk::PointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >::MovingPointSetDimension = TMovingPointSet::PointDimension
static

Constants for the pointset dimensions

Definition at line 72 of file itkPointSetToPointSetMetric.h.


The documentation for this class was generated from the following file: