The camShiftKalman class the core of algorithm.
More...
#include <camshiftkalman.h>
The camShiftKalman class the core of algorithm.
| camShiftKalman::camShiftKalman |
( |
const string |
videoName_, |
|
|
double |
start, |
|
|
const Mat |
target, |
|
|
const Rect |
targetWindow, |
|
|
featureType |
type_ |
|
) |
| |
| camShiftKalman::~camShiftKalman |
( |
) | |
|
| Mat camShiftKalman::drawHist1d |
( |
const Mat |
hist, |
|
|
int |
histSize |
|
) |
| const |
|
private |
drawHist1d draw histgram of one dimision
- Parameters
-
| hist | histgram data to draw |
| histSize | the number of bins |
- Returns
| Mat camShiftKalman::drawHist2d |
( |
const Mat |
hist, |
|
|
int |
histSizeX, |
|
|
int |
histSizeY |
|
) |
| const |
|
private |
drawHist2d draw histgram of two dimision
- Parameters
-
| hist | histgram data to draw |
| histSizeX | the number of bins in horizen |
| histSizeY | the number of bins in vertical |
- Returns
| void camShiftKalman::drawTrackResult |
( |
) | |
|
|
private |
drawTrackResult draw the tracking result on image
| void camShiftKalman::extractTargetModel |
( |
) | |
|
extractTargetModel build the model for the object
| Point camShiftKalman::getCurrentObjectCenter |
( |
) | |
const |
getCurrentObjectCenter return the current position of object
- Returns
| Point camShiftKalman::getCurrentState |
( |
) | |
const |
|
private |
getCurrentState return the current state of KF
- Returns
| Rect camShiftKalman::getCurrentTrackWindow |
( |
) | |
const |
getCurrentTrackWindow return the tracking window
- Returns
| void camShiftKalman::initKalman |
( |
double |
interval) | |
|
|
private |
initKalman initialize the Kalman Filter
| void camShiftKalman::normalizeHist |
( |
Mat & |
hist) | |
|
|
private |
normalizeHist normalize the hist (only for 3-dim)
- Parameters
-
| hist | histgram data to normalize |
| void camShiftKalman::setCurrentTrackWindow |
( |
) | |
|
|
private |
setCurrentTrackWindow adjust the tracking window to follow the object
| void camShiftKalman::track |
( |
) | |
|
track all tracking process is executed in this function
| Mat camShiftKalman::backProject |
|
private |
| Point camShiftKalman::camCenter |
|
private |
| Mat camShiftKalman::currentFrame |
|
private |
| int camShiftKalman::frameStart |
|
private |
| bool camShiftKalman::isShowBackProject |
|
private |
| bool camShiftKalman::isShowHist |
|
private |
| KalmanFilter camShiftKalman::KF |
|
private |
| Point camShiftKalman::KFCorrectCenter |
|
private |
| Point camShiftKalman::KFPredictCenter |
|
private |
| Mat_<float> camShiftKalman::measurement |
|
private |
| Rect camShiftKalman::trackWindow |
|
private |
| string camShiftKalman::videoName |
|
private |
| string camShiftKalman::winName |
|
private |
The documentation for this class was generated from the following files: