diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-12-17 10:26:47 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-12-17 10:26:47 +0100 |
commit | f38541f1956133be9b093d5439128d3481b7e5fa (patch) | |
tree | f521bc1623751508b9e8868ffd8d2b0a8ef8fead /tracker-pt | |
parent | 4821c0337a64ada6db44a6ccbb84f6067d898d4b (diff) |
pt: histogram more granular 6 -> 8
256 is divisible by 8, also less cpu usage
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/point_extractor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/point_extractor.cpp b/tracker-pt/point_extractor.cpp index e1d55b8d..c90310bb 100644 --- a/tracker-pt/point_extractor.cpp +++ b/tracker-pt/point_extractor.cpp @@ -67,7 +67,7 @@ std::vector<cv::Vec2f> PointExtractor::extract_points(cv::Mat& frame) else { cv::Mat hist; - constexpr int hist_c = 6; + constexpr int hist_c = 8; cv::calcHist(std::vector<cv::Mat> { frame_gray }, std::vector<int> { 0 }, cv::Mat(), |