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< Keypoint > | readSaliencyKeypoints (const char *filename) |
std::vector< Keypoint > | readSIFTKeypoints (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< Keypoint > | readIlabSIFTKeypoints (const char *filename) |
Definition at line 49 of file ObjRecBOF.H.
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.