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

Impala::Core::Table::AnnotationTable Class Reference

A table with <annotee,qualifier> pairs. More...

#include <AnnotationTable.h>

Inheritance diagram for Impala::Core::Table::AnnotationTable:

Inheritance graph
[legend]
Collaboration diagram for Impala::Core::Table::AnnotationTable:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Column::ColumnTem<
Real64
ColumnReal64
typedef Column::ColumnTem<
Quid
ColumnQuid

Public Member Functions

 AnnotationTable ()
 AnnotationTable (String label, int tableSize)
String GetLabel () const
void SetLabel (String label)
int GetQuidClass () const
bool ContainsFrames () const
bool ContainsShots () const
int GetNrPositive () const
int GetNrNegative () const
QuidTableGetPositive () const
QuidTableGetNegative () const
QuidTableGetAnnotatedQuids () const
int GetIndex (Quid annotee) const
bool IsAnnotated (Quid annotee) const
Real64 GetQualification (Quid annotee) const
bool IsPositive (int idx) const
bool IsPositive (Quid annotee) const
bool IsNegative (int idx) const
bool IsNegative (Quid annotee) const
bool IsSkip (int idx) const
bool IsSkip (Quid annotee) const
void AddPositive (Quid annotee)
void AddNegative (Quid annotee)
void AddSkip (Quid annotee)
void SelectQuidObjectMaxId (int maxId)
void SelectQuidObjectMaxPositive (int number)
void SelectQuidObjectMaxNegative (int number)
void UpdateQuidMap ()
int Diff (AnnotationTable *arg) const
virtual void Dump (int from=0, int to=-1)
virtual void Dump (Database::RawDataSet *dataSet, int from=0, int to=-1)
void DumpSummary ()
void DumpSummaryObject ()
std::vector< QuidTable * > MakeEpisodeFolds (int foldCount, int repetition)
 This function creates 'episode contrained' folds from annotation.
std::vector< QuidTable * > MakeRandomFolds (int foldCount, int repetition)
void Sort ()
 after sorting the positive examples come first (sorted on quids), then the skipped, then the negative examples (sorted on quids)

Static Public Member Functions

static AnnotationTableMakeFromFile (String label, String fileName, Util::Database *db)

Private Member Functions

void GroupPerVideo (const QuidTable *positive, const QuidTable *negative, std::vector< int > &positiveVideos, std::vector< int > &negativeVideos)

Private Attributes

String mLabel
bool mIsAscending
Util::SimpleMap< Quid, int > mQuidMap
 ILOG_VAR_DEC

Detailed Description

A table with <annotee,qualifier> pairs.

The qualifier indicates whether the annotee fits a label. Qualifier range : (-1:negative, 0:skip, 1:positive).

Definition at line 33 of file AnnotationTable.h.


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