#pragma once namespace cv { namespace detail { typedef short deriv_type; struct ScharrDerivInvoker : ParallelLoopBody { ScharrDerivInvoker(const Mat& _src, const Mat& _dst) : src(_src), dst(_dst) { } void operator()(const Range& range) const CV_OVERRIDE; const Mat& src; const Mat& dst; }; struct LKTrackerInvoker : ParallelLoopBody { LKTrackerInvoker( const Mat& _prevImg, const Mat& _prevDeriv, const Mat& _nextImg, const Point2f* _prevPts, Point2f* _nextPts, uchar* _status, float* _err, Size _winSize, TermCriteria _criteria, int _level, int _maxLevel, int _flags, float _minEigThreshold ); void operator()(const Range& range) const CV_OVERRIDE; const Mat* prevImg; const Mat* nextImg; const Mat* prevDeriv; const Point2f* prevPts; Point2f* nextPts; uchar* status; float* err; Size winSize; TermCriteria criteria; int level; int maxLevel; int flags; float minEigThreshold; }; }// namespace detail }// namespace cv