ITK  4.4.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet > Class Template Reference

#include <itkJensenHavrdaCharvatTsallisPointSetToPointSetMetricv4.h>

+ Inheritance diagram for itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >:
+ Collaboration diagram for itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >:

Detailed Description

template<class TPointSet>
class itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >

Implementation of the Jensen Havrda Charvat Tsallis Point Set metric.

Given a specified transform and direction, this class calculates the value and derivative between a "fixed" and "moving" point set pair using the Havrda-Charvat-Tsallis entropy family, a generalization of the well-known Shannon entropy, and the Jensen divergence. Another way to look at the family of information-theoretic measures is that the points are used to construct the corresponding probably density functions.

In addition, we allow the user to invoke a manifold parzen windowing of the data. Instead of an isotropic Gaussian being associated with each point, we can actually calculate the covariance matrix for each point such that it reflects the locate point set structure.

To speed up the metric calculation, we use ITK's K-d tree to query the metric value only for a given neighborhood. Considering that probably only a small subset of points is needed to get a good approximation of the metric value for a single point, this is probably warranted. So what we do is transform each point (with the specified transform) and construct the k-d tree from the transformed points.

Contributed by Nicholas J. Tustison, James C. Gee in the Insight Journal paper: http://hdl.handle.net/1926/1524

Note
The original work reported in Tustison et al. 2011 optionally employed a regularization term to prevent the moving point set(s) from coalescing to a single point location. However, within the registration framework, this term is of limited utility as such regularization is dictated by the transform and any explicit regularization terms. Also note that the published work applies to multiple points sets each of which could be considered "moving" but this is also not applicable for this particular implementation.
REFERENCE

N.J. Tustison, S. P. Awate, G. Song, T. S. Cook, and J. C. Gee. "Point set registration using Havrda-Charvat-Tsallis entropy measures" IEEE Transactions on Medical Imaging, 30(2):451-60, 2011.

Definition at line 71 of file itkJensenHavrdaCharvatTsallisPointSetToPointSetMetricv4.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::CoordRepType CoordRepType
 
typedef
DensityFunctionType::Pointer 
DensityFunctionPointer
 
typedef
ManifoldParzenWindowsPointSetFunction
< PointSetType, RealType
DensityFunctionType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef
Superclass::DerivativeValueType 
DerivativeValueType
 
typedef
Superclass::FixedTransformJacobianType 
FixedTransformJacobianType
 
typedef
DensityFunctionType::GaussianType 
GaussianType
 
typedef Superclass::JacobianType JacobianType
 
typedef
Superclass::LocalDerivativeType 
LocalDerivativeType
 
typedef Superclass::MeasureType MeasureType
 
typedef
Superclass::MovingTransformJacobianType 
MovingTransformJacobianType
 
typedef
Superclass::NeighborsIdentifierType 
NeighborsIdentifierType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::PointIdentifier PointIdentifier
 
typedef
PointSetType::PointsContainer 
PointsContainer
 
typedef
PointsContainer::ConstIterator 
PointsContainerConstIterator
 
typedef TPointSet PointSetType
 
typedef Superclass::PointType PointType
 
typedef MeasureType RealType
 
typedef
JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4 
Self
 
typedef
PointSetToPointSetMetricv4
< TPointSet, TPointSet > 
Superclass
 
- Public Types inherited from itk::PointSetToPointSetMetricv4< TPointSet, TPointSet >
typedef SmartPointer< const SelfConstPointer
 
typedef PointType::CoordRepType CoordRepType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef DerivativeType::ValueType DerivativeValueType
 
typedef Superclass::DimensionType DimensionType
 
typedef
Superclass::MovingDisplacementFieldTransformType 
DisplacementFieldTransformType
 
typedef
Superclass::FixedInputPointType 
FixedInputPointType
 
typedef
Superclass::FixedOutputPointType 
FixedOutputPointType
 
typedef TPointSet::PixelType FixedPixelType
 
typedef TPointSet::PointsContainer FixedPointsContainer
 
typedef TPointSet FixedPointSetType
 
typedef TPointSet::PointType FixedPointType
 
typedef PointSet
< FixedPixelType,
itkGetStaticConstMacro(PointDimension)> 
FixedTransformedPointSetType
 
typedef
Superclass::FixedTransformJacobianType 
FixedTransformJacobianType
 
typedef
Superclass::FixedTransformParametersType 
FixedTransformParametersType
 
typedef
Superclass::FixedTransformPointer 
FixedTransformPointer
 
typedef
Superclass::FixedTransformType 
FixedTransformType
 
typedef Superclass::JacobianType JacobianType
 
typedef FixedArray
< DerivativeValueType,
itkGetStaticConstMacro(PointDimension)> 
LocalDerivativeType
 
typedef Superclass::MeasureType MeasureType
 
typedef
Superclass::MovingInputPointType 
MovingInputPointType
 
typedef
Superclass::MovingOutputPointType 
MovingOutputPointType
 
typedef TPointSet::PixelType MovingPixelType
 
typedef TPointSet::PointsContainer MovingPointsContainer
 
typedef TPointSet MovingPointSetType
 
typedef TPointSet::PointType MovingPointType
 
typedef PointSet
< MovingPixelType,
itkGetStaticConstMacro(PointDimension)> 
MovingTransformedPointSetType
 
typedef
Superclass::MovingTransformJacobianType 
MovingTransformJacobianType
 
typedef
Superclass::MovingTransformParametersType 
MovingTransformParametersType
 
typedef
Superclass::MovingTransformPointer 
MovingTransformPointer
 
typedef
Superclass::MovingTransformType 
MovingTransformType
 
typedef
PointsLocatorType::NeighborsIdentifierType 
NeighborsIdentifierType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef FixedPixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef
PointsContainer::ElementIdentifier 
PointIdentifier
 
typedef
PointsContainer::ConstIterator 
PointsConstIterator
 
typedef FixedPointsContainer PointsContainer
 
typedef PointsLocator
< PointsContainer
PointsLocatorType
 
typedef FixedPointType PointType
 
typedef PointSetToPointSetMetricv4 Self
 
typedef ObjectToObjectMetric
< TPointSet::PointDimension,
TPointSet::PointDimension > 
Superclass
 
typedef
Superclass::VirtualDirectionType 
VirtualDirectionType
 
typedef
Superclass::VirtualImagePointer 
VirtualImagePointer
 
typedef
Superclass::VirtualImageType 
VirtualImageType
 
typedef
Superclass::VirtualIndexType 
VirtualIndexType
 
typedef
Superclass::VirtualPointType 
VirtualOriginType
 
typedef
Superclass::VirtualPixelType 
VirtualPixelType
 
typedef
Superclass::VirtualPointSetPointer 
VirtualPointSetPointer
 
typedef
Superclass::VirtualPointSetType 
VirtualPointSetType
 
typedef
Superclass::VirtualPointType 
VirtualPointType
 
typedef Superclass::VirtualSizeType VirtualRadiusType
 
typedef
Superclass::VirtualRegionType 
VirtualRegionType
 
typedef Superclass::VirtualSizeType VirtualSizeType
 
typedef
Superclass::VirtualSpacingType 
VirtualSpacingType
 
- Public Types inherited from itk::ObjectToObjectMetric< TPointSet::PointDimension, TPointSet::PointDimension >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::ParametersValueType 
CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef
Superclass::DerivativeValueType 
DerivativeValueType
 
typedef SizeValueType DimensionType
 
typedef
FixedTransformType::InputPointType 
FixedInputPointType
 
typedef
FixedTransformType::OutputPointType 
FixedOutputPointType
 
typedef
FixedTransformType::JacobianType 
FixedTransformJacobianType
 
typedef
FixedTransformType::ParametersType 
FixedTransformParametersType
 
typedef FixedTransformType::Pointer FixedTransformPointer
 
typedef Transform
< ParametersValueType, Image
< typename
ObjectToObjectMetricBase::ParametersValueType,
TFixedDimension >
::ImageDimension,
TFixedDimension > 
FixedTransformType
 
typedef
Superclass::InternalComputationValueType 
InternalComputationValueType
 
typedef
FixedTransformType::JacobianType 
JacobianType
 
typedef Superclass::MeasureType MeasureType
 
typedef
DisplacementFieldTransform
< CoordinateRepresentationType,
itkGetStaticConstMacro(MovingDimension) > 
MovingDisplacementFieldTransformType
 
typedef
MovingTransformType::InputPointType 
MovingInputPointType
 
typedef
MovingTransformType::OutputPointType 
MovingOutputPointType
 
typedef
MovingTransformType::JacobianType 
MovingTransformJacobianType
 
typedef
MovingTransformType::ParametersType 
MovingTransformParametersType
 
typedef
MovingTransformType::Pointer 
MovingTransformPointer
 
typedef Transform
< ParametersValueType, Image
< typename
ObjectToObjectMetricBase::ParametersValueType,
TFixedDimension >
::ImageDimension,
TMovingDimension > 
MovingTransformType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef ObjectToObjectMetric Self
 
typedef ObjectToObjectMetricBase Superclass
 
typedef
VirtualImageType::DirectionType 
VirtualDirectionType
 
typedef
VirtualImageType::ConstPointer 
VirtualImageConstPointer
 
typedef VirtualImageType::Pointer VirtualImagePointer
 
typedef Image< typename
ObjectToObjectMetricBase::ParametersValueType,
TFixedDimension > 
VirtualImageType
 
typedef VirtualImageType::IndexType VirtualIndexType
 
typedef VirtualImageType::PointType VirtualOriginType
 
typedef VirtualImageType::PixelType VirtualPixelType
 
typedef
VirtualPointSetType::Pointer 
VirtualPointSetPointer
 
typedef PointSet
< VirtualPixelType,
itkGetStaticConstMacro(VirtualDimension)> 
VirtualPointSetType
 
typedef VirtualImageType::PointType VirtualPointType
 
typedef VirtualImageType::SizeType VirtualRadiusType
 
typedef
VirtualImageType::RegionType 
VirtualRegionType
 
typedef VirtualRegionType::SizeType VirtualSizeType
 
typedef
VirtualImageType::SpacingType 
VirtualSpacingType
 
- Public Types inherited from itk::ObjectToObjectMetricBase
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::ParametersValueType 
CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef DerivativeType::ValueType DerivativeValueType
 
enum  GradientSourceType {
  GRADIENT_SOURCE_FIXED =0,
  GRADIENT_SOURCE_MOVING,
  GRADIENT_SOURCE_BOTH
}
 
typedef double InternalComputationValueType
 
typedef Superclass::MeasureType MeasureType
 
typedef unsigned int NumberOfParametersType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef ObjectToObjectMetricBase Self
 
typedef SingleValuedCostFunctionv4 Superclass
 
- Public Types inherited from itk::SingleValuedCostFunctionv4
typedef SmartPointer< const SelfConstPointer
 
typedef Array
< ParametersValueType
DerivativeType
 
typedef double MeasureType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef SingleValuedCostFunctionv4 Self
 
typedef CostFunction Superclass
 
- Public Types inherited from itk::CostFunction
typedef SmartPointer< const SelfConstPointer
 
typedef OptimizerParameters
< ParametersValueType
ParametersType
 
typedef double ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef CostFunction Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer Clone (void) const
 
virtual RealType GetAlpha () const
 
virtual unsigned int GetCovarianceKNeighborhood () const
 
virtual unsigned int GetEvaluationKNeighborhood () const
 
virtual RealType GetKernelSigma () const
 
virtual MeasureType GetLocalNeighborhoodValue (const PointType &point, const PixelType &pixel=0) const
 
virtual void GetLocalNeighborhoodValueAndDerivative (const PointType &, MeasureType &, LocalDerivativeType &, const PixelType &pixel=0) const
 
virtual const char * GetNameOfClass () const
 
virtual RealType GetPointSetSigma () const
 
virtual bool GetUseAnisotropicCovariances () const
 
virtual void Initialize (void) throw ( ExceptionObject )
 
virtual void SetAlpha (RealType _arg)
 
virtual void SetCovarianceKNeighborhood (unsigned int _arg)
 
virtual void SetEvaluationKNeighborhood (unsigned int _arg)
 
virtual void SetKernelSigma (RealType _arg)
 
virtual void SetPointSetSigma (RealType _arg)
 
virtual void SetUseAnisotropicCovariances (bool _arg)
 
virtual void UseAnisotropicCovariancesOff ()
 
virtual void UseAnisotropicCovariancesOn ()
 
- Public Member Functions inherited from itk::PointSetToPointSetMetricv4< TPointSet, TPointSet >
virtual void GetDerivative (DerivativeType &) const
 
virtual const
FixedTransformedPointSetType
GetFixedTransformedPointSet () const
 
virtual LocalDerivativeType GetLocalNeighborhoodDerivative (const PointType &, const PixelType &pixel=0) const
 
virtual MeasureType GetLocalNeighborhoodValue (const PointType &, const PixelType &pixel=0) const =0
 
virtual void GetLocalNeighborhoodValueAndDerivative (const PointType &, MeasureType &, LocalDerivativeType &, const PixelType &pixel=0) const =0
 
virtual
FixedTransformedPointSetType
GetModifiableFixedTransformedPointSet ()
 
virtual
MovingTransformedPointSetType
GetModifiableMovingTransformedPointSet ()
 
virtual const
MovingTransformedPointSetType
GetMovingTransformedPointSet () const
 
SizeValueType GetNumberOfComponents () const
 
virtual MeasureType GetValue () const
 
virtual void GetValueAndDerivative (MeasureType &, DerivativeType &) const
 
const VirtualPointSetTypeGetVirtualTransformedPointSet (void) const
 
virtual void SetMovingPointSet (const MovingPointSetType *_arg)
 
virtual bool SupportsArbitraryVirtualDomainSamples (void) const
 
virtual void SetFixedPointSet (const FixedPointSetType *_arg)
 
virtual const FixedPointSetTypeGetFixedPointSet () const
 
- Public Member Functions inherited from itk::ObjectToObjectMetric< TPointSet::PointDimension, TPointSet::PointDimension >
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
 
virtual NumberOfParametersType GetNumberOfLocalParameters () const
 
virtual NumberOfParametersType GetNumberOfParameters () const
 
virtual SizeValueType GetNumberOfValidPoints () const
 
virtual const ParametersTypeGetParameters () const
 
const MovingTransformTypeGetTransform ()
 
VirtualDirectionType GetVirtualDirection (void) const
 
virtual const TimeStampGetVirtualDomainTimeStamp (void) const
 
virtual const VirtualImageTypeGetVirtualImage () const
 
VirtualOriginType GetVirtualOrigin (void) const
 
const VirtualRegionTypeGetVirtualRegion (void) const
 
VirtualSpacingType GetVirtualSpacing (void) const
 
virtual bool HasLocalSupport () const
 
virtual void SetFixedTransform (FixedTransformType *_arg)
 
virtual void SetMovingTransform (MovingTransformType *_arg)
 
virtual void SetParameters (ParametersType &params)
 
void SetTransform (MovingTransformType *transform)
 
void SetVirtualDomain (const VirtualSpacingType &spacing, const VirtualOriginType &origin, const VirtualDirectionType &direction, const VirtualRegionType &region)
 
virtual void UpdateTransformParameters (const DerivativeType &derivative, ParametersValueType factor)
 
void SetVirtualDomainFromImage (VirtualImageType *virtualImage)
 
void SetVirtualDomainFromImage (const VirtualImageType *virtualImage)
 
bool IsInsideVirtualDomain (const VirtualPointType &point) const
 
bool IsInsideVirtualDomain (const VirtualIndexType &index) const
 
- Public Member Functions inherited from itk::ObjectToObjectMetricBase
MeasureType GetCurrentValue () const
 
virtual GradientSourceType GetGradientSource () const
 
bool GetGradientSourceIncludesFixed () const
 
bool GetGradientSourceIncludesMoving () const
 
virtual void GetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const =0
 
virtual void SetGradientSource (GradientSourceType _arg)
 
- Public Member Functions inherited from itk::SingleValuedCostFunctionv4
virtual void GetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const =0
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int PointDimension = TPointSet::PointDimension
 
- Static Public Attributes inherited from itk::PointSetToPointSetMetricv4< TPointSet, TPointSet >
static const DimensionType FixedPointDimension
 
static const DimensionType MovingPointDimension
 
static const DimensionType PointDimension
 
- Static Public Attributes inherited from itk::ObjectToObjectMetric< TPointSet::PointDimension, TPointSet::PointDimension >
static const DimensionType FixedDimension
 
static const DimensionType MovingDimension
 
static const DimensionType VirtualDimension
 

Protected Member Functions

void ComputeValueAndDerivative (const PointType &samplePoint, MeasureType &value, LocalDerivativeType &derivativeReturn, bool calcValue, bool calcDerivative) const
 
virtual void InitializeForIteration (void) const
 
 JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4 ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 ~JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4 ()
 
- Protected Member Functions inherited from itk::PointSetToPointSetMetricv4< TPointSet, TPointSet >
virtual SizeValueType CalculateNumberOfValidFixedPoints (void) const
 
void CalculateValueAndDerivative (MeasureType &value, DerivativeType &derivative, bool calculateValue) const
 
virtual void InitializePointSets (void) const
 
void InitializePointsLocators () const
 
 PointSetToPointSetMetricv4 ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
void StorePointDerivative (const VirtualPointType &, const DerivativeType &, DerivativeType &) const
 
void TransformFixedAndCreateVirtualPointSet () const
 
void TransformMovingPointSet () const
 
virtual ~PointSetToPointSetMetricv4 ()
 
- Protected Member Functions inherited from itk::ObjectToObjectMetric< TPointSet::PointDimension, TPointSet::PointDimension >
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
 
virtual ~ObjectToObjectMetric ()
 
- Protected Member Functions inherited from itk::ObjectToObjectMetricBase
 ObjectToObjectMetricBase ()
 
virtual ~ObjectToObjectMetricBase ()
 
- Protected Member Functions inherited from itk::SingleValuedCostFunctionv4
 SingleValuedCostFunctionv4 ()
 
virtual ~SingleValuedCostFunctionv4 ()
 
- Protected Member Functions inherited from itk::CostFunction
 CostFunction ()
 
virtual ~CostFunction ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- 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 ()
 

Private Member Functions

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

Private Attributes

RealType m_Alpha
 
unsigned int m_CovarianceKNeighborhood
 
unsigned int m_EvaluationKNeighborhood
 
DensityFunctionPointer m_FixedDensityFunction
 
RealType m_KernelSigma
 
DensityFunctionPointer m_MovingDensityFunction
 
RealType m_PointSetSigma
 
RealType m_Prefactor0
 
RealType m_Prefactor1
 
RealType m_TotalNumberOfPoints
 
bool m_UseAnisotropicCovariances
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::PointSetToPointSetMetricv4< TPointSet, TPointSet >
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
 

Member Typedef Documentation

template<class TPointSet >
typedef SmartPointer<const Self> itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::ConstPointer
template<class TPointSet >
typedef Superclass::CoordRepType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::CoordRepType

Other typedefs

Definition at line 115 of file itkJensenHavrdaCharvatTsallisPointSetToPointSetMetricv4.h.

template<class TPointSet >
typedef Superclass::DerivativeType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::DerivativeType
template<class TPointSet >
typedef Superclass::DerivativeValueType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::DerivativeValueType
template<class TPointSet >
typedef Superclass::FixedTransformJacobianType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::FixedTransformJacobianType
template<class TPointSet >
typedef Superclass::JacobianType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::JacobianType
template<class TPointSet >
typedef Superclass::LocalDerivativeType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::LocalDerivativeType
template<class TPointSet >
typedef Superclass::MeasureType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::MeasureType

Types transferred from the base class

Definition at line 94 of file itkJensenHavrdaCharvatTsallisPointSetToPointSetMetricv4.h.

template<class TPointSet >
typedef Superclass::MovingTransformJacobianType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::MovingTransformJacobianType
template<class TPointSet >
typedef Superclass::NeighborsIdentifierType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::NeighborsIdentifierType
template<class TPointSet >
typedef Superclass::NumberOfParametersType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::NumberOfParametersType
template<class TPointSet >
typedef Superclass::PixelType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::PixelType
template<class TPointSet >
typedef SmartPointer<Self> itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::Pointer
template<class TPointSet >
typedef Superclass::PointIdentifier itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::PointIdentifier
template<class TPointSet >
typedef PointSetType::PointsContainer itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::PointsContainer
template<class TPointSet >
typedef PointsContainer::ConstIterator itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::PointsContainerConstIterator
template<class TPointSet >
typedef TPointSet itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::PointSetType
template<class TPointSet >
typedef Superclass::PointType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::PointType
template<class TPointSet >
typedef MeasureType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::RealType

Standard class typedefs.

Definition at line 76 of file itkJensenHavrdaCharvatTsallisPointSetToPointSetMetricv4.h.

template<class TPointSet >
typedef PointSetToPointSetMetricv4<TPointSet, TPointSet> itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::Superclass

Constructor & Destructor Documentation

Member Function Documentation

template<class TPointSet >
virtual ::itk::LightObject::Pointer itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::Clone ( void  ) const

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

template<class TPointSet >
void itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::ComputeValueAndDerivative ( const PointType samplePoint,
MeasureType value,
LocalDerivativeType derivativeReturn,
bool  calcValue,
bool  calcDerivative 
) const
protected
template<class TPointSet >
virtual RealType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::GetAlpha ( ) const
virtual

Get the alpha parameter used to tune the point-set metric.

template<class TPointSet >
virtual unsigned int itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::GetCovarianceKNeighborhood ( ) const
virtual

Get the size of the covariance neighborhood used to construct the anisotropic covariances. Only relevant if m_UseAnisotropicCovariances = true. Default = 5.

template<class TPointSet >
virtual unsigned int itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::GetEvaluationKNeighborhood ( ) const
virtual

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

template<class TPointSet >
virtual RealType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::GetKernelSigma ( ) const
virtual

Get the noise kernel sigma for the anistropic covariances.

template<class TPointSet >
virtual MeasureType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::GetLocalNeighborhoodValue ( const PointType point,
const PixelType pixel = 0 
) const
virtual
template<class TPointSet >
virtual void itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::GetLocalNeighborhoodValueAndDerivative ( const PointType ,
MeasureType ,
LocalDerivativeType ,
const PixelType pixel = 0 
) const
virtual
template<class TPointSet >
virtual const char* itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods)

Reimplemented from itk::PointSetToPointSetMetricv4< TPointSet, TPointSet >.

template<class TPointSet >
virtual RealType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::GetPointSetSigma ( ) const
virtual

Get the point set sigma function

template<class TPointSet >
virtual bool itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::GetUseAnisotropicCovariances ( ) const
virtual

Get whether or not anisotropic covariances are determined for each Gaussian. Default = false.

template<class TPointSet >
virtual void itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::Initialize ( void  ) throw ( ExceptionObject )
virtual

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

Reimplemented from itk::PointSetToPointSetMetricv4< TPointSet, TPointSet >.

template<class TPointSet >
virtual void itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::InitializeForIteration ( void  ) const
protectedvirtual

Initialize to prepare for a particular iteration, generally an iteration of optimization. Distinct from Initialize() which is a one-time initialization.

Reimplemented from itk::PointSetToPointSetMetricv4< TPointSet, TPointSet >.

template<class TPointSet >
static Pointer itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::New ( )
static

Method for creation through the object factory.

template<class TPointSet >
void itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::operator= ( const Self )
private
template<class TPointSet >
void itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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::ObjectToObjectMetricBase.

template<class TPointSet >
virtual void itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::SetAlpha ( RealType  _arg)
virtual

Set the alpha parameter used to tune the point-set metric from a maximum-likelihood measure (alpha = 1) to the more robust L2 solution (alpha = 2). Typically, "robustness" is associated with performance in the presence of uniform noise but in most applications the noise will be highly correlated with the point sets, therefore an alpha value close to 1, in general, provides better performance. Only values between 1 and 2 are convex.

template<class TPointSet >
virtual void itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::SetCovarianceKNeighborhood ( unsigned int  _arg)
virtual

Set the size of the covariance neighborhood used to construct the anisotropic covariances. Only relevant if m_UseAnisotropicCovariances = true. Default = 5.

template<class TPointSet >
virtual void itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::SetEvaluationKNeighborhood ( unsigned int  _arg)
virtual

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

template<class TPointSet >
virtual void itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::SetKernelSigma ( RealType  _arg)
virtual

Set the size of the noise kernel used to construct each covariance image. To avoid the case where the local point set structure would result in a degenerate covariance matrix, a small amount of noise is added along the diagonal represented by this variable. Only relevant if m_UseAnisotropicCovariances = true. Default = 10.0.

template<class TPointSet >
virtual void itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::SetPointSetSigma ( RealType  _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.

template<class TPointSet >
virtual void itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::SetUseAnisotropicCovariances ( bool  _arg)
virtual

Set whether or not anisotropic covariances are determined for each Gaussian. Default = false.

template<class TPointSet >
virtual void itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::UseAnisotropicCovariancesOff ( )
virtual
template<class TPointSet >
virtual void itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::UseAnisotropicCovariancesOn ( )
virtual

Get/set whether or not anisotropic covariances are determined for each Gaussian. Default = false.

Member Data Documentation

template<class TPointSet >
RealType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::m_Alpha
private
template<class TPointSet >
unsigned int itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::m_CovarianceKNeighborhood
private
template<class TPointSet >
unsigned int itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::m_EvaluationKNeighborhood
private
template<class TPointSet >
DensityFunctionPointer itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::m_FixedDensityFunction
private
template<class TPointSet >
RealType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::m_KernelSigma
private
template<class TPointSet >
DensityFunctionPointer itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::m_MovingDensityFunction
private
template<class TPointSet >
RealType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::m_PointSetSigma
private
template<class TPointSet >
RealType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::m_Prefactor0
mutableprivate
template<class TPointSet >
RealType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::m_Prefactor1
mutableprivate
template<class TPointSet >
RealType itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::m_TotalNumberOfPoints
mutableprivate

Precomputed cached values

Definition at line 241 of file itkJensenHavrdaCharvatTsallisPointSetToPointSetMetricv4.h.

template<class TPointSet >
bool itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::m_UseAnisotropicCovariances
private
template<class TPointSet >
const unsigned int itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet >::PointDimension = TPointSet::PointDimension
static

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