summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_extractor.h
diff options
context:
space:
mode:
authorDaMichel <mw.pub@welter-4d.de>2016-08-04 14:39:15 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-12-09 18:12:31 +0100
commit5196a67e23b24612b05d535cc8cf6797268c391c (patch)
tree9f108aaaf697f06e061ad199aea2c6bf596f98ae /tracker-pt/point_extractor.h
parent98823d01631fe8cfdf8210751efdbc1b24990af3 (diff)
tracker/pt: improved precision and noise rejection by mean shift filtering
Diffstat (limited to 'tracker-pt/point_extractor.h')
-rw-r--r--tracker-pt/point_extractor.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/tracker-pt/point_extractor.h b/tracker-pt/point_extractor.h
index 775e4292..ad350344 100644
--- a/tracker-pt/point_extractor.h
+++ b/tracker-pt/point_extractor.h
@@ -42,10 +42,9 @@ private:
{
double radius, brightness;
vec2 pos;
- blob(double radius, const cv::Vec2d& pos, double brightness) : radius(radius), brightness(brightness), pos(pos)
- {
- //qDebug() << "radius" << radius << "pos" << pos[0] << pos[1];
- }
+ cv::Rect rect;
+
+ blob(double radius, const cv::Vec2d& pos, double brightness, cv::Rect &rect);
};
std::vector<blob> blobs;