|  | OpenCV
    4.5.2
    Open Source Computer Vision | 
Abstract base class for TrackerTargetState that represents a possible state of the target. More...
#include <opencv2/video/detail/tracking.detail.hpp>
 
  
 | Public Member Functions | |
| virtual | ~TrackerTargetState () | 
| int | getTargetHeight () const | 
| Get the height of the target.  More... | |
| Point2f | getTargetPosition () const | 
| Get the position.  More... | |
| int | getTargetWidth () const | 
| Get the width of the target.  More... | |
| void | setTargetHeight (int height) | 
| Set the height of the target.  More... | |
| void | setTargetPosition (const Point2f &position) | 
| Set the position.  More... | |
| void | setTargetWidth (int width) | 
| Set the width of the target.  More... | |
| Protected Attributes | |
| int | targetHeight | 
| Point2f | targetPosition | 
| int | targetWidth | 
Abstract base class for TrackerTargetState that represents a possible state of the target.
See [210] \(\hat{x}^{i}_{k}\) all the states candidates.
Inherits this class with your Target state, In own implementation you can add scale variation, width, height, orientation, etc.
| 
 | inlinevirtual | 
| int cv::detail::tracking::TrackerTargetState::getTargetHeight | ( | ) | const | 
Get the height of the target.
| Point2f cv::detail::tracking::TrackerTargetState::getTargetPosition | ( | ) | const | 
Get the position.
| int cv::detail::tracking::TrackerTargetState::getTargetWidth | ( | ) | const | 
Get the width of the target.
| void cv::detail::tracking::TrackerTargetState::setTargetHeight | ( | int | height | ) | 
Set the height of the target.
| height | The height of the target | 
| void cv::detail::tracking::TrackerTargetState::setTargetPosition | ( | const Point2f & | position | ) | 
Set the position.
| position | The position | 
| void cv::detail::tracking::TrackerTargetState::setTargetWidth | ( | int | width | ) | 
Set the width of the target.
| width | The width of the target | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
 1.8.13
 1.8.13