human_vision_plugin Class Reference

Class for doing human vision. More...

#include <human_vision_plugin.hh>

Inheritance diagram for human_vision_plugin:

Inheritance graph
[legend]
Collaboration diagram for human_vision_plugin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 human_vision_plugin (const calibration_ptr &_calib, const mimas::mm_xml_reference< XalanElement > &configuration, const mi_recognition *_recognition, bool _verbose)
 Constructor.
virtual std::vector< matchrecognise (const mimas::mm_image< unsigned char > &image, double timestamp, mi_scene_ptr scene) const
 Recognise objects using a human.

Protected Member Functions

mi_pose pose3d (const mi_pose &pose) const
 Convert two-dimensional pose to 3d-pose.

Protected Attributes

std::set< std::string > models
 Types of micro-objects, which are recognised using this vision-method.
const mi_recognitionrecognition
 Pointer to recognition-method.

Detailed Description

Class for doing human vision.

The only purpose of this class is to provide human-vision as a vision-method out of many.

This plugin calls the method mi_recognition::human_vision.

See also:
mi_recognition::human_vision


Constructor & Destructor Documentation

human_vision_plugin::human_vision_plugin const calibration_ptr &  _calib,
const mimas::mm_xml_reference< XalanElement > &  configuration,
const mi_recognition _recognition,
bool  _verbose
 

Constructor.

Parameters:
_calib Calibration data.
configuration XML document with configuration.
_recognition The main-recognition object.
_verbose Set to true, if you want to get verbose information from the vision-algorithms.


Member Function Documentation

mi_pose human_vision_plugin::pose3d const mi_pose pose  )  const [protected]
 

Convert two-dimensional pose to 3d-pose.

Parameters:
pose 2D-pose.
Returns:
3D-pose

virtual std::vector< match > human_vision_plugin::recognise const mimas::mm_image< unsigned char > &  image,
double  timestamp,
mi_scene_ptr  scene
const [virtual]
 

Recognise objects using a human.

Parameters:
image Image to recognise objects in.
timestamp Timestamp for image
scene Scene information.

Implements recognition_method.


Member Data Documentation

const mi_recognition* human_vision_plugin::recognition [protected]
 

Pointer to recognition-method.

This pointer is used for calling the method mi_recognition::human_vision


The documentation for this class was generated from the following file:
doxygen-1.4.5 documentation for micron-vision - Tue Jan 17 15:29:15 2006