MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Types | Public Member Functions | Static Public Attributes
mds::img::CVarianceSimilarity< V > Class Template Reference

Statistical test of the similarity based on pixel value variance. More...

#include <mdsSimilarityMeasure.h>

Inheritance diagram for mds::img::CVarianceSimilarity< V >:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

template<class V>
class mds::img::CVarianceSimilarity< V >

Statistical test of the similarity based on pixel value variance.


Member Typedef Documentation

template<class V >
typedef V mds::img::CVarianceSimilarity< V >::tFeatureVector

Base types.

Reimplemented from mds::img::CSimilarityMeasure< V >.


Member Enumeration Documentation

template<class V >
anonymous enum [inherited]

Check that V is a feature vector type.

You will see name of this enum somewhere in compiler error message if the type V can't be used.

Enumerator:
FEATURE_VECTOR_MUST_BE_GIVEN 

Member Function Documentation

template<class V >
double CVarianceSimilarity::calculate ( const tFeatureVector v1,
const tFeatureVector v2 
)

Calculates similarity between two given feature vectors.


Member Data Documentation

template<class V >
const double CVarianceSimilarity::DEFAULT_THRESHOLD = 0.8 [static]

Default threshold.


The documentation for this class was generated from the following files: