ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkDistanceToCentroidMembershipFunction.h>
DistanceToCentroidMembershipFunction models class membership using a distance metric.
DistanceToCentroidMembershipFunction is a subclass of MembershipFunctionBase that models class membership using the distance to the centroid of the class. A choice of distance metric can be specified using the SetDistanceMetric() method. Options include EuclideanDistanceMetric, EuclideanSquaredDistanceMetric, and ManhattenDistanceMetric. The centroid of the class is specified using the SetCentroid() method. Any other parameters to control the distance function evaluation have to be set directly on the distance function itself.
Definition at line 45 of file itkDistanceToCentroidMembershipFunction.h.
typedef DistanceMetricType::OriginType itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::CentroidType |
Definition at line 77 of file itkDistanceToCentroidMembershipFunction.h.
typedef SmartPointer< const Self > itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::ConstPointer |
Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >.
Definition at line 53 of file itkDistanceToCentroidMembershipFunction.h.
typedef DistanceMetricType::Pointer itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::DistanceMetricPointer |
Definition at line 76 of file itkDistanceToCentroidMembershipFunction.h.
typedef DistanceMetric< MeasurementVectorType > itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::DistanceMetricType |
Type of the DistanceMetric to use
Definition at line 75 of file itkDistanceToCentroidMembershipFunction.h.
typedef Superclass::MeasurementVectorSizeType itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::MeasurementVectorSizeType |
Typedef to represent the length of measurement vectors
Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >.
Definition at line 69 of file itkDistanceToCentroidMembershipFunction.h.
typedef TVector itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::MeasurementVectorType |
Typedef alias for the measurement vectors
Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >.
Definition at line 65 of file itkDistanceToCentroidMembershipFunction.h.
typedef Superclass::Pointer itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::MembershipFunctionPointer |
SmartPointer class for superclass
Definition at line 58 of file itkDistanceToCentroidMembershipFunction.h.
typedef SmartPointer< Self > itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::Pointer |
Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >.
Definition at line 52 of file itkDistanceToCentroidMembershipFunction.h.
typedef DistanceToCentroidMembershipFunction itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::Self |
Standard class typedefs
Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >.
Definition at line 50 of file itkDistanceToCentroidMembershipFunction.h.
typedef MembershipFunctionBase< TVector > itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::Superclass |
Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >.
Definition at line 51 of file itkDistanceToCentroidMembershipFunction.h.
itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::DistanceToCentroidMembershipFunction | ( | void | ) | [protected] |
virtual itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::~DistanceToCentroidMembershipFunction | ( | void | ) | [inline, protected, virtual] |
Definition at line 103 of file itkDistanceToCentroidMembershipFunction.h.
itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::DistanceToCentroidMembershipFunction | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::CreateAnother | ( | void | ) | const [virtual] |
Strandard macros
Reimplemented from itk::Object.
double itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::Evaluate | ( | const MeasurementVectorType & | measurement | ) | const [virtual] |
Method to get probability of an instance. The return value is the value of the density function, not probability.
Implements itk::Statistics::MembershipFunctionBase< TVector >.
const CentroidType& itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::GetCentroid | ( | ) | const |
Get the centroid of the class (requested from the DistanceMetric
virtual const DistanceMetricType* itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::GetDistanceMetric | ( | ) | [virtual] |
Get the DistanceMetric used by the MembershipFunction
virtual DistanceMetricType* itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::GetDistanceMetric | ( | ) | [virtual] |
Get the DistanceMetric used by the MembershipFunction. This is a non-const version that allows you to configure the distance function directly.
virtual const char* itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::GetNameOfClass | ( | ) | const [virtual] |
Strandard macros
Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >.
virtual LightObject::Pointer itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::InternalClone | ( | ) | const [protected, virtual] |
Return a copy of the current membership function
Reimplemented from itk::LightObject.
static Pointer itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::New | ( | ) | [static] |
Strandard macros
Reimplemented from itk::Object.
void itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >.
void itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
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 >.
void itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::SetCentroid | ( | const CentroidType & | centroid | ) |
Set the centroid of the class (propagated to the DistanceMetric)
virtual void itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::SetDistanceMetric | ( | DistanceMetricType * | _arg | ) | [virtual] |
Set the DistanceMetric to be used when calling the Evaluate() method
virtual void itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::SetMeasurementVectorSize | ( | MeasurementVectorSizeType | ) | [virtual] |
Set the length of each measurement vector.
DistanceMetricPointer itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::m_DistanceMetric [private] |
Definition at line 113 of file itkDistanceToCentroidMembershipFunction.h.