summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_extractor.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-12-17 10:26:47 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-12-17 10:26:47 +0100
commitf38541f1956133be9b093d5439128d3481b7e5fa (patch)
treef521bc1623751508b9e8868ffd8d2b0a8ef8fead /tracker-pt/point_extractor.cpp
parent4821c0337a64ada6db44a6ccbb84f6067d898d4b (diff)
pt: histogram more granular 6 -> 8
256 is divisible by 8, also less cpu usage
Diffstat (limited to 'tracker-pt/point_extractor.cpp')
-rw-r--r--tracker-pt/point_extractor.cpp2
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(),