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

Impala::Core::Table::Bayes Class Reference

A Bayes class has two child classes: BayesCondProb: compute the conditional probability P(c_{k}|g_{j}) based on annotation tables BayesFusion: update concept similarity tables, as posterior probability of concepts P(c_{k}|X_{i}). More...

#include <Bayes.h>

Inheritance diagram for Impala::Core::Table::Bayes:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Bayes (String annoSetName, String setName, String genreSet, String conceptSet, String quid, int nStart, int nEnd)
virtual ~Bayes ()
bool HasAnnotation ()
int GetGenreNum () const
int GetConceptNum () const
int GetAnnoTableSize () const
int GetTableSize () const
void InitializeAnnoTables ()
void InitializeConceptAnnoTables ()
void InitializeGenreAnnoTables ()
void VerifyAndSetAnnoTableSize ()
void SaveQuidTablePerGenre (bool bWrite)
void DumpMatrix (char *name, double **matrix, int nRow, int nCol, bool bDumpFloat=true)
void DumpMatrix (char *name, double **matrix, int nRow, int nCol, const char *file, bool bDumpFloat=true)
void DumpMatrixProb_c_gAsList ()
void SaveConditionalProbMatrix (const char *file)
void ResetMatrix (double **&matrix, int nRow, int nCol)
void ReleaseMatrix (double **&matrix, int nRow)
void SaveMatrix ()
bool LoadMatrix (bool bAnnoSet=true)
void SaveMatrixConceptConditionalProbability (String name, double **matrix, int &nRow, int &nCol)
bool LoadMatrixConceptConditionalProbability (String name, double **matrix, int &nRow, int &nCol, bool bAnnoSet=true)
void AllocateMatrix (double **&matrix, int nRow, int nCol)

Protected Attributes

String mSetName
String mAnnoSetName
String mGenreSet
String mConceptSet
Core::VideoSet::VideoSetmVidSet
Core::VideoSet::VideoSetmAnnoVidSet
Core::ImageSet::ImageSetmImgSet
Core::ImageSet::ImageSetmAnnoImgSet
AnnotationTableSetmTabGenreSet
AnnotationTableSetmTabConceptSet
AnnotationTable ** tabConcept
AnnotationTable ** tabGenre
String mMatrixFile
String mQuid
bool mHasAnnotation
bool mHandleTestSet
bool mVerbose
bool mbDumpTable
int mIsImageSet
int mGenreNum
int mConceptNum
int mAnnoTableSize
int mTableSize
int mStart
int mEnd
double ** mProb_c_g

Detailed Description

A Bayes class has two child classes: BayesCondProb: compute the conditional probability P(c_{k}|g_{j}) based on annotation tables BayesFusion: update concept similarity tables, as posterior probability of concepts P(c_{k}|X_{i}).

Definition at line 15 of file Bayes.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 13 09:20:46 2011 for ImpalaSrc by  doxygen 1.5.1