A general purpose container for holding guassian signatures. More...
#include <VFAT/covHolder.H>
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 |
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.
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.
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().
Does this object have enough samples.
Definition at line 83 of file covHolder.H.
was this object matched to another object?
Definition at line 81 of file covHolder.H.
unique matched ID of this object
Definition at line 89 of file covHolder.H.
Referenced by covHolder< FLOAT >::dumpMeToFile().
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().
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().
number of samples in the set (Population in essence)
Definition at line 85 of file covHolder.H.
Referenced by covEstimate< T >::dumpMatrix(), covHolder< FLOAT >::dumpMeToFile(), covEstimate< T >::getP(), covHolder< FLOAT >::resize(), covEstimate< T >::setNew(), and covEstimate< T >::setNewF().
sorted unique base ID of this file (by size)
Definition at line 87 of file covHolder.H.
Referenced by covHolder< FLOAT >::dumpMeToFile().