mds::seg::CTriFeaturesExtractor Class Reference

#include <mdsTriFeatures.h>

Inheritance diagram for mds::seg::CTriFeaturesExtractor:

Inheritance graph
[legend]
List of all members.

Detailed Description

Class used to extract image features for a triangle.


Public Types

typedef CTriFeatures::tFeature tFeature
 Type representing feature.
typedef CTriFeatures tVector
 Feature vector.

Public Member Functions

void acumulate (const CTriFeaturesExtractor &Extractor)
 Acumulates image charakteristics from a given feature extractor.
void acumulate (tImage *pImage, vctl::MCTri *pTriangle)
 Extracts and acumulates image charakteristics from given triangle.
void clear ()
 Clears all internal structures and counters.
 CTriFeaturesExtractor ()
 Default constructor.
bool evaluate (tVector *pVector, bool bCheckNumOfPixels=true)
 Evaluates features according to the acumulated image characteristics and writes result to a given feature vector.
 ~CTriFeaturesExtractor ()
 Destructor.

Protected Attributes

double m_dSum
 Sum of all pixels.
double m_dSumSqr
int m_iNumOfPixels
 Number of pixels counted.


Member Typedef Documentation

typedef CTriFeatures::tFeature mds::seg::CTriFeaturesExtractor::tFeature
 

Type representing feature.

typedef CTriFeatures mds::seg::CTriFeaturesExtractor::tVector
 

Feature vector.


Constructor & Destructor Documentation

mds::seg::CTriFeaturesExtractor::CTriFeaturesExtractor  )  [inline]
 

Default constructor.

mds::seg::CTriFeaturesExtractor::~CTriFeaturesExtractor  )  [inline]
 

Destructor.


Member Function Documentation

void mds::seg::CTriFeaturesExtractor::acumulate const CTriFeaturesExtractor Extractor  ) 
 

Acumulates image charakteristics from a given feature extractor.

void mds::seg::CTriFeaturesExtractor::acumulate tImage pImage,
vctl::MCTri *  pTriangle
 

Extracts and acumulates image charakteristics from given triangle.

void mds::seg::CTriFeaturesExtractor::clear  ) 
 

Clears all internal structures and counters.

bool mds::seg::CTriFeaturesExtractor::evaluate tVector pVector,
bool  bCheckNumOfPixels = true
 

Evaluates features according to the acumulated image characteristics and writes result to a given feature vector.

  • Returns false on failure.
  • Concrete error code is saved in the feature vector.


Member Data Documentation

double mds::seg::CTriFeaturesExtractor::m_dSum [protected]
 

Sum of all pixels.

double mds::seg::CTriFeaturesExtractor::m_dSumSqr [protected]
 

int mds::seg::CTriFeaturesExtractor::m_iNumOfPixels [protected]
 

Number of pixels counted.


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