diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2020-06-05 19:42:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-05 19:42:46 +0000 |
commit | 442c01a60ed376c8693255a7649666113250bf37 (patch) | |
tree | dd3c66c0e9f837fdfef64aafa6b923f654419376 /tracker-pt/module/point_extractor.h | |
parent | 8b14345cf6e06a2938dc7cd8de5e8ca2ec2df039 (diff) | |
parent | c5d6ace1295ca93e42962c93742c62d56222bee8 (diff) |
Merge pull request #1095 from a1k0n/unstable
Add proper color keying to tracker-pt
Diffstat (limited to 'tracker-pt/module/point_extractor.h')
-rw-r--r-- | tracker-pt/module/point_extractor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tracker-pt/module/point_extractor.h b/tracker-pt/module/point_extractor.h index a6103667..9c97b6ce 100644 --- a/tracker-pt/module/point_extractor.h +++ b/tracker-pt/module/point_extractor.h @@ -49,6 +49,7 @@ private: void ensure_buffers(const cv::Mat& frame); void extract_single_channel(const cv::Mat& orig_frame, int idx, cv::Mat1b& dest); + void filter_single_channel(const cv::Mat& orig_frame, float r, float g, float b, cv::Mat1b& dest); void color_to_grayscale(const cv::Mat& frame, cv::Mat1b& output); void threshold_image(const cv::Mat& frame_gray, cv::Mat1b& output); |