summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_extractor.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-04-18 08:04:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-18 08:04:12 +0200
commit39acca95501fa7b0d77f8e6d2cbf97f45cff4ebf (patch)
treee9920d53b63a7796e4b8d3f23c7afb377d9e0103 /tracker-pt/point_extractor.h
parent068064dfe6a51ea86757b4cc664f048fb16486e8 (diff)
tracker/pt: revert extractor change
Diffstat (limited to 'tracker-pt/point_extractor.h')
-rw-r--r--tracker-pt/point_extractor.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tracker-pt/point_extractor.h b/tracker-pt/point_extractor.h
index 3c0b76d8..f931edd5 100644
--- a/tracker-pt/point_extractor.h
+++ b/tracker-pt/point_extractor.h
@@ -38,11 +38,13 @@ private:
cv::Mat hist;
cv::Mat frame_blobs;
- struct blob final
+ struct blob
{
- double radius;
+ double radius, brightness;
vec2 pos;
cv::Rect rect;
+
+ blob(double radius, const cv::Vec2d& pos, double brightness, cv::Rect &rect);
};
std::vector<blob> blobs;