Classes | |
struct | Descriptor |
struct | Object |
struct | SiftKeypoint |
Public Member Functions | |
ObjRecSPM (OptionManager &mgr, const std::string &descrName="ObjRecSPM", const std::string &tagName="ObjRecSPM") | |
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 | finalizeTraining () |
std::string | predict (const Image< PixRGB< byte > > &img) |
Descriptor | extractFeatures (const Image< float > &input) |
Descriptor | extractSiftFeatures (const Image< float > &input) |
uint | getObject (const std::string name) |
int | findObject (const Descriptor &desc) |
double | matchKernel (const std::vector< Histogram > &A, const std::vector< Histogram > &B) |
double | matchDescriptor (const Descriptor &descA, const Descriptor &descB) |
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) |
Definition at line 54 of file ObjRecSPM.H.
void ObjRecSPM::start2 | ( | ) | [virtual] |
This is called from within start() after the subcomponents have started.
Reimplemented from ModelComponent.
Definition at line 94 of file ObjRecSPM.C.