1 #ifndef OPENPOSE_TRACKING_LKPYRAMIDAL_HPP
2 #define OPENPOSE_TRACKING_LKPYRAMIDAL_HPP
9 std::vector<cv::Mat>& pyramidImagesPrevious,
10 std::vector<cv::Mat>& pyramidImagesCurrent,
11 std::vector<char>& status,
const cv::Mat& imagePrevious,
12 const cv::Mat& imageCurrent,
const int levels = 3,
const int patchSize = 21);
14 int pyramidalLKGpu(std::vector<cv::Point2f>& ptsI, std::vector<cv::Point2f>& ptsJ,
15 std::vector<char>& status,
const cv::Mat& imagePrevious,
16 const cv::Mat& imageCurrent,
const int levels = 3,
const int patchSize = 21);
19 std::vector<cv::Mat>& pyramidImagesPrevious,
20 std::vector<cv::Mat>& pyramidImagesCurrent,
21 std::vector<char>& status,
const cv::Mat& imagePrevious,
22 const cv::Mat& imageCurrent,
const int levels = 3,
const int patchSize = 21,
23 const bool initFlow =
false);
26 #endif // OPENPOSE_TRACKING_LKPYRAMIDAL_HPP
int pyramidalLKGpu(std::vector< cv::Point2f > &ptsI, std::vector< cv::Point2f > &ptsJ, std::vector< char > &status, const cv::Mat &imagePrevious, const cv::Mat &imageCurrent, const int levels=3, const int patchSize=21)
OP_API void pyramidalLKOcv(std::vector< cv::Point2f > &coordI, std::vector< cv::Point2f > &coordJ, std::vector< cv::Mat > &pyramidImagesPrevious, std::vector< cv::Mat > &pyramidImagesCurrent, std::vector< char > &status, const cv::Mat &imagePrevious, const cv::Mat &imageCurrent, const int levels=3, const int patchSize=21, const bool initFlow=false)
#define OP_API
Definition: macros.hpp:18
OP_API void pyramidalLKCpu(std::vector< cv::Point2f > &coordI, std::vector< cv::Point2f > &coordJ, std::vector< cv::Mat > &pyramidImagesPrevious, std::vector< cv::Mat > &pyramidImagesCurrent, std::vector< char > &status, const cv::Mat &imagePrevious, const cv::Mat &imageCurrent, const int levels=3, const int patchSize=21)