From 9e0c82209c9dea0af3f3f16b88a606f5b8cec380 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 8 Jan 2019 09:10:33 +0100 Subject: tracker/pt: fix prototypes --- tracker-pt/module/point_extractor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-pt/module/point_extractor.cpp') diff --git a/tracker-pt/module/point_extractor.cpp b/tracker-pt/module/point_extractor.cpp index 53f03fa9..6eaf0d2f 100644 --- a/tracker-pt/module/point_extractor.cpp +++ b/tracker-pt/module/point_extractor.cpp @@ -49,7 +49,7 @@ corresponding location is a good candidate for the extracted point. The idea similar to the window scaling suggested in Berglund et al. "Fast, bias-free algorithm for tracking single particles with variable size and shape." (2008). */ -static cv::Vec2d MeanShiftIteration(const cv::Mat &frame_gray, const vec2 ¤t_center, f filter_width) +static vec2 MeanShiftIteration(const cv::Mat1b &frame_gray, const vec2 ¤t_center, f filter_width) { // Most amazingly this function runs faster with doubles than with floats. const f s = 1 / filter_width; @@ -109,7 +109,7 @@ void PointExtractor::ensure_buffers(const cv::Mat& frame) } } -void PointExtractor::extract_single_channel(const cv::Mat& orig_frame, int idx, cv::Mat& dest) +void PointExtractor::extract_single_channel(const cv::Mat& orig_frame, int idx, cv::Mat1b& dest) { ensure_channel_buffers(orig_frame); -- cgit v1.2.3