diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-17 13:02:08 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-17 13:02:08 +0200 |
commit | f2607137b744b66b84be799fe56db08595c38867 (patch) | |
tree | 36a7a66bcd6e7c9d53496a9b2a34dd616b33805c /ftnoir_tracker_pt/point_extractor.cpp | |
parent | 97b6c47b21f5d2bfb7a43969f67d6b3ad6edab28 (diff) |
pt: switch min/max point size to reals
Diffstat (limited to 'ftnoir_tracker_pt/point_extractor.cpp')
-rw-r--r-- | ftnoir_tracker_pt/point_extractor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_tracker_pt/point_extractor.cpp b/ftnoir_tracker_pt/point_extractor.cpp index 0ac2fc32..77f2473c 100644 --- a/ftnoir_tracker_pt/point_extractor.cpp +++ b/ftnoir_tracker_pt/point_extractor.cpp @@ -28,8 +28,8 @@ std::vector<cv::Vec2f> PointExtractor::extract_points(cv::Mat& frame) cv::Mat frame_gray; cv::cvtColor(frame, frame_gray, cv::COLOR_RGB2GRAY); - const int region_size_min = s.min_point_size; - const int region_size_max = s.max_point_size; + const double region_size_min = s.min_point_size; + const double region_size_max = s.max_point_size; struct simple_blob { |