#include <mdsTriSimilarityMeasure.h>
Inheritance diagram for mds::seg::CTriSimilarityMeasure:
Public Member Functions | |
bool | checkSimilarity (const CTriFeatures &v1, const CTriFeatures &v2) |
Compares similarity of two given triangle feature vectors against the internal threshold. | |
CTriSimilarityMeasure (double dThreshold=0.5) | |
Default constructor. | |
virtual double | getSimilarity (const CTriFeatures &v1, const CTriFeatures &v2)=0 |
Computes similarity of two given triangle feature vectors. | |
double | getThreshold () |
Returns value of the internal threshold. | |
void | setThreshold (double dValue) |
Sets the internal threshold. | |
virtual | ~CTriSimilarityMeasure () |
Virtual destructor. | |
Protected Attributes | |
double | m_dThreshold |
Internal threshold. |
|
Default constructor.
|
|
Virtual destructor.
|
|
Compares similarity of two given triangle feature vectors against the internal threshold.
|
|
Computes similarity of two given triangle feature vectors.
Implemented in mds::seg::CTriMeanValueSimilarity. |
|
Returns value of the internal threshold.
|
|
Sets the internal threshold.
|
|
Internal threshold.
|