![]() |
open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
Base class for kernel distance metrics. More...
#include <itkKernelInducedDistanceMetric.h>
Public Types | |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef Superclass::MeasurementVectorSizeType | MeasurementVectorSizeType |
| Typedef to represent the length of each measurement vector. More... | |
| typedef Superclass::MeasurementVectorType | MeasurementVectorType |
| Typedef to represent the measurement vector type. More... | |
| typedef Superclass::OriginType | OriginType |
| Type of the origin. More... | |
| typedef SmartPointer< Self > | Pointer |
| typedef KernelInducedDistanceMetric | Self |
| Standard class typedefs. More... | |
| typedef DistanceMetric< TVector > | Superclass |
| typedef itk::Statistics::MeasurementVectorTraitsTypes< MeasurementVectorType >::ValueType | ValueType |
| Typedef for the component of a vector. More... | |
Public Member Functions | |
| double | Evaluate (const MeasurementVectorType &x) const override=0 |
| Gets the distance between the origin and x. More... | |
| virtual double | Evaluate (const MeasurementVectorType &x1, const MeasurementVectorType &x2) const override=0 |
| Gets the distance between x1 and x2. More... | |
| virtual double | Evaluate (const ValueType &a, const ValueType &b) const =0 |
| Gets the coordinate distance between a and b. More... | |
| itkTypeMacro (KernelInducedDistanceMetric, DistanceMetric) | |
| Run-time type information (and related methods). More... | |
Protected Member Functions | |
| KernelInducedDistanceMetric () | |
| Constructor. More... | |
| virtual | ~KernelInducedDistanceMetric () |
| Destructor. More... | |
| 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. More... | |
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.
| typedef SmartPointer< const Self > itk::Statistics::KernelInducedDistanceMetric< TVector >::ConstPointer |
| typedef Superclass::MeasurementVectorSizeType itk::Statistics::KernelInducedDistanceMetric< TVector >::MeasurementVectorSizeType |
Typedef to represent the length of each measurement vector.
| typedef Superclass::MeasurementVectorType itk::Statistics::KernelInducedDistanceMetric< TVector >::MeasurementVectorType |
Typedef to represent the measurement vector type.
| typedef Superclass::OriginType itk::Statistics::KernelInducedDistanceMetric< TVector >::OriginType |
Type of the origin.
| typedef SmartPointer< Self > itk::Statistics::KernelInducedDistanceMetric< TVector >::Pointer |
| typedef KernelInducedDistanceMetric itk::Statistics::KernelInducedDistanceMetric< TVector >::Self |
Standard class typedefs.
| typedef DistanceMetric< TVector > itk::Statistics::KernelInducedDistanceMetric< TVector >::Superclass |
| typedef itk::Statistics::MeasurementVectorTraitsTypes<MeasurementVectorType>::ValueType itk::Statistics::KernelInducedDistanceMetric< TVector >::ValueType |
Typedef for the component of a vector.
|
protected |
Constructor.
|
inlineprotectedvirtual |
Destructor.
|
overridepure virtual |
Gets the distance between the origin and x.
Implemented in itk::Statistics::GRBFKernelInducedDistanceMetric< TVector >, and itk::Statistics::RBFKernelInducedDistanceMetric< TVector >.
|
overridepure virtual |
Gets the distance between x1 and x2.
Implemented in itk::Statistics::GRBFKernelInducedDistanceMetric< TVector >, and itk::Statistics::RBFKernelInducedDistanceMetric< TVector >.
|
pure virtual |
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 >.
| itk::Statistics::KernelInducedDistanceMetric< TVector >::itkTypeMacro | ( | KernelInducedDistanceMetric< TVector > | , |
| DistanceMetric | |||
| ) |
Run-time type information (and related methods).
|
overrideprotected |
Write the name-value pairs of the class data members to the supplied output stream.