Jafar
|
This class implement a tracker of a segment, that were first detected using (DirectSegmentsDector or HierarchicalDirectSegmentsDector ). More...
This class implement a tracker of a segment, that were first detected using (DirectSegmentsDector or HierarchicalDirectSegmentsDector ).
Definition at line 18 of file DirectSegmentsTracker.hpp.
#include <DirectSegmentsTracker.hpp>
Public Member Functions | |
void | trackSegment (const jafar::image::Image &_image, const SegmentsSet &_initialSegments, const Predictor *_predictor, SegmentsSet &_segmentStorage) |
void | trackSegment (PreprocessedImage &_image, const SegmentsSet &_initialSegments, const Predictor *_predictor, SegmentsSet &_segmentStorage) |
void | preprocessImage (const jafar::image::Image &_image, PreprocessedImage &preproc) |
Private Member Functions | |
bool | findInitialGuesses (GrowSegmentContext &_gsc, const GradientStatsDescriptor &_gradientDescriptor, double _tMin, double _tMax, double &_x0, double &_y0, double &_angle) const |
Define wether the tracker should adjust the prediction, or should use it directly. | |
bool | findInitialGuess (GrowSegmentContext &_gsc, const GradientStatsDescriptor &_gradientDescriptor, double _t, double &_x0, double &_y0, double &_angle, double &_step) const |
void jafar::dseg::DirectSegmentsTracker::trackSegment | ( | const jafar::image::Image & | _image, |
const SegmentsSet & | _initialSegments, | ||
const Predictor * | _predictor, | ||
SegmentsSet & | _segmentStorage | ||
) |
_image | the current image |
_initialSegments | the segment detected in the previous image |
_predictor | a predictor of the position of the segment from the previous image to the current |
_segmentStorage | the segment that are successfully tracked are added to this storage |
Generated on Wed Oct 15 2014 00:37:34 for Jafar by doxygen 1.7.6.1 |