ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType > Class Template Reference

#include <itkExpectationBasedPointSetToPointSetMetricv4.h>

Detailed Description

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
class itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >

Computes an expectation-based metric between two point sets.

This information-theoretic point set measure models each point set as a sum of Gaussians. To speed up computation, evaluation of the local value/derivative is done in a user-specified neighborhood using the k-d tree constructed in the superclass. For more information see [89].

Definition at line 42 of file itkExpectationBasedPointSetToPointSetMetricv4.h.

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

Public Types

using ConstPointer = SmartPointer<const Self>
 
using CoordinateType
 
using NeighborsIdentifierType
 
using Pointer = SmartPointer<Self>
 
using Self = ExpectationBasedPointSetToPointSetMetricv4
 
using Superclass = PointSetToPointSetMetricv4<TFixedPointSet, TMovingPointSet, TInternalComputationValueType>
 
- Public Types inherited from itk::PointSetToPointSetMetricv4< TFixedPointSet, TFixedPointSet, double >
using ConstPointer
 
using CoordinateType
 
typedef typename DerivativeType::ValueType DerivativeValueType
 
using DerivativeValueType
 
using DisplacementFieldTransformType
 
using FixedPixelType
 
using FixedPointsContainer
 
using FixedPointSetType
 
using FixedPointType
 
typedef PointSet< FixedPixelType, Self::PointDimensionFixedTransformedPointSetType
 
using FixedTransformedPointSetType
 
typedef FixedArray< DerivativeValueType, Self::PointDimensionLocalDerivativeType
 
using LocalDerivativeType
 
using MovingPixelType
 
using MovingPointsContainer
 
using MovingPointSetType
 
using MovingPointType
 
typedef PointSet< MovingPixelType, Self::PointDimensionMovingTransformedPointSetType
 
using MovingTransformedPointSetType
 
using NeighborsIdentifierType
 
typedef FixedPixelType PixelType
 
using PixelType
 
using Pointer
 
typedef typename PointsContainer::ElementIdentifier PointIdentifier
 
using PointIdentifier
 
using PointsConstIterator
 
using PointsContainer
 
typedef PointsLocator< PointsContainerPointsLocatorType
 
using PointsLocatorType
 
typedef FixedPointType PointType
 
using PointType
 
using Self
 
using Superclass
 
using VirtualImageType
 
using VirtualOriginType
 
using VirtualRadiusType
 
- Public Types inherited from itk::PointSetToPointSetMetricWithIndexv4< TFixedPointSet, TFixedPointSet, double >
using ConstPointer
 
using CoordinateType
 
using DerivativeValueType
 
using DisplacementFieldTransformType
 
using FixedPixelType
 
using FixedPointsContainer
 
using FixedPointSetType
 
using FixedPointType
 
using FixedTransformedPointSetType
 
using LocalDerivativeType
 
using MovingPixelType
 
using MovingPointsContainer
 
using MovingPointSetType
 
using MovingPointType
 
using MovingTransformedPointSetType
 
using NeighborsIdentifierType
 
typedef unsigned int NumberOfParametersType
 
typedef unsigned int NumberOfParametersType
 
using ObjectType
 
using PixelType
 
using Pointer
 
using PointIdentifier
 
using PointsConstIterator
 
using PointsContainer
 
using PointsLocatorType
 
using PointType
 
using Self
 
using Superclass
 
using VirtualImageType
 
using VirtualOriginType
 
using VirtualRadiusType
 
- Public Types inherited from itk::ObjectToObjectMetric< TFixedPointSet::PointDimension, TFixedPointSet::PointDimension, Image< double, TFixedPointSet::PointDimension >, double >
using ConstPointer
 
using CoordinateRepresentationType
 
typedef typename DerivativeType::ValueType DerivativeValueType
 
using DerivativeValueType
 
using DimensionType
 
using FixedInputPointType
 
using FixedOutputPointType
 
using FixedTransformJacobianType
 
using FixedTransformParametersType
 
using FixedTransformPointer
 
using FixedTransformType
 
typedef itk::ObjectToObjectMetricBaseTemplateEnums::GradientSource GradientSourceEnum
 
using GradientSourceEnum
 
using InternalComputationValueType
 
using JacobianType
 
using MetricCategoryType
 
using MovingDisplacementFieldTransformType
 
using MovingInputPointType
 
using MovingOutputPointType
 
using MovingTransformJacobianType
 
using MovingTransformParametersType
 
using MovingTransformPointer
 
using MovingTransformType
 
typedef unsigned int NumberOfParametersType
 
using NumberOfParametersType
 
using ObjectType
 
using Pointer
 
using Self
 
using Superclass
 
using VirtualDirectionType
 
using VirtualImageConstPointer
 
using VirtualImagePointer
 
using VirtualImageType
 
using VirtualIndexType
 
using VirtualOriginType
 
using VirtualPixelType
 
using VirtualPointSetPointer
 
using VirtualPointSetType
 
using VirtualPointType
 
using VirtualRadiusType
 
using VirtualRegionType
 
using VirtualSizeType
 
using VirtualSpacingType
 
- Public Types inherited from itk::ObjectToObjectMetricBaseTemplate< double >
using ConstPointer
 
using CoordinateRepresentationType
 
typedef Array< double > DerivativeType
 
using DerivativeType
 
using DerivativeValueType
 
using GradientSourceEnum
 
typedef double MeasureType
 
using MeasureType
 
using MetricCategoryEnum
 
using NumberOfParametersType
 
using ObjectConstPointer
 
using ObjectType
 
using ParametersValueType
 
using Pointer
 
using Self
 
using Superclass
 
- Public Types inherited from itk::SingleValuedCostFunctionv4Template< double >
using ConstPointer
 
using DerivativeType
 
using MeasureType
 
typedef OptimizerParameters< double > ParametersType
 
using ParametersType
 
using Pointer
 
using Self
 
using Superclass
 
- Public Types inherited from itk::CostFunctionTemplate< double >
using ConstPointer
 
using ParametersType
 
using ParametersValueType
 
using Pointer
 
using Self
 
using Superclass
 
- 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 unsigned int GetEvaluationKNeighborhood () const
 
MeasureType GetLocalNeighborhoodValue (const PointType &, const PixelType &pixel=0) const override
 
void GetLocalNeighborhoodValueAndDerivative (const PointType &, MeasureType &, LocalDerivativeType &, const PixelType &pixel=0) const override
 
const char * GetNameOfClass () const override
 
virtual CoordinateType GetPointSetSigma () const
 
void Initialize () override
 
LightObject::Pointer InternalClone () const override
 
virtual void SetEvaluationKNeighborhood (unsigned int _arg)
 
virtual void SetPointSetSigma (CoordinateType _arg)
 
- Public Member Functions inherited from itk::PointSetToPointSetMetricv4< TFixedPointSet, TFixedPointSet, double >
virtual LocalDerivativeType GetLocalNeighborhoodDerivative (const PointType &, const PixelType &pixel) const
 
const char * GetNameOfClass () const override
 
- Public Member Functions inherited from itk::PointSetToPointSetMetricWithIndexv4< TFixedPointSet, TFixedPointSet, double >
void GetDerivative (DerivativeType &) const override
 
virtual const FixedTransformedPointSetTypeGetFixedTransformedPointSet () const
 
virtual FixedTransformedPointSetTypeGetModifiableFixedTransformedPointSet ()
 
virtual MovingTransformedPointSetTypeGetModifiableMovingTransformedPointSet ()
 
virtual const MovingTransformedPointSetTypeGetMovingTransformedPointSet () const
 
const char * GetNameOfClass () const override
 
SizeValueType GetNumberOfComponents () const
 
MeasureType GetValue () const override
 
void GetValueAndDerivative (MeasureType &, DerivativeType &) const override
 
const VirtualPointSetTypeGetVirtualTransformedPointSet () const
 
void Initialize () override
 
bool SupportsArbitraryVirtualDomainSamples () const override
 
void SetFixedObject (const ObjectType *object) override
 
void SetMovingObject (const ObjectType *object) override
 
virtual void SetFixedPointSet (const FixedPointSetType *_arg)
 
virtual const FixedPointSetTypeGetFixedPointSet () const
 
virtual void SetMovingPointSet (const MovingPointSetType *_arg)
 
virtual const MovingPointSetTypeGetMovingPointSet () const
 
virtual void SetStoreDerivativeAsSparseFieldForLocalSupportTransforms (bool _arg)
 
virtual bool GetStoreDerivativeAsSparseFieldForLocalSupportTransforms () const
 
virtual void StoreDerivativeAsSparseFieldForLocalSupportTransformsOn ()
 
virtual void StoreDerivativeAsSparseFieldForLocalSupportTransformsOff ()
 
virtual void SetCalculateValueAndDerivativeInTangentSpace (bool _arg)
 
virtual bool GetCalculateValueAndDerivativeInTangentSpace () const
 
virtual void CalculateValueAndDerivativeInTangentSpaceOn ()
 
virtual void CalculateValueAndDerivativeInTangentSpaceOff ()
 
- Public Member Functions inherited from itk::ObjectToObjectMetric< TFixedPointSet::PointDimension, TFixedPointSet::PointDimension, Image< double, TFixedPointSet::PointDimension >, double >
OffsetValueType ComputeParameterOffsetFromVirtualIndex (const VirtualIndexType &index, const NumberOfParametersType &numberOfLocalParameters) const
 
OffsetValueType ComputeParameterOffsetFromVirtualPoint (const VirtualPointType &point, const NumberOfParametersType &numberOfLocalParameters) const
 
virtual const FixedTransformTypeGetFixedTransform () const
 
virtual FixedTransformTypeGetModifiableFixedTransform ()
 
virtual MovingTransformTypeGetModifiableMovingTransform ()
 
virtual VirtualImageTypeGetModifiableVirtualImage ()
 
virtual const MovingTransformTypeGetMovingTransform () const
 
NumberOfParametersType GetNumberOfLocalParameters () const override
 
NumberOfParametersType GetNumberOfParameters () const override
 
virtual SizeValueType GetNumberOfValidPoints () const
 
const ParametersTypeGetParameters () const override
 
const MovingTransformTypeGetTransform ()
 
VirtualDirectionType GetVirtualDirection () const
 
virtual const TimeStampGetVirtualDomainTimeStamp () const
 
virtual const VirtualImageTypeGetVirtualImage () const
 
VirtualOriginType GetVirtualOrigin () const
 
const VirtualRegionTypeGetVirtualRegion () const
 
VirtualSpacingType GetVirtualSpacing () const
 
bool HasLocalSupport () const override
 
virtual void SetFixedTransform (FixedTransformType *_arg)
 
virtual void SetMovingTransform (MovingTransformType *_arg)
 
void SetParameters (ParametersType &params) override
 
void SetTransform (MovingTransformType *transform)
 
void SetVirtualDomain (const VirtualSpacingType &spacing, const VirtualOriginType &origin, const VirtualDirectionType &direction, const VirtualRegionType &region)
 
void SetVirtualDomainFromImage (const VirtualImageType *virtualImage)
 
void UpdateTransformParameters (const DerivativeType &derivative, double factor) override
 
bool IsInsideVirtualDomain (const VirtualPointType &point) const
 
bool IsInsideVirtualDomain (const VirtualIndexType &index) const
 
- Public Member Functions inherited from itk::ObjectToObjectMetricBaseTemplate< double >
MeasureType GetCurrentValue () const
 
MeasureType GetCurrentValue () const
 
virtual GradientSourceEnum GetGradientSource () const
 
virtual GradientSourceEnum GetGradientSource () const
 
bool GetGradientSourceIncludesFixed () const
 
bool GetGradientSourceIncludesFixed () const
 
bool GetGradientSourceIncludesMoving () const
 
bool GetGradientSourceIncludesMoving () const
 
virtual void SetGradientSource (GradientSourceEnum _arg)
 
virtual void SetGradientSource (GradientSourceEnum _arg)
 
virtual void SetFixedObject (const ObjectType *_arg)
 
virtual const ObjectTypeGetFixedObject () const
 
virtual void SetFixedObject (const ObjectType *_arg)
 
virtual const ObjectTypeGetFixedObject () const
 
virtual void SetMovingObject (const ObjectType *_arg)
 
virtual const ObjectTypeGetMovingObject () const
 
virtual void SetMovingObject (const ObjectType *_arg)
 
virtual const ObjectTypeGetMovingObject () const
 
- Public Member Functions inherited from itk::SingleValuedCostFunctionv4Template< double >
const char * GetNameOfClass () const override
 
const char * GetNameOfClass () const override
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) 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) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
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
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

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

Protected Member Functions

 ExpectationBasedPointSetToPointSetMetricv4 ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
bool RequiresFixedPointsLocator () const override
 
 ~ExpectationBasedPointSetToPointSetMetricv4 () override=default
 
- Protected Member Functions inherited from itk::PointSetToPointSetMetricv4< TFixedPointSet, TFixedPointSet, double >
 PointSetToPointSetMetricv4 ()=default
 
 ~PointSetToPointSetMetricv4 () override=default
 
- Protected Member Functions inherited from itk::PointSetToPointSetMetricWithIndexv4< TFixedPointSet, TFixedPointSet, double >
virtual SizeValueType CalculateNumberOfValidFixedPoints () const
 
void CalculateValueAndDerivative (MeasureType &calculatedValue, DerivativeType &derivative, bool calculateValue) const
 
MetricCategoryType GetMetricCategory () const override
 
virtual void InitializeForIteration () const
 
virtual void InitializePointSets () const
 
void InitializePointsLocators () const
 
 PointSetToPointSetMetricWithIndexv4 ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual bool RequiresMovingPointsLocator () const
 
void StorePointDerivative (const VirtualPointType &, const DerivativeType &, DerivativeType &) const
 
void TransformFixedAndCreateVirtualPointSet () const
 
void TransformMovingPointSet () const
 
 ~PointSetToPointSetMetricWithIndexv4 () override=default
 
- Protected Member Functions inherited from itk::ObjectToObjectMetric< TFixedPointSet::PointDimension, TFixedPointSet::PointDimension, Image< double, TFixedPointSet::PointDimension >, double >
const MovingDisplacementFieldTransformTypeGetMovingDisplacementFieldTransform () const
 
 ObjectToObjectMetric ()
 
bool TransformPhysicalPointToVirtualIndex (const VirtualPointType &, VirtualIndexType &) const
 
void TransformVirtualIndexToPhysicalPoint (const VirtualIndexType &, VirtualPointType &) const
 
virtual void VerifyDisplacementFieldSizeAndPhysicalSpace ()
 
bool VerifyNumberOfValidPoints (MeasureType &value, DerivativeType &derivative) const
 
 ~ObjectToObjectMetric () override=default
 
- Protected Member Functions inherited from itk::ObjectToObjectMetricBaseTemplate< double >
 ObjectToObjectMetricBaseTemplate ()
 
 ObjectToObjectMetricBaseTemplate ()
 
 ~ObjectToObjectMetricBaseTemplate () override=default
 
 ~ObjectToObjectMetricBaseTemplate () override=default
 
- Protected Member Functions inherited from itk::SingleValuedCostFunctionv4Template< double >
 SingleValuedCostFunctionv4Template ()=default
 
 SingleValuedCostFunctionv4Template ()=default
 
 ~SingleValuedCostFunctionv4Template () override=default
 
 ~SingleValuedCostFunctionv4Template () override=default
 
- Protected Member Functions inherited from itk::CostFunctionTemplate< double >
 CostFunctionTemplate ()=default
 
 CostFunctionTemplate ()=default
 
 ~CostFunctionTemplate () override=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 &timeStamp)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Types

using NeighborsIterator = typename NeighborsIdentifierType::const_iterator
 
using VectorType = typename PointType::VectorType
 

Private Attributes

MeasureType m_Denominator {}
 
unsigned int m_EvaluationKNeighborhood { 50 }
 
CoordinateType m_PointSetSigma {}
 
MeasureType m_PreFactor {}
 

Additional Inherited Members

- Static Public Attributes inherited from itk::PointSetToPointSetMetricv4< TFixedPointSet, TFixedPointSet, double >
static constexpr DimensionType FixedPointDimension
 
static constexpr DimensionType MovingPointDimension
 
static constexpr DimensionType PointDimension
 
- Static Public Attributes inherited from itk::PointSetToPointSetMetricWithIndexv4< TFixedPointSet, TFixedPointSet, double >
static constexpr DimensionType FixedPointDimension
 
static constexpr DimensionType MovingPointDimension
 
static constexpr DimensionType PointDimension
 
- Static Public Attributes inherited from itk::ObjectToObjectMetric< TFixedPointSet::PointDimension, TFixedPointSet::PointDimension, Image< double, TFixedPointSet::PointDimension >, double >
static constexpr DimensionType FixedDimension
 
static constexpr DimensionType MovingDimension
 
static constexpr DimensionType VirtualDimension
 
- Protected Attributes inherited from itk::PointSetToPointSetMetricWithIndexv4< TFixedPointSet, TFixedPointSet, double >
bool m_CalculateValueAndDerivativeInTangentSpace
 
FixedPointSetType::ConstPointer m_FixedPointSet
 
FixedTransformedPointSetType::Pointer m_FixedTransformedPointSet
 
PointsLocatorType::Pointer m_FixedTransformedPointsLocator
 
MovingPointSetType::ConstPointer m_MovingPointSet
 
MovingTransformedPointSetType::Pointer m_MovingTransformedPointSet
 
PointsLocatorType::Pointer m_MovingTransformedPointsLocator
 
bool m_UsePointSetData
 
VirtualPointSetPointer m_VirtualTransformedPointSet
 
- Protected Attributes inherited from itk::ObjectToObjectMetric< TFixedPointSet::PointDimension, TFixedPointSet::PointDimension, Image< double, TFixedPointSet::PointDimension >, double >
FixedTransformPointer m_FixedTransform
 
MovingTransformPointer m_MovingTransform
 
SizeValueType m_NumberOfValidPoints
 
bool m_UserHasSetVirtualDomain
 
VirtualImagePointer m_VirtualImage
 
- Protected Attributes inherited from itk::ObjectToObjectMetricBaseTemplate< double >
ObjectConstPointer m_FixedObject
 
ObjectConstPointer m_FixedObject
 
GradientSourceEnum m_GradientSource
 
GradientSourceEnum m_GradientSource
 
ObjectConstPointer m_MovingObject
 
ObjectConstPointer m_MovingObject
 
MeasureType m_Value
 
MeasureType m_Value
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ ConstPointer

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
using itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::ConstPointer = SmartPointer<const Self>

◆ CoordinateType

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
using itk::PointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::CoordinateType

Definition at line 143 of file itkPointSetToPointSetMetricv4.h.

◆ NeighborsIdentifierType

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
using itk::PointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::NeighborsIdentifierType

Definition at line 154 of file itkPointSetToPointSetMetricv4.h.

◆ NeighborsIterator

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
using itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::NeighborsIterator = typename NeighborsIdentifierType::const_iterator
private

◆ Pointer

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
using itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::Pointer = SmartPointer<Self>

◆ Self

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
using itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::Self = ExpectationBasedPointSetToPointSetMetricv4

Standard class type aliases.

Definition at line 49 of file itkExpectationBasedPointSetToPointSetMetricv4.h.

◆ Superclass

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
using itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::Superclass = PointSetToPointSetMetricv4<TFixedPointSet, TMovingPointSet, TInternalComputationValueType>

◆ VectorType

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
using itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::VectorType = typename PointType::VectorType
private

Constructor & Destructor Documentation

◆ ExpectationBasedPointSetToPointSetMetricv4()

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::ExpectationBasedPointSetToPointSetMetricv4 ( )
protected

Referenced by GetNameOfClass().

◆ ~ExpectationBasedPointSetToPointSetMetricv4()

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::~ExpectationBasedPointSetToPointSetMetricv4 ( )
overrideprotecteddefault

Member Function Documentation

◆ GetEvaluationKNeighborhood()

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
virtual unsigned int itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::GetEvaluationKNeighborhood ( ) const
virtual

Get the neighborhood size used to evaluate the measurement at each point. Default = 50.

◆ GetLocalNeighborhoodValue()

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
MeasureType itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::GetLocalNeighborhoodValue ( const PointType & ,
const PixelType & pixel = 0 ) const
overridevirtual

Calculates the local metric value for a single point.

Implements itk::PointSetToPointSetMetricv4< TFixedPointSet, TFixedPointSet, double >.

◆ GetLocalNeighborhoodValueAndDerivative()

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
void itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::GetLocalNeighborhoodValueAndDerivative ( const PointType & ,
MeasureType & ,
LocalDerivativeType & ,
const PixelType & pixel = 0 ) const
overridevirtual

Calculates the local value and derivative for a single point.

Implements itk::PointSetToPointSetMetricv4< TFixedPointSet, TFixedPointSet, double >.

◆ GetNameOfClass()

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
const char * itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::GetNameOfClass ( ) const
overridevirtual

◆ GetPointSetSigma()

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
virtual CoordinateType itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::GetPointSetSigma ( ) const
virtual

Get the point set sigma function

◆ Initialize()

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
void itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::Initialize ( )
overridevirtual

Initialize the Metric by making sure that all the components are present and plugged together correctly, and initializing internal variables as required. This is for one-time initialization, e.g. before starting an optimization process.

Implements itk::ObjectToObjectMetricBaseTemplate< double >.

◆ InternalClone()

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
LightObject::Pointer itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::InternalClone ( ) const
overridevirtual

Clone method will clone the existing instance of this type, including its internal member variables.

Reimplemented from itk::LightObject.

◆ New()

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
static Pointer itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
void itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::PrintSelf ( std::ostream & os,
Indent indent ) const
overrideprotectedvirtual

PrintSelf function

Reimplemented from itk::CostFunctionTemplate< double >.

◆ RequiresFixedPointsLocator()

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
bool itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::RequiresFixedPointsLocator ( ) const
inlineoverrideprotectedvirtual

◆ SetEvaluationKNeighborhood()

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
virtual void itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::SetEvaluationKNeighborhood ( unsigned int _arg)
virtual

Set the neighborhood size used to evaluate the measurement at each point. Default = 50.

◆ SetPointSetSigma()

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
virtual void itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::SetPointSetSigma ( CoordinateType _arg)
virtual

Each point is associated with a Gaussian characterized by m_PointSetSigma which provides a sense of scale for determining the similarity between two point sets. Default = 1.0.

Member Data Documentation

◆ m_Denominator

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
MeasureType itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::m_Denominator {}
private

◆ m_EvaluationKNeighborhood

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
unsigned int itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::m_EvaluationKNeighborhood { 50 }
private

◆ m_PointSetSigma

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
CoordinateType itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::m_PointSetSigma {}
private

◆ m_PreFactor

template<typename TFixedPointSet, typename TMovingPointSet = TFixedPointSet, class TInternalComputationValueType = double>
MeasureType itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >::m_PreFactor {}
private

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