#include <itkEuclideanDistance.h>
Inheritance diagram for itk::Statistics::EuclideanDistance< TVector >:
Public Types | |
typedef EuclideanDistance | Self |
typedef DistanceMetric< TVector > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef TVector::ValueType | ValueType |
Public Member Functions | |
itkStaticConstMacro (VectorLength, unsigned int, TVector::Length) | |
virtual const char * | GetClassName () const |
double | Evaluate (const TVector &x) const |
double | Evaluate (const TVector &x1, const TVector &x2) const |
double | Evaluate (const ValueType &a, const ValueType &b) const |
bool | IsWithinRange (const TVector &x, const double radius) const |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
EuclideanDistance () | |
virtual | ~EuclideanDistance () |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
This class is derived from DistanceMetric class. In addition to the two Evaluate methods in the base class, this class has a method (Evaluate) to compute the coordinate distance between two vector component (not vectors), and a method to tell if a measurement vector is whithin the range (defined by a radius value) from the origin (set by SetOrigin mehtod).
Definition at line 38 of file itkEuclideanDistance.h.
|
Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >. Definition at line 45 of file itkEuclideanDistance.h. |
|
Standard "Self" typedef. Reimplemented from itk::Statistics::DistanceMetric< TVector >. Definition at line 43 of file itkEuclideanDistance.h. |
|
Reimplemented from itk::Statistics::DistanceMetric< TVector >. Definition at line 44 of file itkEuclideanDistance.h. |
|
Type of the component of a vector Definition at line 57 of file itkEuclideanDistance.h. |
|
Definition at line 74 of file itkEuclideanDistance.h. |
|
Definition at line 75 of file itkEuclideanDistance.h. |
|
Gets the cooridnate distance between a and b. NOTE: a and b should be type of component |
|
Gets the distance between x1 and x2 Implements itk::Statistics::DistanceMetric< TVector >.
|
|
Gets the distance between the origin and x Implements itk::Statistics::DistanceMetric< TVector >.
|
|
Run-time type information (and related methods). Reimplemented from itk::Statistics::DistanceMetric< TVector >.
|
|
Returns true if the distance between x and the origin is less than radius |
|
Length of the vector Reimplemented from itk::Statistics::DistanceMetric< TVector >.
|
|
Method for creation through the object factory. Reimplemented from itk::Object.
|
|
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::Statistics::MembershipFunctionBase< TVector >. Definition at line 76 of file itkEuclideanDistance.h. |