|  | OpenCV
    4.9.0
    Open Source Computer Vision | 
Abstract class that represents the model of the target. More...
#include <opencv2/video/detail/tracking.detail.hpp>
| Public Member Functions | |
| TrackerModel () | |
| virtual | ~TrackerModel () | 
| const std::vector< ConfidenceMap > & | getConfidenceMaps () const | 
| Get the list of the ConfidenceMap.  More... | |
| const ConfidenceMap & | getLastConfidenceMap () const | 
| Get the last ConfidenceMap for the current frame.  More... | |
| Ptr< TrackerTargetState > | getLastTargetState () const | 
| Get the last TrackerTargetState from Trajectory.  More... | |
| Ptr< TrackerStateEstimator > | getTrackerStateEstimator () const | 
| Get the TrackerStateEstimator.  More... | |
| void | modelEstimation (const std::vector< Mat > &responses) | 
| Estimate the most likely target location.  More... | |
| void | modelUpdate () | 
| Update the model.  More... | |
| bool | runStateEstimator () | 
| Run the TrackerStateEstimator, return true if is possible to estimate a new state, false otherwise.  More... | |
| void | setLastTargetState (const Ptr< TrackerTargetState > &lastTargetState) | 
| Set the current TrackerTargetState in the Trajectory.  More... | |
| bool | setTrackerStateEstimator (Ptr< TrackerStateEstimator > trackerStateEstimator) | 
| Set TrackerEstimator, return true if the tracker state estimator is added, false otherwise.  More... | |
| Protected Member Functions | |
| virtual void | modelEstimationImpl (const std::vector< Mat > &responses)=0 | 
| virtual void | modelUpdateImpl ()=0 | 
| Protected Attributes | |
| std::vector< ConfidenceMap > | confidenceMaps | 
| ConfidenceMap | currentConfidenceMap | 
| int | maxCMLength | 
| Ptr< TrackerStateEstimator > | stateEstimator | 
| Trajectory | trajectory | 
Abstract class that represents the model of the target.
It must be instantiated by specialized tracker
See [227] Ak
Inherits this with your TrackerModel
| cv::detail::tracking::TrackerModel::TrackerModel | ( | ) | 
| 
 | virtual | 
| const std::vector<ConfidenceMap>& cv::detail::tracking::TrackerModel::getConfidenceMaps | ( | ) | const | 
Get the list of the ConfidenceMap.
| const ConfidenceMap& cv::detail::tracking::TrackerModel::getLastConfidenceMap | ( | ) | const | 
Get the last ConfidenceMap for the current frame.
| Ptr<TrackerTargetState> cv::detail::tracking::TrackerModel::getLastTargetState | ( | ) | const | 
Get the last TrackerTargetState from Trajectory.
| Ptr<TrackerStateEstimator> cv::detail::tracking::TrackerModel::getTrackerStateEstimator | ( | ) | const | 
Get the TrackerStateEstimator.
| void cv::detail::tracking::TrackerModel::modelEstimation | ( | const std::vector< Mat > & | responses | ) | 
Estimate the most likely target location.
[227] ME, Model Estimation table I
| responses | Features extracted from TrackerFeatureSet | 
| 
 | protectedpure virtual | 
| void cv::detail::tracking::TrackerModel::modelUpdate | ( | ) | 
Update the model.
[227] MU, Model Update table I
| 
 | protectedpure virtual | 
| bool cv::detail::tracking::TrackerModel::runStateEstimator | ( | ) | 
Run the TrackerStateEstimator, return true if is possible to estimate a new state, false otherwise.
| void cv::detail::tracking::TrackerModel::setLastTargetState | ( | const Ptr< TrackerTargetState > & | lastTargetState | ) | 
Set the current TrackerTargetState in the Trajectory.
| lastTargetState | The current TrackerTargetState | 
| bool cv::detail::tracking::TrackerModel::setTrackerStateEstimator | ( | Ptr< TrackerStateEstimator > | trackerStateEstimator | ) | 
Set TrackerEstimator, return true if the tracker state estimator is added, false otherwise.
| trackerStateEstimator | The TrackerStateEstimator | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
 1.8.13
 1.8.13