$search

CRecognizerThread Class Reference

#include <RecognizerThread.h>

Inheritance diagram for CRecognizerThread:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CRecognizerThread (const blortRecognizer::CameraParameter &params, std::string config_root="")
cv::Mat getImage ()
void GetLastSifts (std::vector< blortRecognizer::Siftex > &sl)
void GetSifts (std::vector< blortRecognizer::Siftex > &sl)
void LearnSifts (IplImage *image, TomGine::tgModel &model, TomGine::tgPose &pose)
void LoadSiftModel (const std::string sift_file)
virtual BOOL OnTask ()
void Recognize (IplImage *image, TomGine::tgPose &pose, float &conf)
void SaveSiftModel (const std::string sift_file)
 ~CRecognizerThread ()

Private Types

enum  Command {
  RECOGNIZE, LEARN, LOAD, SAVE,
  GETSIFT, GETLASTSIFT, IDLE
}

Private Attributes

Command cmd
std::string config_root
float m_conf
CEventClass m_evCmd
CEventClass m_evData
IplImage * m_image
std::vector
< blortRecognizer::Siftex
m_lastsiftexlist
TomGine::tgModel m_model
blortRecognizer::CameraParameter m_params
TomGine::tgPose m_pose
bool m_quit
CMutexClass m_running
std::string m_sift_file
std::vector
< blortRecognizer::Siftex
m_siftexlist
cv::Mat result

Detailed Description

Definition at line 11 of file RecognizerThread.h.


Member Enumeration Documentation

Enumerator:
RECOGNIZE 
LEARN 
LOAD 
SAVE 
GETSIFT 
GETLASTSIFT 
IDLE 

Definition at line 14 of file RecognizerThread.h.


Constructor & Destructor Documentation

CRecognizerThread::CRecognizerThread ( const blortRecognizer::CameraParameter params,
std::string  config_root = "" 
)

Definition at line 7 of file RecognizerThread.cpp.

CRecognizerThread::~CRecognizerThread (  ) 

Definition at line 19 of file RecognizerThread.cpp.


Member Function Documentation

cv::Mat CRecognizerThread::getImage (  )  [inline]

Definition at line 61 of file RecognizerThread.h.

void CRecognizerThread::GetLastSifts ( std::vector< blortRecognizer::Siftex > &  sl  ) 

Definition at line 98 of file RecognizerThread.cpp.

void CRecognizerThread::GetSifts ( std::vector< blortRecognizer::Siftex > &  sl  ) 

Definition at line 84 of file RecognizerThread.cpp.

void CRecognizerThread::LearnSifts ( IplImage *  image,
TomGine::tgModel model,
TomGine::tgPose pose 
)

Definition at line 49 of file RecognizerThread.cpp.

void CRecognizerThread::LoadSiftModel ( const std::string  sift_file  ) 

Definition at line 62 of file RecognizerThread.cpp.

BOOL CRecognizerThread::OnTask (  )  [virtual]

OnTask overloaded implementation of OnTask that takes no arguments

Reimplemented from CThread.

Definition at line 112 of file RecognizerThread.cpp.

void CRecognizerThread::Recognize ( IplImage *  image,
TomGine::tgPose pose,
float &  conf 
)

Definition at line 32 of file RecognizerThread.cpp.

void CRecognizerThread::SaveSiftModel ( const std::string  sift_file  ) 

Definition at line 73 of file RecognizerThread.cpp.


Member Data Documentation

Definition at line 23 of file RecognizerThread.h.

std::string CRecognizerThread::config_root [private]

Definition at line 40 of file RecognizerThread.h.

float CRecognizerThread::m_conf [private]

Definition at line 29 of file RecognizerThread.h.

Definition at line 25 of file RecognizerThread.h.

Definition at line 25 of file RecognizerThread.h.

IplImage* CRecognizerThread::m_image [private]

Definition at line 34 of file RecognizerThread.h.

Definition at line 35 of file RecognizerThread.h.

Definition at line 33 of file RecognizerThread.h.

Definition at line 31 of file RecognizerThread.h.

Definition at line 32 of file RecognizerThread.h.

bool CRecognizerThread::m_quit [private]

Definition at line 28 of file RecognizerThread.h.

Definition at line 26 of file RecognizerThread.h.

std::string CRecognizerThread::m_sift_file [private]

Definition at line 30 of file RecognizerThread.h.

Definition at line 36 of file RecognizerThread.h.

cv::Mat CRecognizerThread::result [private]

Definition at line 39 of file RecognizerThread.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Fri Mar 1 16:57:55 2013