Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
jafar::hpm::Engine Class Reference

HpmEngine encapsulates harris and ipm. More...


Detailed Description

HpmEngine encapsulates harris and ipm.

But uses gfm

Definition at line 29 of file engine.hpp.

#include <engine.hpp>

Inheritance diagram for jafar::hpm::Engine:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Engine (unsigned int imageWidth_, unsigned int imageHeight_, unsigned int reduction_=1)
jafar::image::Image const & getImageRef () const
jafar::image::Image const & getImageMatch () const
long getElapsedTime () const
 returns duration of last match process
template<typename TypeMatches >
void computeMatch (jafar::image::Image const &imageRef_, jafar::image::Image const &imageMatch_, vecHarrisPoints &pointsRef, vecHarrisPoints &pointsMatch, TypeMatches &matches)

Protected Member Functions

virtual void writeLogHeader (jafar::kernel::DataLogger &log) const
 Implements this method calling repeatidly log methods.
virtual void writeLogData (jafar::kernel::DataLogger &log) const
 Implements this method calling repeatidly log methods.

Protected Attributes

jafar::image::Image imageRefRed
jafar::image::Image imageMatchRed
jafar::gfm::EnginegfmEngine
long elapsedTime
unsigned int nbMatchedPoints

Member Function Documentation

template<typename TypeMatches >
void jafar::hpm::Engine::computeMatch ( jafar::image::Image const &  imageRef_,
jafar::image::Image const &  imageMatch_,
vecHarrisPoints pointsRef,
vecHarrisPoints pointsMatch,
TypeMatches &  matches 
) [inline]
Parameters:
[in]imageRef_
[in]imageMatch_
[out]pointsRef
[out]pointsMatch
[out]matches

Definition at line 67 of file engine.hpp.

References jafar::kernel::Chrono::elapsed(), jafar::hpm::exportHarrisPoints(), jafar::hpm::exportMatches(), jafar::gfm::MatchingResult::pointsMatch(), jafar::gfm::MatchingResult::pointsRef(), and jafar::image::Image::resize().

virtual void jafar::hpm::Engine::writeLogData ( jafar::kernel::DataLogger log) const [protected, virtual]

Implements this method calling repeatidly log methods.

You should use writeData() or writeDataVector().

Implements jafar::kernel::DataLoggable.

virtual void jafar::hpm::Engine::writeLogHeader ( jafar::kernel::DataLogger log) const [protected, virtual]

Implements this method calling repeatidly log methods.

You should use writeComment(), writeLegend() or writeLegendTokens().

Implements jafar::kernel::DataLoggable.


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:39 for Jafar by doxygen 1.7.6.1
LAAS-CNRS