mds::seg::CTriHomogeneityMeasure Class Reference

#include <mdsTriHomogeneityMeasure.h>

Inheritance diagram for mds::seg::CTriHomogeneityMeasure:

Inheritance graph
[legend]
List of all members.

Detailed Description

Abstract class of a homogeneity measure.


Public Member Functions

bool checkHomogeneity (const CTriFeatures &v1)
 Compares homogeneity of a given triangle feature vector against the internal threshold.
 CTriHomogeneityMeasure (double dThreshold=0.5)
 Default constructor.
virtual double getHomogeneity (const CTriFeatures &v1)=0
 Computes homogeneity of a given triangle feature vector.
double getThreshold ()
 Returns value of the internal threshold.
void setThreshold (double dValue)
 Sets the internal threshold.
virtual ~CTriHomogeneityMeasure ()
 Virtual destructor.

Protected Attributes

double m_dThreshold
 Internal threshold.


Constructor & Destructor Documentation

mds::seg::CTriHomogeneityMeasure::CTriHomogeneityMeasure double  dThreshold = 0.5  )  [inline]
 

Default constructor.

virtual mds::seg::CTriHomogeneityMeasure::~CTriHomogeneityMeasure  )  [inline, virtual]
 

Virtual destructor.


Member Function Documentation

bool mds::seg::CTriHomogeneityMeasure::checkHomogeneity const CTriFeatures v1  )  [inline]
 

Compares homogeneity of a given triangle feature vector against the internal threshold.

  • Returns true if the homogeneity is greater than the threshold.

virtual double mds::seg::CTriHomogeneityMeasure::getHomogeneity const CTriFeatures v1  )  [pure virtual]
 

Computes homogeneity of a given triangle feature vector.

Implemented in mds::seg::CTriVarianceHomogeneity.

double mds::seg::CTriHomogeneityMeasure::getThreshold  )  [inline]
 

Returns value of the internal threshold.

void mds::seg::CTriHomogeneityMeasure::setThreshold double  dValue  )  [inline]
 

Sets the internal threshold.


Member Data Documentation

double mds::seg::CTriHomogeneityMeasure::m_dThreshold [protected]
 

Internal threshold.


The documentation for this class was generated from the following file:
Generated on Thu Mar 11 10:36:27 2010 for MDSTk Extension Libraries by  doxygen 1.4.6-NO