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

Impala::Core::Feature::RadiusClusteror< SimFunc > Class Template Reference

Radius based clustering of feature vectors using similarity. More...

#include <RadiusClusteror.h>

Inheritance diagram for Impala::Core::Feature::RadiusClusteror< SimFunc >:

Inheritance graph
[legend]
Collaboration diagram for Impala::Core::Feature::RadiusClusteror< SimFunc >:

Collaboration graph
[legend]
List of all members.

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
FeatureTablemClusterVec
std::vector< int > mClusterCount
FeatureTablemBuffer
SimFunc mSimFunc

Detailed Description

template<class SimFunc>
class Impala::Core::Feature::RadiusClusteror< SimFunc >

Radius based clustering of feature vectors using similarity.

Definition at line 22 of file RadiusClusteror.h.


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