|
Jafar
|
Special engine to track points in an image sequence. More...
Special engine to track points in an image sequence.
Definition at line 97 of file engine.hpp.
#include <engine.hpp>
Public Member Functions | |
| TrackingEngine (unsigned int imageWidth_, unsigned int imageHeight_, unsigned int reduction_=1) | |
| jafar::image::Image const & | getPreviousImage () const |
| jafar::image::Image const & | getCurrentImage () const |
| long | getElapsedTime () const |
| returns duration of last tracking process | |
| bool | isInit () const |
| vecMatches const & | getMatches () const |
| vecMatches const & | getTrackingMatches () const |
| template<class VecPoints > | |
| void | initTracking (jafar::image::Image const &imageInit_, VecPoints &pointsInit) |
| template<class VecPoints > | |
| void | track (jafar::image::Image const &imageCur_, VecPoints const &pointsPrev, VecPoints &pointsCur, bool doPropagateId=false) |
Protected Member Functions | |
| void | writeLogHeader (jafar::kernel::DataLogger &log) const |
| Implements this method calling repeatidly log methods. | |
| void | writeLogData (jafar::kernel::DataLogger &log) const |
| Implements this method calling repeatidly log methods. | |
Protected Attributes | |
| bool | p_isInit |
| jafar::gfm::EngineTracking * | gfmEngineTracking |
| jafar::image::Image | imageRefRed |
| jafar::image::Image | imageMatchRed |
| jafar::image::Image * | imagePrevRed |
| jafar::image::Image * | imageCurRed |
| vecMatches | matches |
| matches from the last tracking | |
| unsigned int | nbTrackedPoints |
| number of tracked points | |
| long | elapsedTime |
| duration of last match process | |
| void jafar::hpm::TrackingEngine::initTracking | ( | jafar::image::Image const & | imageInit_, |
| VecPoints & | pointsInit | ||
| ) | [inline] |
| [in] | imageInit_ | |
| [out] | pointsInit |
Definition at line 145 of file engine.hpp.
References jafar::image::Image::colorSpace(), jafar::hpm::exportHarrisPoints(), jafar::gfm::EngineTracking::initTracking(), JFR_PRECOND, matches, and jafar::image::Image::resize().
| void jafar::hpm::TrackingEngine::track | ( | jafar::image::Image const & | imageCur_, |
| VecPoints const & | pointsPrev, | ||
| VecPoints & | pointsCur, | ||
| bool | doPropagateId = false |
||
| ) | [inline] |
| [in] | imageCur_ | |
| [in] | pointsPrev | |
| [out] | pointsCur | |
| [in] | doPropagateId |
Definition at line 169 of file engine.hpp.
References jafar::image::Image::colorSpace(), elapsedTime, jafar::hpm::exportHarrisPoints(), jafar::hpm::exportMatches(), JFR_PRECOND, matches, nbTrackedPoints, jafar::gfm::EngineTracking::nextImage(), jafar::gfm::MatchingResult::pointsMatch(), jafar::hpm::propagateId(), and jafar::image::Image::resize().
| void jafar::hpm::TrackingEngine::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.
| void jafar::hpm::TrackingEngine::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.
| Generated on Wed Oct 15 2014 00:37:39 for Jafar by doxygen 1.7.6.1 |
|