#include <RadiusClusteror.h>
Inheritance diagram for Impala::Core::Feature::RadiusClusteror< SimFunc >:
Public Types | |
typedef Core::Vector::VectorTem< Real64 > | VectorReal64 |
Public Member Functions | |
RadiusClusteror (int pixelFeatureSet, int regionFeatureSet, Real64 radius, int nrSamplesAtime, int nrWantedClusters, int minElemsInCluster, SimFunc simFunc) | |
virtual String | GetClusterType () const |
The type of clusteror, e.g. | |
virtual String | GetClusterVal () const |
Some parameter value characterizing the clusteror. | |
virtual void | InitClusterVec (FeatureTable *clusters, String mode, int val) |
Use given vectors as initial cluster points. | |
virtual void | ProcessBuffer () |
void | Cluster (VectorReal64 vec, Quid quid) |
virtual void | Cluster (FeatureTable *tab) |
Add given features to the buffer and process buffer if applicable. | |
virtual bool | HadEnough () |
Indicate whether enough features have been provided. | |
virtual void | FinishBuffer () |
Process features that still remain in the buffer. | |
virtual void | Clusters2FeatureTable (FeatureTable *table) |
Export the clusters found to the given feature table. | |
virtual void | PrintStatus () |
Provide some feedback on the current status. | |
Static Public Attributes | |
static const int | MODE_ORG = 1 |
static const int | MODE_NEW = 2 |
static const int | MODE_COUNT = 3 |
Private Member Functions | |
void | CheckFeatureLen (int vecLen) |
int | CountClusters () |
bool | IsBufferEmpty () |
Private Attributes | |
int | mMode |
Real64 | mRadius |
bool | mAllowOverlap |
bool | mAllowSlack |
Real64 | mSlack |
int | mSlackStart |
int | mNrSamplesAtime |
int | mNrConsidered |
bool | mCanProcess |
int | mProcessEnded |
FeatureTable * | mClusterVec |
std::vector< int > | mClusterCount |
FeatureTable * | mBuffer |
SimFunc | mSimFunc |
Definition at line 22 of file RadiusClusteror.h.