match Class Reference

Object representing a hypothesis for internal use. More...

#include <match.hh>

Collaboration diagram for match:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 match (std::string _type, mi_pose _pose, double _fit, instance_data_ptr _data=instance_data_ptr())
 Constructor.
const std::string & get_type (void) const
 Get class of recognised object.
mi_pose get_pose (void) const
 Get pose of instance.
double get_fit (void) const
 Get likelihood of hypothesis.
instance_data_ptr get_data (void) const
 Get internal data for vision-method.

Protected Attributes

std::string type
 Clasification of object.
mi_pose pose
 Hypothetical pose.
double fit
 Likelihood of hypothesis.
instance_data_ptr data
 Internal data for vision-method.

Detailed Description

Object representing a hypothesis for internal use.

This object represents a hypothesis about an instance of a class of micro-object being found in a scene.

Each recognition/tracking-algorithm deliveres a set of hypotheses to be filtered by the main method mi_recognition::recognise.

See also:
mi_pose

mi_recognition::recognise

Author:
Jan Wedekind (j.wedekind@shu.ac.uk)


Constructor & Destructor Documentation

match::match std::string  _type,
mi_pose  _pose,
double  _fit,
instance_data_ptr  _data = instance_data_ptr()
[inline]
 

Constructor.

Parameters:
_type Class of recognised object.
_pose Hypothetical pose of object.
_fit Value indicating the likelihood of this hypothesis.
_data Internal data of vision-method.
See also:
database


Member Function Documentation

double match::get_fit void   )  const [inline]
 

Get likelihood of hypothesis.

This is a value, indicating the likelihood of this hypothesis. The value is used for filtering out unlikely hypotheses later.

Returns:
Likelihood of hypothesis.

mi_pose match::get_pose void   )  const [inline]
 

Get pose of instance.

Returns:
Hypothetical pose of object.

const std::string& match::get_type void   )  const [inline]
 

Get class of recognised object.

The string must match one of the identifiers in the database of micro-objects.

Returns:
String classifying the micro-object.
See also:
database


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