00001 #ifndef __MAXIMA_EXTRACTION_PLUGIN_HH 00002 #define __MAXIMA_EXTRACTION_PLUGIN_HH 00003 00004 #include <set> 00005 #include "recognition_method.hh" 00006 00013 class maxima_extraction_plugin: public recognition_method 00014 { 00015 public: 00021 maxima_extraction_plugin( const calibration_ptr &_calib, 00022 const mimas::mm_xml_reference< XalanElement > 00023 &configuration, 00024 bool _verbose ); 00029 virtual std::vector< match > recognise 00030 ( const mimas::mm_image< unsigned char > &image, 00031 double timestamp, 00032 mi_scene_ptr scene ) const; 00033 protected: 00036 mi_pose pose3d( const mi_pose &pose ) const; 00038 std::set< std::string > models; 00040 int threshold; 00042 double sigma; 00043 }; 00044 00045 #endif