#include <Clusteror.h>
Inheritance diagram for Impala::Core::Feature::Clusteror:
Public Member Functions | |
Clusteror (int pixelFeatureSet, int regionFeatureSet, int nrWantedClusters, int minElemsInCluster) | |
int | GetPixelFeatureSet () const |
int | GetRegionFeatureSet () const |
virtual String | GetClusterType () const=0 |
The type of clusteror, e.g. | |
virtual String | GetClusterVal () const=0 |
Some parameter value characterizing the clusteror. | |
virtual void | InitClusterVec (FeatureTable *clusters, String mode, int val)=0 |
Use given vectors as initial cluster points. | |
virtual void | Cluster (FeatureTable *tab)=0 |
Add given features to the buffer and process buffer if applicable. | |
virtual bool | HadEnough ()=0 |
Indicate whether enough features have been provided. | |
virtual void | FinishBuffer ()=0 |
Process features that still remain in the buffer. | |
virtual void | Clusters2FeatureTable (FeatureTable *table)=0 |
Export the clusters found to the given feature table. | |
virtual void | PrintStatus ()=0 |
Provide some feedback on the current status. | |
Protected Attributes | |
int | mPixelFeatureSet |
int | mRegionFeatureSet |
int | mNrWantedClusters |
int | mMinElemsInCluster |
The clusteror is expected to operate in an incremental way. That is, it is probably not able to handle all features at once and thus it should keep a buffer with features that are considered in each step. The buffer gets filled by calls to the "Cluster" function and is processed when some (clusteror dependent) criterium is met.
Definition at line 21 of file Clusteror.h.