• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #pragma once
2 
3 namespace cv
4 {
5 namespace detail
6 {
7 
8     typedef short deriv_type;
9 
10     struct LKTrackerInvoker : ParallelLoopBody
11     {
12         LKTrackerInvoker( const Mat& _prevImg, const Mat& _prevDeriv, const Mat& _nextImg,
13                           const Point2f* _prevPts, Point2f* _nextPts,
14                           uchar* _status, float* _err,
15                           Size _winSize, TermCriteria _criteria,
16                           int _level, int _maxLevel, int _flags, float _minEigThreshold );
17 
18         void operator()(const Range& range) const;
19 
20         const Mat* prevImg;
21         const Mat* nextImg;
22         const Mat* prevDeriv;
23         const Point2f* prevPts;
24         Point2f* nextPts;
25         uchar* status;
26         float* err;
27         Size winSize;
28         TermCriteria criteria;
29         int level;
30         int maxLevel;
31         int flags;
32         float minEigThreshold;
33     };
34 
35 }// namespace detail
36 }// namespace cv
37