Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends
jafar::gfm_v2::EngineTracking< InterestFeatureT > Class Template Reference

This class can be used to track features in a sequence of images. More...


Detailed Description

template<typename InterestFeatureT>
class jafar::gfm_v2::EngineTracking< InterestFeatureT >

This class can be used to track features in a sequence of images.

Definition at line 113 of file EngineTracking.hpp.

#include <EngineTracking.hpp>

Inheritance diagram for jafar::gfm_v2::EngineTracking< InterestFeatureT >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 EngineTracking (jafar::fdetect_v2::Detector< InterestFeatureT > *detector, jafar::gfm_v2::Matcher< InterestFeatureT > *matcher, jafar::fdetect_v2::DescriptorFactory< InterestFeatureT > *descriptor=0)
 Constructor.
 ~EngineTracking ()
 Destructor.
const
jafar::fdetect_v2::DetectionResult
< InterestFeatureT > & 
currentPoints () const
void initTracking (jafar::image::Image const &image_ref, unsigned int id=geom::InterestPoint::NO_ID)
void initTracking (jafar::image::Image const &image_ref, jafar::image::Image const &mask_ref, unsigned int id=geom::InterestPoint::NO_ID)
void initTracking (fdetect_v2::DetectionResult< InterestFeatureT > &points_ref, unsigned int id=geom::InterestPoint::NO_ID)
MatchingResult< InterestFeatureT > nextImage (jafar::image::Image const &image_next, unsigned int id=geom::InterestPoint::NO_ID)
MatchingResult< InterestFeatureT > nextImage (jafar::image::Image const &image_next, jafar::image::Image const &mask_next, unsigned int id=geom::InterestPoint::NO_ID)
MatchingResult< InterestFeatureT > nextImage (fdetect_v2::DetectionResult< InterestFeatureT > &points_next, unsigned int id=geom::InterestPoint::NO_ID)
MatchSourceInfo
< InterestFeatureT > * 
sourceInfoRef () const

Protected Member Functions

Matcher< InterestFeatureT > * matcher ()
fdetect_v2::DescriptorFactory
< InterestFeatureT > * 
descriptorFactory ()
fdetect_v2::Detector
< InterestFeatureT > * 
detector ()

Protected Attributes

fdetect_v2::Detector
< InterestFeatureT > * 
m_detector
fdetect_v2::DescriptorFactory
< InterestFeatureT > * 
m_descriptorFactory
Matcher< InterestFeatureT > * m_matcher
MatchSourceInfo
< InterestFeatureT > * 
m_sourceInfoRef

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)

Friends

class boost::serialization::access
 !! nizar 20100912 : serialization stuff

Constructor & Destructor Documentation

template<typename InterestFeatureT>
jafar::gfm_v2::EngineTracking< InterestFeatureT >::EngineTracking ( jafar::fdetect_v2::Detector< InterestFeatureT > *  detector,
jafar::gfm_v2::Matcher< InterestFeatureT > *  matcher,
jafar::fdetect_v2::DescriptorFactory< InterestFeatureT > *  descriptor = 0 
) [inline]

Constructor.

Parameters:
detector,:detector of interest features
matcher,:matcher of interest features
descriptor,:descriptor factory that would generate a descriptor per interest feature

Definition at line 121 of file EngineTracking.hpp.


Member Function Documentation

template<typename InterestFeatureT>
const jafar::fdetect_v2::DetectionResult<InterestFeatureT>& jafar::gfm_v2::EngineTracking< InterestFeatureT >::currentPoints ( ) const [inline]
Returns:
the current detected points

Definition at line 140 of file EngineTracking.hpp.

template<typename InterestFeatureT>
void jafar::gfm_v2::EngineTracking< InterestFeatureT >::initTracking ( jafar::image::Image const &  image_ref,
unsigned int  id = geom::InterestPoint::NO_ID 
) [inline]
Parameters:
image_refthe first image of the sequence
idthe id that the detection result will have if available

Reimplemented in jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >, and jafar::gfm_v2::CamShiftTracker.

Definition at line 149 of file EngineTracking.hpp.

Referenced by jafar::gfm_v2::EngineTracking< DESCRIPTOR >::initTracking().

template<typename InterestFeatureT>
void jafar::gfm_v2::EngineTracking< InterestFeatureT >::initTracking ( jafar::image::Image const &  image_ref,
jafar::image::Image const &  mask_ref,
unsigned int  id = geom::InterestPoint::NO_ID 
) [inline]
Parameters:
image_refthe first image of the sequence
mask_refthe first image mask
idthe id that the detection result will have if available

Reimplemented in jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >.

Definition at line 160 of file EngineTracking.hpp.

template<typename InterestFeatureT>
void jafar::gfm_v2::EngineTracking< InterestFeatureT >::initTracking ( fdetect_v2::DetectionResult< InterestFeatureT > &  points_ref,
unsigned int  id = geom::InterestPoint::NO_ID 
) [inline]
Parameters:
points_refthe first detection result
idthe id that the detection result will have if available
Remarks:
The descriptor factory isn't called in this function

Reimplemented in jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >.

Definition at line 186 of file EngineTracking.hpp.

template<typename InterestFeatureT>
MatchingResult<InterestFeatureT> jafar::gfm_v2::EngineTracking< InterestFeatureT >::nextImage ( jafar::image::Image const &  image_next,
unsigned int  id = geom::InterestPoint::NO_ID 
) [inline]
Parameters:
images_nextThe next image of the sequence
Returns:
the matching between the next image and the previous image (either initialized with initTracking or given by a previous call to this function) If an id is given then the detection result will have it.

Reimplemented in jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >.

Definition at line 207 of file EngineTracking.hpp.

Referenced by jafar::gfm_v2::EngineTracking< DESCRIPTOR >::nextImage().

template<typename InterestFeatureT>
MatchingResult<InterestFeatureT> jafar::gfm_v2::EngineTracking< InterestFeatureT >::nextImage ( jafar::image::Image const &  image_next,
jafar::image::Image const &  mask_next,
unsigned int  id = geom::InterestPoint::NO_ID 
) [inline]
Parameters:
images_nextThe next image of the sequence
mask_nextThe next image mask of the sequence
Returns:
the matching between the next image and the previous image (either initialized with initTracking or given by a previous call to this function) If an id is given then the detection result will have it.

Reimplemented in jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >.

Definition at line 220 of file EngineTracking.hpp.

template<typename InterestFeatureT>
MatchingResult<InterestFeatureT> jafar::gfm_v2::EngineTracking< InterestFeatureT >::nextImage ( fdetect_v2::DetectionResult< InterestFeatureT > &  points_next,
unsigned int  id = geom::InterestPoint::NO_ID 
) [inline]
Parameters:
points_nextThe next detection result
Returns:
the matching between the next image and the previous image (either initialized with initTracking or given by a previous call to this function) If an id is given then the detection result will have it.
Remarks:
The descriptor factory isn't called in this function

Reimplemented in jafar::gfm_v2::AllTimeTracker< DESCRIPTOR >.

Definition at line 254 of file EngineTracking.hpp.

template<typename InterestFeatureT>
template<class Archive >
void jafar::gfm_v2::EngineTracking< InterestFeatureT >::serialize ( Archive &  ar,
const unsigned int  version 
) [inline, private]

!! nizar 20100913 : should it be there?

Definition at line 302 of file EngineTracking.hpp.


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