diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-13 22:54:50 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-13 22:54:50 +0200 |
commit | c772987dde5c42aa7f236ac7708f6e7d063d4aa7 (patch) | |
tree | b589f1e492e92104dc06efdf158e18b223d82e23 /tracker-pt/point_extractor.h | |
parent | 18c0e8ff59c715ff92cbbd926d0f4f998eebeb7b (diff) |
Revert "tracker/pt: experimental non-white color removal"
This reverts commit 546cfb5ad52dcfe1421d1af5e7baeada588ac735.
@MathijsG points out that some users have red LEDs, not uniform white.
Issue: #355
Diffstat (limited to 'tracker-pt/point_extractor.h')
-rw-r--r--[-rwxr-xr-x] | tracker-pt/point_extractor.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tracker-pt/point_extractor.h b/tracker-pt/point_extractor.h index 5a3630be..3e4661f9 100755..100644 --- a/tracker-pt/point_extractor.h +++ b/tracker-pt/point_extractor.h @@ -25,22 +25,15 @@ public: const std::vector<cv::Vec2f> &extract_points(cv::Mat &frame); int get_n_points() { QMutexLocker l(&mtx); return points.size(); } PointExtractor(); - ~PointExtractor(); settings_pt s; private: - void gray_square_diff(const cv::Mat& frame, cv::Mat& frame_gray); - enum { hist_c = 2 }; std::vector<cv::Vec2f> points; QMutex mtx; cv::Mat frame_gray; - cv::Mat frame_gray_tmp; cv::Mat frame_bin; cv::Mat hist; - std::vector<cv::Mat> gray_split_channels; - std::vector<cv::Mat> gray_absdiff_channels; - cv::Mat float_absdiff_channel; enum { max_blobs = 16 }; |