MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Statistical test of the similarity based on pixel value variance. More...
#include <mdsSimilarityMeasure.h>
Public Types | |
enum | { FEATURE_VECTOR_MUST_BE_GIVEN = V::CLASS_FEATURE_VECTOR } |
Check that V is a feature vector type. More... | |
typedef V | tFeatureVector |
Base types. | |
Public Member Functions | |
double | calculate (const tFeatureVector &v1, const tFeatureVector &v2) |
Calculates similarity between two given feature vectors. | |
Static Public Attributes | |
static const double | DEFAULT_THRESHOLD = 0.8 |
Default threshold. |
Statistical test of the similarity based on pixel value variance.
typedef V mds::img::CVarianceSimilarity< V >::tFeatureVector |
Base types.
Reimplemented from mds::img::CSimilarityMeasure< V >.
anonymous enum [inherited] |
double CVarianceSimilarity::calculate | ( | const tFeatureVector & | v1, |
const tFeatureVector & | v2 | ||
) |
Calculates similarity between two given feature vectors.
const double CVarianceSimilarity::DEFAULT_THRESHOLD = 0.8 [static] |
Default threshold.