MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
The Chi-Square distance measure. More...
#include <mdsDistanceMeasure.h>
Public Types | |
enum | { FEATURE_VECTOR_MUST_BE_GIVEN = V::CLASS_FEATURE_VECTOR } |
Check that V is a feature vector type. More... | |
typedef CDistanceMeasure< V > | tBase |
typedef tBase::tFeatureVector | tFeatureVector |
Feature vector type. | |
Static Public Member Functions | |
static double | calculate (const tFeatureVector &v1, const tFeatureVector &v2) |
Calculates similarity between two given feature vectors. |
The Chi-Square distance measure.
typedef CDistanceMeasure<V> mds::img::CChiSquare< V >::tBase |
typedef tBase::tFeatureVector mds::img::CChiSquare< V >::tFeatureVector |
Feature vector type.
Reimplemented from mds::img::CDistanceMeasure< V >.
anonymous enum [inherited] |
static double mds::img::CChiSquare< V >::calculate | ( | const tFeatureVector & | v1, |
const tFeatureVector & | v2 | ||
) | [static] |
Calculates similarity between two given feature vectors.