geometric_map Class Reference

Geometric hash-function and related functionality. More...

#include <geometric_map.hh>

Inheritance diagram for geometric_map:

Inheritance graph
[legend]
Collaboration diagram for geometric_map:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 geometric_map (const std::string &_hash_type)
 Constructor.
virtual std::vector< mi_posecandidates (const std::vector< boost::numeric::ublas::vector< int > > &features) const =0
 Generate exhaustive set of affine transformations.
virtual bool random_poses (const std::vector< boost::numeric::ublas::vector< int > > &features, mi_pose &pose) const =0
 Pick a random pose from a set of features.
const std::string get_hash_type (void) const
 Type of hash-function.

Protected Attributes

std::string hash_type
 "xyz" or "xyza"

Detailed Description

Geometric hash-function and related functionality.

This abstract class encapsulates the selected hash-map and related functions.

See also:
geometric_map_xyz

geometric_map_xyza


Member Function Documentation

virtual std::vector< mi_pose > geometric_map::candidates const std::vector< boost::numeric::ublas::vector< int > > &  features  )  const [pure 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.

Implemented in geometric_map_xyz, and geometric_map_xyza.

const std::string geometric_map::get_hash_type void   )  const [inline]
 

Type of hash-function.

Returns:
"xyz" or "xyza".

virtual bool geometric_map::random_poses const std::vector< boost::numeric::ublas::vector< int > > &  features,
mi_pose pose
const [pure 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.

Implemented in geometric_map_xyz, and geometric_map_xyza.


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