Jafar
|
Class AllTimeTracker [detects] and matches features over an image sequence. More...
Class AllTimeTracker [detects] and matches features over an image sequence.
It does the matching on a pair base but also does the match on behalf of all the previous unmatched features.
Definition at line 21 of file AllTimeTracker.hpp.
#include <AllTimeTracker.hpp>
Classes | |
struct | features_comp |
compare 2 interest features lhf and rhf More... | |
Public Types | |
typedef fdetect_v2::InterestFeature < DESCRIPTOR > | Feature |
typedef fdetect_v2::DetectionResult < DESCRIPTOR > | DR |
typedef gfm_v2::MatchingResult < DESCRIPTOR > | MR |
Public Member Functions | |
AllTimeTracker (jafar::fdetect_v2::Detector< DESCRIPTOR > *detector, jafar::gfm_v2::Matcher< DESCRIPTOR > *matcher, unsigned int start=0, jafar::fdetect_v2::DescriptorFactory< DESCRIPTOR > *descriptor=0) | |
constructor with parameters | |
void | initTracking (jafar::image::Image const &image_ref, unsigned int id) |
void | initTracking (jafar::image::Image const &image_ref, jafar::image::Image const &mask_ref, unsigned int id) |
void | initTracking (fdetect_v2::DetectionResult< DESCRIPTOR > &points_ref, unsigned int id) |
MR | nextImage (jafar::image::Image const &image_next, unsigned int id) |
MR | nextImage (jafar::image::Image const &image_next, jafar::image::Image const &mask_next, unsigned int id) |
MR | nextImage (DR &points_next, unsigned int id=geom::InterestPoint::NO_ID) |
Private Types | |
typedef std::map< unsigned int, typename std::set< Feature *, features_comp > >::iterator | unmatched_iterator |
Private Member Functions | |
void | matchWithOthers (DR &local_unmatched) |
match a detection result with previous ones except the last | |
Private Attributes | |
std::map< unsigned int, std::set< Feature *, features_comp > > | unmatched |
unmatched features set | |
unsigned int | global_id |
global fetaures id | |
unsigned int | initial_id |
initial DR id | |
unsigned int | second_id |
second DR id | |
DR | previous_points |
previous detection result | |
MR | current_match |
current matching result | |
DR | current_unmatched |
current unmatched features |
jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::AllTimeTracker | ( | jafar::fdetect_v2::Detector< DESCRIPTOR > * | detector, |
jafar::gfm_v2::Matcher< DESCRIPTOR > * | matcher, | ||
unsigned int | start = 0 , |
||
jafar::fdetect_v2::DescriptorFactory< DESCRIPTOR > * | descriptor = 0 |
||
) | [inline] |
constructor with parameters
detector,: | interest features detector |
matcher,: | interest features matcher |
start,: | the features id counter starting value. 0 |
descriptor,: | fetures descriptor factory 0 |
Definition at line 93 of file AllTimeTracker.hpp.
void jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::initTracking | ( | jafar::image::Image const & | image_ref, |
unsigned int | id | ||
) | [inline] |
image_ref | the first image of the sequence |
id | the id for initial detection result |
Reimplemented from jafar::gfm_v2::EngineTracking< DESCRIPTOR >.
Definition at line 104 of file AllTimeTracker.hpp.
Referenced by jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::initTracking().
void jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::initTracking | ( | jafar::image::Image const & | image_ref, |
jafar::image::Image const & | mask_ref, | ||
unsigned int | id | ||
) | [inline] |
image_ref | the first image of the sequence |
id | the id for initial detection result |
Reimplemented from jafar::gfm_v2::EngineTracking< DESCRIPTOR >.
Definition at line 114 of file AllTimeTracker.hpp.
References jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::initial_id, jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::initTracking(), and JFR_PRECOND.
void jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::initTracking | ( | fdetect_v2::DetectionResult< DESCRIPTOR > & | points_ref, |
unsigned int | id | ||
) | [inline] |
points_ref | the first detection result |
id | the id for initial detection result |
Reimplemented from jafar::gfm_v2::EngineTracking< DESCRIPTOR >.
Definition at line 129 of file AllTimeTracker.hpp.
References jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::initial_id, jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::initTracking(), and JFR_PRECOND.
MR jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::nextImage | ( | jafar::image::Image const & | image_next, |
unsigned int | id | ||
) | [inline] |
image_next | The next image of the sequence |
id | The id for this detection result |
Reimplemented from jafar::gfm_v2::EngineTracking< DESCRIPTOR >.
Definition at line 144 of file AllTimeTracker.hpp.
MR jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::nextImage | ( | jafar::image::Image const & | image_next, |
jafar::image::Image const & | mask_next, | ||
unsigned int | id | ||
) | [inline] |
image_next | The next image of the sequence |
mask_next | The next image mask |
id | The id for this detection result |
Reimplemented from jafar::gfm_v2::EngineTracking< DESCRIPTOR >.
Definition at line 156 of file AllTimeTracker.hpp.
References jafar::fdetect_v2::DetectionResult< InterestFeatureT >::begin(), jafar::fdetect_v2::DetectionResult< InterestFeatureT >::clear(), jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::current_match, jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::current_unmatched, jafar::gfm_v2::EngineTracking< DESCRIPTOR >::currentPoints(), jafar::fdetect_v2::DetectionResult< InterestFeatureT >::end(), jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::global_id, jafar::fdetect_v2::DetectionResult< InterestFeatureT >::id, jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::initial_id, JFR_DEBUG, JFR_PRECOND, jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::matchWithOthers(), jafar::geom::InterestPoint::NO_ID, jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::previous_points, jafar::gfm_v2::MatchingResult< InterestFeatureT >::propagateId(), jafar::fdetect_v2::DetectionResult< InterestFeatureT >::push_back(), jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::second_id, jafar::gfm_v2::MatchingResult< InterestFeatureT >::size(), and jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::unmatched.
MR jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::nextImage | ( | DR & | points_next, |
unsigned int | id = geom::InterestPoint::NO_ID |
||
) | [inline] |
points_next | The next detection result |
id | The id for this detection result |
Reimplemented from jafar::gfm_v2::EngineTracking< DESCRIPTOR >.
Definition at line 226 of file AllTimeTracker.hpp.
References jafar::fdetect_v2::DetectionResult< InterestFeatureT >::begin(), jafar::fdetect_v2::DetectionResult< InterestFeatureT >::clear(), jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::current_match, jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::current_unmatched, jafar::gfm_v2::EngineTracking< DESCRIPTOR >::currentPoints(), jafar::fdetect_v2::DetectionResult< InterestFeatureT >::end(), jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::global_id, jafar::fdetect_v2::DetectionResult< InterestFeatureT >::id, jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::initial_id, JFR_DEBUG, JFR_PRECOND, jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::matchWithOthers(), jafar::geom::InterestPoint::NO_ID, jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::previous_points, jafar::gfm_v2::MatchingResult< InterestFeatureT >::propagateId(), jafar::fdetect_v2::DetectionResult< InterestFeatureT >::push_back(), jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::second_id, jafar::gfm_v2::MatchingResult< InterestFeatureT >::size(), and jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >::unmatched.
Generated on Wed Oct 15 2014 00:37:38 for Jafar by doxygen 1.7.6.1 |