Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Private Member Functions | Private Attributes
jafar::facetsmap::AmersMap Class Reference

Detailed Description

Definition at line 13 of file AmersMap.hpp.

Inheritance diagram for jafar::facetsmap::AmersMap:
Inheritance graph
[legend]

List of all members.

Classes

struct  AmerCandidat

Public Member Functions

 AmersMap (const FacetsParams *params, const jafar::camera::StereoBench &stereoBench)
virtual void processImage (jblas::mat44 &robotpos, jblas::mat44 &robotmovement, const boost::numeric::ublas::bounded_matrix< double, 4, 4 > &leftToRight, const jafar::image::Image &imgl, const jafar::image::Image &imgr, const jafar::camera::StereoBench &stereoBench, int time, bool updateFacet, std::map< int, jblas::vec > predictions)
 You need to implement this function.
vAmers::const_iterator beginAmers () const
vAmers::iterator beginAmers ()
vAmers::const_iterator endAmers () const
vAmers::iterator endAmers ()
void setAmerPosition (int id, jblas::vec_range const &)
const std::vector< int > & suppressedAmers () const
const std::vector
< AmerObservation > & 
newObservations () const
const std::vector
< AmerObservation > & 
observations () const

Private Member Functions

vFacets createFacetListForAmer (double x, double y, vFacets facets)
 This function create a list of facets that might be part of an amer.
AmerCandidatfindAmerMatch (const jblas::mat44 &robotpos, Facet *match, vFacets &candidats, int time)
 This function try to match an amer with a facet we are trying to match.

Private Attributes

vAmers m_amers
int m_lastAmerId
std::vector< int > m_suppressedAmers
std::vector< AmerObservationm_newObservations
std::vector< AmerObservationm_observations
vFacets m_facetsSeenLastTime
FacetsTrackerm_facetsTracker
int m_countAmersSeen

Member Function Documentation

AmerCandidat* jafar::facetsmap::AmersMap::findAmerMatch ( const jblas::mat44 robotpos,
Facet match,
vFacets &  candidats,
int  time 
) [private]

This function try to match an amer with a facet we are trying to match.

Parameters:
matchfacet that we try to match
candidatsvector of facets which are expressed in the same repere as the match facets and which can be use in the match processing
virtual void jafar::facetsmap::AmersMap::processImage ( jblas::mat44 robotpos,
jblas::mat44 robotmovement,
const boost::numeric::ublas::bounded_matrix< double, 4, 4 > &  leftToRight,
const jafar::image::Image imgl,
const jafar::image::Image imgr,
const jafar::camera::StereoBench stereoBench,
int  time,
bool  updateFacet,
std::map< int, jblas::vec predictions 
) [virtual]

You need to implement this function.

Parameters:
robotposthe estimated movement of the robot
im3dthe result of the stereovision
pointsa vector of Harris point
imgthe image

Implements jafar::facetsmap::FacetsAnalyser.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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