Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Core::Feature::Clusteror Class Reference

Base class for objects that cluster feature vectors. More...

#include <Clusteror.h>

Inheritance diagram for Impala::Core::Feature::Clusteror:

Inheritance graph
[legend]
List of all members.

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

Detailed Description

Base class for objects that cluster feature vectors.

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.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:08:39 2010 for ImpalaSrc by  doxygen 1.5.1