MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Basic similarity measure comparing mean pixel value. 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. | |
CMeanValueSimilarity (double dRho=DEFAULT_RHO) | |
Default constructor. | |
Static Public Attributes | |
static const double | DEFAULT_RHO = 500.0 |
Default parameters. | |
static const double | DEFAULT_THRESHOLD = 0.1 |
Protected Attributes | |
double | m_dInvRho |
Parameter affecting sensitivity of the measure. |
Basic similarity measure comparing mean pixel value.
typedef V mds::img::CMeanValueSimilarity< V >::tFeatureVector |
Base types.
Reimplemented from mds::img::CSimilarityMeasure< V >.
anonymous enum [inherited] |
mds::img::CMeanValueSimilarity< V >::CMeanValueSimilarity | ( | double | dRho = DEFAULT_RHO | ) |
Default constructor.
double mds::img::CMeanValueSimilarity< V >::calculate | ( | const tFeatureVector & | v1, |
const tFeatureVector & | v2 | ||
) |
Calculates similarity between two given feature vectors.
const double CMeanValueSimilarity::DEFAULT_RHO = 500.0 [static] |
Default parameters.
const double CMeanValueSimilarity::DEFAULT_THRESHOLD = 0.1 [static] |
double mds::img::CMeanValueSimilarity< V >::m_dInvRho [protected] |
Parameter affecting sensitivity of the measure.