Jafar
|
Class CS_IRT.
Implements an Interest Region tracking based on CvCamShiftTracker from OpenCV
#include <irt.hpp>
Public Member Functions | |
CS_IRT () | |
Default constructor. | |
~CS_IRT () | |
Destructor. | |
void | initialize (int nbins_=16) |
Initialize tracker. | |
void | setObject2Track (const jafar::image::Image &src_, CvRect const &rect) |
Set object to track. | |
SRoi | trackObject (const jafar::image::Image &img_) |
Track object in image. | |
Private Attributes | |
bool | isInitialized |
bool | isObject2TrackSet |
CvCamShiftTracker | tracker |
void jafar::sas::CS_IRT::initialize | ( | int | nbins_ = 16 | ) |
Initialize tracker.
nbins_ | number of bins in the histogram |
void jafar::sas::CS_IRT::setObject2Track | ( | const jafar::image::Image & | src_, |
CvRect const & | rect | ||
) |
Set object to track.
src_ | source image |
salreg_ | salient region to track |
SRoi jafar::sas::CS_IRT::trackObject | ( | const jafar::image::Image & | img_ | ) |
Track object in image.
img_ | new image |
Generated on Wed Oct 15 2014 00:37:48 for Jafar by doxygen 1.7.6.1 |