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

Radial basis kernel distance function. More...

#include <itkRBFKernelInducedDistanceMetric.h>

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

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
 Typedef for the length of each measurement vector.
 
typedef itk::Statistics::MeasurementVectorTraits MeasurementVectorTraitsType
 Vector information.
 
typedef Superclass::MeasurementVectorType MeasurementVectorType
 Typedef for the type of vector.
 
typedef Superclass::OriginType OriginType
 Type of the origin.
 
typedef SmartPointer< SelfPointer
 
typedef RBFKernelInducedDistanceMetric Self
 Standard class typedefs.
 
typedef KernelInducedDistanceMetric< TVectorSuperclass
 
typedef Superclass::ValueType ValueType
 Type of the component of a vector.
 
- Public Types inherited from itk::Statistics::KernelInducedDistanceMetric< TVector >
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
 Gets the distance between the origin and x.
 
double Evaluate (const MeasurementVectorType &x1, const MeasurementVectorType &x2) const override
 Gets the distance between x1 and x2.
 
double Evaluate (const ValueType &a, const ValueType &b) const override
 Gets the coordinate distance between a and b.
 
 itkGetConstMacro (A, double)
 Get the a value.
 
 itkGetConstMacro (B, double)
 Get the b value.
 
 itkGetConstMacro (Sigma, double)
 Get the sigma value.
 
 itkNewMacro (Self)
 Method for creation through the object factory.
 
 itkSetClampMacro (A, double, 0.0, itk::NumericTraits< double >::max())
 Set the a value.
 
 itkSetClampMacro (B, double, 1.0, 2.0)
 Set the b value.
 
 itkSetMacro (Sigma, double)
 Set the sigma value.
 
 itkTypeMacro (RBFKernelInducedDistanceMetric, KernelInducedDistanceMetric)
 Run-time type information (and related methods).
 
- Public Member Functions inherited from itk::Statistics::KernelInducedDistanceMetric< TVector >
 itkTypeMacro (KernelInducedDistanceMetric, DistanceMetric)
 Run-time type information (and related methods).
 

Protected Member Functions

 RBFKernelInducedDistanceMetric (void)
 
virtual ~RBFKernelInducedDistanceMetric (void)
 
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.
 
- Protected Member Functions inherited from itk::Statistics::KernelInducedDistanceMetric< TVector >
 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::RBFKernelInducedDistanceMetric< TVector >

Radial basis kernel distance function.

This class is derived from KernelInducedDistanceMetric class and implements the overloaded Evaluate() methods.

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

Member Typedef Documentation

◆ ConstPointer

◆ MeasurementVectorSizeType

Typedef for the length of each measurement vector.

◆ MeasurementVectorTraitsType

template<class TVector >
typedef itk::Statistics::MeasurementVectorTraits itk::Statistics::RBFKernelInducedDistanceMetric< TVector >::MeasurementVectorTraitsType

Vector information.

◆ MeasurementVectorType

Typedef for the type of vector.

◆ OriginType

Type of the origin.

◆ Pointer

◆ Self

Standard class typedefs.

◆ Superclass

◆ ValueType

Type of the component of a vector.

Constructor & Destructor Documentation

◆ RBFKernelInducedDistanceMetric()

template<class TVector >
itk::Statistics::RBFKernelInducedDistanceMetric< TVector >::RBFKernelInducedDistanceMetric ( void )
protected

◆ ~RBFKernelInducedDistanceMetric()

Member Function Documentation

◆ Evaluate() [1/3]

Gets the distance between the origin and x.

Implements itk::Statistics::KernelInducedDistanceMetric< TVector >.

◆ Evaluate() [2/3]

Gets the distance between x1 and x2.

Implements itk::Statistics::KernelInducedDistanceMetric< TVector >.

◆ Evaluate() [3/3]

template<class TVector >
double itk::Statistics::RBFKernelInducedDistanceMetric< TVector >::Evaluate ( const ValueType & a,
const ValueType & b ) const
overridevirtual

Gets the coordinate distance between a and b.

NOTE: a and b should be type of component.

Implements itk::Statistics::KernelInducedDistanceMetric< TVector >.

◆ itkGetConstMacro() [1/3]

Get the a value.

◆ itkGetConstMacro() [2/3]

Get the b value.

◆ itkGetConstMacro() [3/3]

Get the sigma value.

◆ itkNewMacro()

Method for creation through the object factory.

◆ itkSetClampMacro() [1/2]

template<class TVector >
itk::Statistics::RBFKernelInducedDistanceMetric< TVector >::itkSetClampMacro ( A ,
double ,
0. 0,
itk::NumericTraits< double > ::max() )

Set the a value.

This value must be greater than 0.

◆ itkSetClampMacro() [2/2]

template<class TVector >
itk::Statistics::RBFKernelInducedDistanceMetric< TVector >::itkSetClampMacro ( B ,
double ,
1. 0,
2. 0 )

Set the b value.

This value is constrained between 1 and 2.

◆ itkSetMacro()

Set the sigma value.

◆ itkTypeMacro()

Run-time type information (and related methods).

◆ PrintSelf()

template<class TVector >
void itk::Statistics::RBFKernelInducedDistanceMetric< 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: