#include <mdsTriFeatures.h>
Inheritance diagram for mds::seg::CTriFeaturesExtractor:
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. |
|
Type representing feature.
|
|
Feature vector.
|
|
Default constructor.
|
|
Destructor.
|
|
Acumulates image charakteristics from a given feature extractor.
|
|
Extracts and acumulates image charakteristics from given triangle.
|
|
Clears all internal structures and counters.
|
|
Evaluates features according to the acumulated image characteristics and writes result to a given feature vector.
|
|
Sum of all pixels.
|
|
|
|
Number of pixels counted.
|