open_iA 2024.7
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | List of all members
itk::Statistics::KernelInducedDistanceMetric< TVector > Class Template Referenceabstract

Base class for kernel distance metrics. More...

#include <itkKernelInducedDistanceMetric.h>

Inheritance diagram for itk::Statistics::KernelInducedDistanceMetric< TVector >:
[legend]
Collaboration diagram for itk::Statistics::KernelInducedDistanceMetric< TVector >:
[legend]

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
 Typedef to represent the length of each measurement vector.
 
typedef Superclass::MeasurementVectorType MeasurementVectorType
 Typedef to represent the measurement vector type.
 
typedef Superclass::OriginType OriginType
 Type of the origin.
 
typedef SmartPointer< SelfPointer
 
typedef KernelInducedDistanceMetric Self
 Standard class typedefs.
 
typedef DistanceMetric< TVectorSuperclass
 
typedef itk::Statistics::MeasurementVectorTraitsTypes< MeasurementVectorType >::ValueType ValueType
 Typedef for the component of a vector.
 

Public Member Functions

double Evaluate (const MeasurementVectorType &x) const override=0
 Gets the distance between the origin and x.
 
virtual double Evaluate (const MeasurementVectorType &x1, const MeasurementVectorType &x2) const override=0
 Gets the distance between x1 and x2.
 
virtual double Evaluate (const ValueType &a, const ValueType &b) const =0
 Gets the coordinate distance between a and b.
 
 itkTypeMacro (KernelInducedDistanceMetric, DistanceMetric)
 Run-time type information (and related methods).
 

Protected Member Functions

 KernelInducedDistanceMetric ()
 Constructor.
 
virtual ~KernelInducedDistanceMetric ()
 Destructor.
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 Write the name-value pairs of the class data members to the supplied output stream.
 

Detailed Description

template<class TVector>
class itk::Statistics::KernelInducedDistanceMetric< TVector >

Base class for kernel distance metrics.

This class is derived from DistanceMetric class and declares common interfaces for kernel distance metrics.

As a function derived from DistanceMetric, users use Evaluate() method to get result.

Version
0.1
Author
Alberto Rey, Alfonso Castro and Bernardino Arcay. University of A Coruña. Spain
See also
DistanceMetric
RBFKernelInducedDistanceMetric
GRBFKernelInducedDistanceMetric
PolynomialKernelInducedDistanceMetric

Member Typedef Documentation

◆ ConstPointer

◆ MeasurementVectorSizeType

template<class TVector >
typedef Superclass::MeasurementVectorSizeType itk::Statistics::KernelInducedDistanceMetric< TVector >::MeasurementVectorSizeType

Typedef to represent the length of each measurement vector.

◆ MeasurementVectorType

template<class TVector >
typedef Superclass::MeasurementVectorType itk::Statistics::KernelInducedDistanceMetric< TVector >::MeasurementVectorType

Typedef to represent the measurement vector type.

◆ OriginType

template<class TVector >
typedef Superclass::OriginType itk::Statistics::KernelInducedDistanceMetric< TVector >::OriginType

Type of the origin.

◆ Pointer

◆ Self

Standard class typedefs.

◆ Superclass

◆ ValueType

template<class TVector >
typedef itk::Statistics::MeasurementVectorTraitsTypes<MeasurementVectorType>::ValueType itk::Statistics::KernelInducedDistanceMetric< TVector >::ValueType

Typedef for the component of a vector.

Constructor & Destructor Documentation

◆ KernelInducedDistanceMetric()

template<class TVector >
itk::Statistics::KernelInducedDistanceMetric< TVector >::KernelInducedDistanceMetric ( )
protected

Constructor.

◆ ~KernelInducedDistanceMetric()

Destructor.

Member Function Documentation

◆ Evaluate() [1/3]

template<class TVector >
double itk::Statistics::KernelInducedDistanceMetric< TVector >::Evaluate ( const MeasurementVectorType & x) const
overridepure virtual

◆ Evaluate() [2/3]

◆ Evaluate() [3/3]

Gets the coordinate distance between a and b.

NOTE: a and b should be type of component.

Implemented in itk::Statistics::GRBFKernelInducedDistanceMetric< TVector >, and itk::Statistics::RBFKernelInducedDistanceMetric< TVector >.

◆ itkTypeMacro()

Run-time type information (and related methods).

◆ PrintSelf()

template<class TVector >
void itk::Statistics::KernelInducedDistanceMetric< TVector >::PrintSelf ( std::ostream & os,
itk::Indent indent ) const
overrideprotected

Write the name-value pairs of the class data members to the supplied output stream.


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