#include <itkDistanceMetric.h>
Inheritance diagram for itk::Statistics::DistanceMetric:
Public Types | |
typedef DistanceMetric | Self |
typedef MembershipFunctionBase< TVector > | Superclass |
typedef Vector< double, itkGetStaticConstMacro(VectorLength) | OriginType ) |
Public Methods | |
itkStaticConstMacro (VectorLength, unsigned int, TVector::Length) | |
virtual const char * | GetClassName () const |
void | SetOrigin (const OriginType &x) |
virtual double | Evaluate (const TVector &x) const=0 |
virtual double | Evaluate (const TVector &x1, const TVector &x2) const=0 |
Protected Attributes | |
OriginType | m_Origin |
As a function derived from MembershipFunctionBase, users use Evaluate method to get result.
To use this function in the context of MembershipFunction, users should first set the origin by calling SetOrigin() function, then call Evaluate() method with a point to get the distance between the origin point and the evaluation point.
If users want to the distance between two points without setting the origin point. Use two argument version of Evaluate() function.
Definition at line 43 of file itkDistanceMetric.h.
|
Definition at line 56 of file itkDistanceMetric.h. |
|
Standard typedefs Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >. Reimplemented in itk::Statistics::EuclideanDistance< TVector >, and itk::Statistics::EuclideanDistance< ParameterType >. Definition at line 47 of file itkDistanceMetric.h. |
|
Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >. Reimplemented in itk::Statistics::EuclideanDistance< TVector >, and itk::Statistics::EuclideanDistance< ParameterType >. Definition at line 48 of file itkDistanceMetric.h. |
|
Gets the distance between x1 and x2 points Implemented in itk::Statistics::EuclideanDistance< TVector >, and itk::Statistics::EuclideanDistance< ParameterType >. |
|
Gets the distance between the origin point and x. This function work with SetOrigin() function Implements itk::Statistics::MembershipFunctionBase< TVector >. Implemented in itk::Statistics::EuclideanDistance< TVector >, and itk::Statistics::EuclideanDistance< ParameterType >. |
|
Run-time type information (and related methods). Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >. Reimplemented in itk::Statistics::EuclideanDistance< TVector >, and itk::Statistics::EuclideanDistance< ParameterType >. |
|
Length constant Reimplemented in itk::Statistics::EuclideanDistance< TVector >, and itk::Statistics::EuclideanDistance< ParameterType >. |
|
Sets the origin point that will be used for the single point version Evaluate() function. This function is necessary part of implementing MembershipFunctionBase's Evaluate() interface |
|
Definition at line 71 of file itkDistanceMetric.h. |