geometric_map_xyz Class Reference

Hash-functions for doing 3-DOF recognition. More...

#include <geometric_map_xyz.hh>

Inheritance diagram for geometric_map_xyz:

Inheritance graph
[legend]
Collaboration diagram for geometric_map_xyz:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 geometric_map_xyz (mimas::mm_xml_reference< XalanElement > &configuration, bool _verbose)
 Constructor.
virtual std::vector< mi_posecandidates (const std::vector< boost::numeric::ublas::vector< int > > &features) const
 Generate exhaustive set of affine transformations.
virtual bool random_poses (const std::vector< boost::numeric::ublas::vector< int > > &features, mi_pose &pose) const
 Pick a random pose from a set of features.

Protected Member Functions

mi_pose point_to_pose (const boost::numeric::ublas::vector< int > &p) const
 Map point to hash-function.

Protected Attributes

bool verbose

Static Protected Attributes

static rand_function< int > rnd
 Random number generator for selecting point-pairs.

Detailed Description

Hash-functions for doing 3-DOF recognition.

See also:
geometric_voting_plugin


Constructor & Destructor Documentation

geometric_map_xyz::geometric_map_xyz mimas::mm_xml_reference< XalanElement > &  configuration,
bool  _verbose
 

Constructor.

Parameters:
configuration Access to xml-document.


Member Function Documentation

virtual std::vector< mi_pose > geometric_map_xyz::candidates const std::vector< boost::numeric::ublas::vector< int > > &  features  )  const [virtual]
 

Generate exhaustive set of affine transformations.

This function has to generate the complete set of affine transformations from the set of features (of a model-image). to compute the hash-table.

Parameters:
features Features from model-image.

Implements geometric_map.

mi_pose geometric_map_xyz::point_to_pose const boost::numeric::ublas::vector< int > &  p  )  const [protected]
 

Map point to hash-function.

The corresponding hash-function (transform) to a point-feature is computed.

Parameters:
p Point-feature.

virtual bool geometric_map_xyz::random_poses const std::vector< boost::numeric::ublas::vector< int > > &  features,
mi_pose pose
const [virtual]
 

Pick a random pose from a set of features.

A random affine transformation is generated from a set of features (of a scene image).

Parameters:
features Features of scene-image.

Implements geometric_map.


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