diff options
Diffstat (limited to 'tracker-pt/point_extractor.h')
-rw-r--r-- | tracker-pt/point_extractor.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tracker-pt/point_extractor.h b/tracker-pt/point_extractor.h index f931edd5..0b179376 100644 --- a/tracker-pt/point_extractor.h +++ b/tracker-pt/point_extractor.h @@ -17,10 +17,19 @@ #include <vector> -namespace impl { +namespace pt_extractor_impl { using namespace types; +struct blob +{ + double radius, brightness; + vec2 pos; + cv::Rect rect; + + blob(double radius, const cv::Vec2d& pos, double brightness, cv::Rect &rect); +}; + class PointExtractor final { public: @@ -38,18 +47,9 @@ private: cv::Mat hist; cv::Mat frame_blobs; - struct blob - { - double radius, brightness; - vec2 pos; - cv::Rect rect; - - blob(double radius, const cv::Vec2d& pos, double brightness, cv::Rect &rect); - }; - std::vector<blob> blobs; }; -} // ns impl +} // ns pt_extractor_impl -using impl::PointExtractor; +using pt_extractor_impl::PointExtractor; |