Jafar
Classes | Typedefs | Functions
Module hpm

Detailed Description

Version:
0.1
Author:
cyrille.berger@laas.fr

This module provide an interface to map some part of the API of HPM (Hifn Pattern Matching) to GFM.

History

Requirements

Other module or external libraires dependences...

Macro

Extra doc for macro can go here... (you can delete this section if not relevant)

Tcl interface (generated by swig)

The interface of the module is generated from the following files:

Classes

class  jafar::hpm::Engine
 HpmEngine encapsulates harris and ipm. More...
class  jafar::hpm::TrackingEngine
 Special engine to track points in an image sequence. More...
class  jafar::hpm::StereoTrackingEngine
 Special engine to track points in a stereo image sequence. More...
class  jafar::hpm::HarrisPoint
 Represent an interest point in an image. More...
class  jafar::hpm::StereoHarrisPoint
 Represent an interest point. More...
struct  jafar::hpm::HpmGroup
 This class hold the information about a group of points. More...
class  jafar::hpm::HpmException
 Base class for all exceptions defined in the module hpm. More...

Typedefs

typedef std::vector< HarrisPoint > jafar::hpm::vecHarrisPoints
 a vector of harris points
typedef std::vector
< StereoHarrisPoint > 
jafar::hpm::vecStereoHarrisPoints
 a vector of stereo harris points
typedef std::pair< std::size_t,
std::size_t > 
jafar::hpm::match
 a single match
typedef std::vector< match > jafar::hpm::vecMatches
 vector of matches
typedef std::map< std::size_t,
std::size_t > 
jafar::hpm::mapMatches
 associative container for matches, ref:match
typedef std::vector< HpmGroup > jafar::hpm::vecGroups
 Vector of groups.

Functions

std::ostream & jafar::hpm::operator<< (std::ostream &s, const HarrisPoint &p_)
std::ostream & jafar::hpm::operator<< (std::ostream &s, const StereoHarrisPoint &p_)
template<class Point >
void jafar::hpm::exportHarrisPoints (const jafar::fdetect::DetectionResult &saveResult, std::vector< Point > &points)
 Export result of harris points extraction in a friendly format.
void jafar::hpm::exportMatches (const jafar::gfm::MatchingResult &gfm_result, jafar::hpm::vecMatches &matches)
 Export result of points matching in a friendly format.
void jafar::hpm::exportMatches (const jafar::gfm::MatchingResult &gfm_result, mapMatches &matches)
 Export result of points matching in a friendly format.
void jafar::hpm::exportStereoMatches (vecMatches const &matches, vecStereoHarrisPoints &vecPointsLeft, vecStereoHarrisPoints &vecPointsRight)
 Fill the stereoIndex attribute according to matches.
template<class PointRef , class PointMatch >
unsigned int jafar::hpm::propagateId (vecMatches const &matches, std::vector< PointRef > const &vecPointsRef, std::vector< PointMatch > &vecPointsMatch)
 Assign Id of vecPointsMatch from vecPointsRef on the basis of matches.
template<class PointRef , class PointMatch >
unsigned int jafar::hpm::backPropagateId (mapMatches const &matches, std::vector< PointRef > &vecPointsRef, std::vector< PointMatch > const &vecPointsMatch)
 Assign Id of vecPointsMatch from vecPointsRef on the basis of matches.

Function Documentation

template<class PointRef , class PointMatch >
unsigned int jafar::hpm::backPropagateId ( mapMatches const &  matches,
std::vector< PointRef > &  vecPointsRef,
std::vector< PointMatch > const &  vecPointsMatch 
)

Assign Id of vecPointsMatch from vecPointsRef on the basis of matches.

Returns:
the number of points propagated

Definition at line 166 of file export.hpp.

void jafar::hpm::exportStereoMatches ( vecMatches const &  matches,
vecStereoHarrisPoints &  vecPointsLeft,
vecStereoHarrisPoints &  vecPointsRight 
)

Fill the stereoIndex attribute according to matches.

left image corresponds to first element of matches.

template<class PointRef , class PointMatch >
unsigned int jafar::hpm::propagateId ( vecMatches const &  matches,
std::vector< PointRef > const &  vecPointsRef,
std::vector< PointMatch > &  vecPointsMatch 
)

Assign Id of vecPointsMatch from vecPointsRef on the basis of matches.

Returns:
the number of points propagated

Definition at line 148 of file export.hpp.

Referenced by jafar::hpm::TrackingEngine::track().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:30 for Jafar by doxygen 1.7.6.1
LAAS-CNRS