ITK
5.2.0
Insight Toolkit
|
#include <itkMahalanobisDistanceMetric.h>
Additional Inherited Members | |
Public Member Functions inherited from itk::Statistics::DistanceMetric< TVector > | |
virtual MeasurementVectorSizeType | GetMeasurementVectorSize () const |
virtual const OriginType & | GetOrigin () const |
void | SetOrigin (const OriginType &x) |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions inherited from itk::Statistics::DistanceMetric< TVector > | |
DistanceMetric () | |
~DistanceMetric () override=default | |
Protected Member Functions inherited from itk::FunctionBase< TVector, double > | |
FunctionBase ()=default | |
~FunctionBase () override=default | |
Protected Member Functions inherited from itk::Object | |
Object () | |
~Object () override | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
MahalanobisDistanceMetric class computes a Mahalanobis distance given a mean and covariance.
Definition at line 47 of file itkMahalanobisDistanceMetric.h.
using itk::Statistics::MahalanobisDistanceMetric< TVector >::ConstPointer = SmartPointer<const Self> |
Definition at line 54 of file itkMahalanobisDistanceMetric.h.
using itk::Statistics::MahalanobisDistanceMetric< TVector >::CovarianceMatrixType = vnl_matrix<double> |
Type used for representing the covariance matrix
Definition at line 71 of file itkMahalanobisDistanceMetric.h.
using itk::Statistics::MahalanobisDistanceMetric< TVector >::MeanVectorType = typename Superclass::OriginType |
Type used for representing the mean vector
Definition at line 68 of file itkMahalanobisDistanceMetric.h.
using itk::Statistics::MahalanobisDistanceMetric< TVector >::MeasurementVectorSizeType = typename Superclass::MeasurementVectorSizeType |
Typedef to represent the length of measurement vectors
Definition at line 65 of file itkMahalanobisDistanceMetric.h.
using itk::Statistics::MahalanobisDistanceMetric< TVector >::MeasurementVectorType = typename Superclass::MeasurementVectorType |
Typedef to represent the measurement vector type
Definition at line 62 of file itkMahalanobisDistanceMetric.h.
using itk::Statistics::MahalanobisDistanceMetric< TVector >::Pointer = SmartPointer<Self> |
Definition at line 53 of file itkMahalanobisDistanceMetric.h.
using itk::Statistics::MahalanobisDistanceMetric< TVector >::Self = MahalanobisDistanceMetric |
Standard class type aliases
Definition at line 51 of file itkMahalanobisDistanceMetric.h.
using itk::Statistics::MahalanobisDistanceMetric< TVector >::Superclass = DistanceMetric<TVector> |
Definition at line 52 of file itkMahalanobisDistanceMetric.h.
|
protected |
Typedef to represent the measurement vector type
|
overrideprotecteddefault |
Typedef to represent the measurement vector type
|
private |
Typedef to represent the measurement vector type
|
virtual |
Typedef to represent the measurement vector type
Reimplemented from itk::Object.
|
overridevirtual |
Method to get probability of an instance. The return value is the value of the density function, not probability.
Implements itk::Statistics::DistanceMetric< TVector >.
|
overridevirtual |
Gets the distance between x1 and x2.
Implements itk::Statistics::DistanceMetric< TVector >.
|
virtual |
Method to get covariance matrix
|
virtual |
Typedef to represent the measurement vector type
|
virtual |
Typedef to represent the measurement vector type
|
virtual |
Method to get covariance matrix
const MeanVectorType& itk::Statistics::MahalanobisDistanceMetric< TVector >::GetMean | ( | ) | const |
Method to get mean
|
virtual |
Strandard macros
Reimplemented from itk::Statistics::DistanceMetric< TVector >.
|
static |
Typedef to represent the measurement vector type
|
overrideprotectedvirtual |
Typedef to represent the measurement vector type
Reimplemented from itk::Statistics::DistanceMetric< TVector >.
void itk::Statistics::MahalanobisDistanceMetric< TVector >::SetCovariance | ( | const CovarianceMatrixType & | cov | ) |
Method to set covariance matrix Also, this function calculates inverse covariance and pre factor of MahalanobisDistance Distribution to speed up GetProbability
|
virtual |
Typedef to represent the measurement vector type
|
virtual |
Set/Get tolerance values
void itk::Statistics::MahalanobisDistanceMetric< TVector >::SetInverseCovariance | ( | const CovarianceMatrixType & | invcov | ) |
Method to set inverse covariance matrix
void itk::Statistics::MahalanobisDistanceMetric< TVector >::SetMean | ( | const MeanVectorType & | mean | ) |
Method to set mean
|
overridevirtual |
Set the length of each measurement vector.
Reimplemented from itk::Statistics::DistanceMetric< TVector >.
|
private |
Typedef to represent the measurement vector type
Definition at line 128 of file itkMahalanobisDistanceMetric.h.
|
private |
Typedef to represent the measurement vector type
Definition at line 135 of file itkMahalanobisDistanceMetric.h.
|
private |
Typedef to represent the measurement vector type
Definition at line 134 of file itkMahalanobisDistanceMetric.h.
|
private |
Typedef to represent the measurement vector type
Definition at line 132 of file itkMahalanobisDistanceMetric.h.
|
private |
Typedef to represent the measurement vector type
Definition at line 127 of file itkMahalanobisDistanceMetric.h.