covHolder< FLOAT > Class Template Reference

A general purpose container for holding guassian signatures. More...

#include <VFAT/covHolder.H>

Inheritance diagram for covHolder< FLOAT >:
Inheritance graph
[legend]
Collaboration diagram for covHolder< FLOAT >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void resize (unsigned long _dim, unsigned long _samples, FLOAT initVal)
 resize this container to diminsions x samples
void dumpMeToFile (std::string myname, std::string frame, bool init)
 dump this objects values to a file

Public Attributes

bool isMatched
 was this object matched to another object?
bool isLarge
 Does this object have enough samples.
unsigned long samples
 number of samples in the set (Population in essence)
unsigned long sortID
 sorted unique base ID of this file (by size)
unsigned long matchID
 unique matched ID of this object
std::vector< std::vector< FLOAT > > meanTheta
 angle of intersecting line from 0,0 to x,y in cov_meanRatio
std::vector< std::vector< FLOAT > > meanRatio
 mean ratio of x to y for any data point

Detailed Description

template<class FLOAT>
class covHolder< FLOAT >

A general purpose container for holding guassian signatures.

This is a general purpose container for classes from the feature classifier. Note that there are no pointers and all data is copied this allows this object to be pulled off from the other code if need be which makes it portable to other machines or memory spaces so long as the object type is known.

NOTE: To see how means and averages are computed along with how each sample is matched temporally, see the file covEstimate.C and the method covEstimate<T>::matchPmeanAccum(...) . This method does a nearest neighbor matching and computes temporal dynamics for each class.

Definition at line 70 of file covHolder.H.


Member Function Documentation

template<class FLOAT >
void covHolder< FLOAT >::dumpMeToFile ( std::string  myname,
std::string  frame,
bool  init 
) [inline]

dump this objects values to a file

Definition at line 124 of file covHolder.H.

References covHolder< FLOAT >::matchID, covHolder< FLOAT >::samples, and covHolder< FLOAT >::sortID.

template<class FLOAT>
void covHolder< FLOAT >::resize ( unsigned long  _dim,
unsigned long  _samples,
FLOAT  initVal 
) [inline]

resize this container to diminsions x samples

Definition at line 108 of file covHolder.H.

References covHolder< FLOAT >::meanRatio, covHolder< FLOAT >::meanTheta, and covHolder< FLOAT >::samples.

Referenced by main().


Member Data Documentation

template<class FLOAT>
bool covHolder< FLOAT >::isLarge

Does this object have enough samples.

Definition at line 83 of file covHolder.H.

template<class FLOAT>
bool covHolder< FLOAT >::isMatched

was this object matched to another object?

Definition at line 81 of file covHolder.H.

template<class FLOAT>
unsigned long covHolder< FLOAT >::matchID

unique matched ID of this object

Definition at line 89 of file covHolder.H.

Referenced by covHolder< FLOAT >::dumpMeToFile().

template<class FLOAT>
std::vector<std::vector<FLOAT> > covHolder< FLOAT >::meanRatio

mean ratio of x to y for any data point

Definition at line 93 of file covHolder.H.

Referenced by covEstimate< T >::dumpMatrix(), covEstimate< T >::printDebug(), covEstimate< T >::printEigenVals(), and covHolder< FLOAT >::resize().

template<class FLOAT>
std::vector<std::vector<FLOAT> > covHolder< FLOAT >::meanTheta

angle of intersecting line from 0,0 to x,y in cov_meanRatio

Definition at line 91 of file covHolder.H.

Referenced by covEstimate< T >::getP(), covEstimate< T >::printDebug(), and covHolder< FLOAT >::resize().

template<class FLOAT>
unsigned long covHolder< FLOAT >::samples
template<class FLOAT>
unsigned long covHolder< FLOAT >::sortID

sorted unique base ID of this file (by size)

Definition at line 87 of file covHolder.H.

Referenced by covHolder< FLOAT >::dumpMeToFile().


The documentation for this class was generated from the following file:
Generated on Sun May 8 08:21:08 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3