ObjRecBOF Class Reference

Inheritance diagram for ObjRecBOF:
Inheritance graph
[legend]
Collaboration diagram for ObjRecBOF:
Collaboration graph
[legend]

List of all members.

Classes

struct  Keypoint
struct  Object

Public Member Functions

 ObjRecBOF (OptionManager &mgr, const std::string &descrName="ObjRecBOF", const std::string &tagName="ObjRecBOF")
void start2 ()
 This is called from within start() after the subcomponents have started.
void train (const Image< PixRGB< byte > > &img, const std::string label)
void train (const std::string &name, int cls)
std::string test (const Image< PixRGB< byte > > &img)
Image< float > extractFeatures (const Image< PixRGB< byte > > &img)
void finalizeTraining ()
void finalizeTesting ()
void extractCodeWords (const char *dirname)
void getCodeWords (int numCodeWords)
void readCodeWords (const char *filename)
int assignCodeWord (const std::vector< double > &fv)
void assignCodeWords ()
void getObjCodeWords (const std::string &name)
void readSaliencyFeatures (const char *dirname)
void getSaliencyKeypoints (const std::string &name)
std::vector< KeypointreadSaliencyKeypoints (const char *filename)
std::vector< KeypointreadSIFTKeypoints (const char *filename)
void printCodeWords ()
void printAssignedCodeWords ()
void printFeatures ()
void extractGaborFeatures (const Image< PixRGB< byte > > &img)
void getSIFTKeypoints (const std::string &name)
void extractSIFTFeatures (const Image< PixRGB< byte > > &img)
std::vector< std::vector< byte > > getSiftDescriptor (const Image< float > &lum, const float x, const float y, const float s)
void calculateOrientationVector (const float x, const float y, const float s, const Image< float > &gradmag, const Image< float > &gradorie, Histogram &OV)
std::vector< std::vector< byte > > createVectorsAndKeypoints (const float x, const float y, const float s, const Image< float > &gradmag, const Image< float > &gradorie, Histogram &OV)
void getIlabSIFTKeypoints (const std::string &name)
std::vector< KeypointreadIlabSIFTKeypoints (const char *filename)

Detailed Description

Definition at line 49 of file ObjRecBOF.H.


Member Function Documentation

void ObjRecBOF::start2 (  )  [virtual]

This is called from within start() after the subcomponents have started.

Reimplemented from ModelComponent.

Definition at line 60 of file ObjRecBOF.C.


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